FRAMEWORK DEVELOPMENT / Svelte
Svelte MCP
Official Svelte documentation and static-analysis tools, available as a local process or a hosted MCP endpoint.
“Repo for the official Svelte MCP server.”
01 / THE REASONING
Why this made the selection.
- Combines version-relevant documentation discovery with analysis of Svelte components and modules.
- The local and remote setup paths are documented separately, allowing a team to choose where submitted code is processed.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- README.md and LICENSE at 6b5d0dab3c9c083387247ab20dc684573481076b
- documentation/docs/30-mcp/10-mcp.md, 20-local-setup.md, 30-remote-setup.md and 40-tools.md at 6b5d0dab3c9c083387247ab20dc684573481076b (the source of svelte.dev/docs/ai)
- packages/mcp-stdio/src/index.ts and packages/mcp-stdio/package.json at 6b5d0dab3c9c083387247ab20dc684573481076b
- packages/mcp-server/src/mcp/index.ts and the get-documentation, svelte-autofixer and playground-link handlers at 6b5d0dab3c9c083387247ab20dc684573481076b
- packages/mcp-stdio/package.json at 6b5d0dab3c9c083387247ab20dc684573481076b
Our findings
- The local startup and core handlers were inspected; the autofixer reports suggestions rather than editing files.
- The review distinguishes publisher privacy statements from an independent audit of the hosted deployment.
- The tools page lists four tools: list-sections, get-documentation, svelte-autofixer and playground-link. The playground link carries the code in the URL itself.
- svelte.dev moved these docs from /docs/mcp/ to /docs/ai/ (the old addresses redirect, checked 2026-10-13); their markdown is versioned in this repository under documentation/docs/30-mcp/.
- configExample is the Claude Desktop block from documentation/docs/30-mcp/20-local-setup.md at this commit. The npm package is still @sveltejs/mcp (packages/mcp-stdio/package.json, version 0.1.26, MIT).
Not established by this review
- No MCP server or upstream package was installed or run.
- No authenticated account, API request, client handshake or write operation was tested.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Connect a server deliberately.
DOCUMENTED COMMAND
npx -y @sveltejs/mcp Copying does not execute this command. It may retrieve a newer version than the reviewed source.
- Choose local stdio or the documented hosted endpoint https://mcp.svelte.dev/mcp; configure the wrapper required by your client.
- Inspect the exposed tools and use documentation lookup plus static analysis on a bounded file.
- Keep the project’s compiler, test and browser checks as separate verification steps.
Before you start
- A supported Node.js/npm environment for the local package
- An MCP client supporting the chosen transport
- Network access for documentation lookup
Documented configuration example
Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.
{
"mcpServers": {
"svelte": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
} 04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/README.md
Supports: summary, upstreamDescription, whySelected, bestFor, install, compatibility, limitations, access
- Source licence ↗Checked
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/LICENSE
Supports: license, access.cost
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/packages/mcp-stdio/src/index.ts
Supports: review, limitations, access, transports
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/packages/mcp-server/src/mcp/index.ts
Supports: review, limitations, access, transports
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/packages/mcp-server/src/mcp/handlers/tools/get-documentation.ts
Supports: review, limitations, access, transports
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/packages/mcp-server/src/mcp/handlers/tools/svelte-autofixer.ts
Supports: review, limitations, access, transports
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/packages/mcp-server/src/mcp/handlers/tools/playground-link.ts
Supports: review, limitations, access, transports
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/documentation/docs/30-mcp/20-local-setup.md
Supports: install, compatibility, review, limitations, access, configExample
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/documentation/docs/30-mcp/30-remote-setup.md
Supports: install, compatibility, review, limitations, access
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/documentation/docs/30-mcp/40-tools.md
Supports: review, summary, access
https://github.com/sveltejs/ai-tools/blob/6b5d0dab3c9c083387247ab20dc684573481076b/packages/mcp-stdio/package.json
Supports: install, license, review