Is the Tailwind CSS MCP server safe? What it can reach
What the Tailwind CSS MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Tailwind Labs has not published an MCP server. tailwindcss-mcp-server by CarbonoDev is a community option with 41 stars, though its last push was August 2025. It runs locally over npx, needs no sign-in, and has eight tools that look up utilities and docs, convert CSS and generate code. None write to your files.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| tailwindcss-mcp-server (CarbonoDev, community) | Community | active |
It runs as a local process on your machine.
How it signs in
There is no sign-in or API key. The server runs as your OS user over stdio and returns text, so it does not use an account.
What its tools can do
| Kind | Tools |
|---|---|
| Read | get_tailwind_utilities, get_tailwind_colors, get_tailwind_config_guide, search_tailwind_docs, install_tailwind, convert_css_to_tailwind, generate_color_palette, generate_component_template |
| Write | none documented |
| Can’t be undone | none documented |
The README describes four information tools and four action tools. The action tools generate text, such as install commands and component templates, and the README does not say that they write files. Tailwind’s v3 and v4 differ, and the README does not say which version it targets.
The risks
- The server returns generated install commands and code, so an injected instruction could get the agent to run a command from install_tailwind’s output without you reading it.
- npx runs the package’s code as your user, and the project has had no push since August 2025, so its dependencies may be out of date.
- Code you pass to convert_css_to_tailwind and the output of generate_component_template are part of your conversation, so they go to your LLM provider.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add tailwind -- npx -y tailwindcss-mcp-serverClaude Code names MCP tools mcp__tailwind__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__tailwind__install_tailwind"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.tailwind]
command = "npx"
args = ["-y", "tailwindcss-mcp-server"]Checklist
- Check the package on npm before you add it, and pin a version.
- Read the install commands the tool returns before you run them.
- Use Tailwind’s own docs when you need the current v4 syntax, since this server may lag.
Checked against the vendor documentation on November 25, 2026. tailwindcss-mcp-server README (CarbonoDev) · Tailwind CSS documentation
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing