Is the Svelte MCP server safe? What it can reach
What the Svelte MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
The Svelte team maintains an official MCP server that serves Svelte documentation and checks generated code with static analysis. It runs locally with npx or at the hosted URL mcp.svelte.dev/mcp, and needs no sign-in. It has no tools that change your files, so the main choice is local or remote.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Svelte MCP server (@sveltejs/mcp, official) | Official | active |
It runs as a local process on your machine or as a hosted remote server. The documented endpoint is https://mcp.svelte.dev/mcp.
How it signs in
No sign-in, API key or token is described for the local or the remote server.
What its tools can do
| Kind | Tools |
|---|---|
| Read | list-sections, get-documentation, svelte-autofixer |
| Write | playground-link |
| Can’t be undone | none documented |
playground-link builds a temporary playground URL that holds the code, and the code is stored only in that URL.
Built-in limits
| Option | What it does |
|---|---|
Local or remote | Run npx -y @sveltejs/mcp to keep generated code on your machine, or use https://mcp.svelte.dev/mcp, where the Svelte team says it does not log, store or inspect code sent to it. |
The risks
- svelte-autofixer takes your generated code, and on the remote server that code leaves your machine.
- playground-link puts code in a URL, which can end up in logs, chat history or shared links.
- get-documentation returns text from svelte.dev that goes straight into the agent’s context, so a changed or hijacked docs page could carry instructions.
- The remote server has no sign-in, so there is no per-user access to limit.
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 svelte -- npx -y @sveltejs/mcpClaude Code names MCP tools mcp__svelte__<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__svelte__playground-link"
]
}
}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.svelte]
command = "npx"
args = ["-y", "@sveltejs/mcp"]Checklist
- Use the local npx server if your code is private.
- Ask before playground-link runs.
- Do not paste secrets into code you send for autofixing.
- Pin the package version in team configs.
Checked against the vendor documentation on November 25, 2026. Svelte MCP tools · Svelte MCP local setup · Svelte MCP remote setup · sveltejs/mcp repository
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