Svelte MCP
The official Svelte MCP server providing docs and autofixing tools for Svelte development
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http svelte-mcp 'https://mcp.svelte.dev/mcp'
{
"mcpServers": {
"svelte-mcp": {
"type": "http",
"url": "https://mcp.svelte.dev/mcp"
}
}
}
@sveltejs/mcpclaude mcp add svelte-mcp -- npx -y @sveltejs/mcp@0.1.28
{
"mcpServers": {
"svelte-mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp@0.1.28"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
@sveltejs/mcp
Repo for the official Svelte MCP server.
Dev setup instructions
pnpm i
cp apps/mcp-remote/.env.example apps/mcp-remote/.env
pnpm dev
- Set the VOYAGE_API_KEY for embeddings support
[!NOTE] Currently to prevent having a bunch of Timeout logs on vercel we shut down the SSE channel immediately. This means that we can't use
server.logand we are not sendinglist-changednotifications. We can use elicitation and sampling since those are sent on the same stream of the POST request
Local dev tools
MCP inspector
pnpm run inspect
Then visit http://localhost:6274/
- Transport type:
Streamable HTTP - http://localhost:5173/mcp
Database inspector
pnpm run db:studio
Frequently asked questions
What is Svelte MCP?
The official Svelte MCP server providing docs and autofixing tools for Svelte development
How do I install Svelte MCP?
It runs as a remote server. In Claude Code: claude mcp add --transport http svelte-mcp 'https://mcp.svelte.dev/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Svelte MCP need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is Svelte MCP open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains Svelte MCP?
It is published by sveltejs. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.