About Svelte MCP
The official Svelte MCP server providing docs and autofixing tools for Svelte development
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.svelte.dev/mcpclaude mcp add --transport http dev-svelte https://mcp.svelte.dev/mcp{"mcpServers":{"dev-svelte":{"type":"http","url":"https://mcp.svelte.dev/mcp"}}}Open in Cursor{"servers":{"dev-svelte":{"type":"http","url":"https://mcp.svelte.dev/mcp"}}}Open in VS Code{"mcpServers":{"dev-svelte":{"type":"http","url":"https://mcp.svelte.dev/mcp"}}}{"mcpServers":{"dev-svelte":{"serverUrl":"https://mcp.svelte.dev/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
4| Parameter | Type | Required | Description |
|---|---|---|---|
| section | any | Yes | The section name(s) to retrieve. Can search by title (e.g., "$state", "load functions") or file path (e.g., "cli/overview"). Supports single string and array of strings |
Details
From the project README@sveltejs/mcp
The CLI version of the Svelte MCP.
You can run it directly with
npx @sveltejs/mcp
or install it and then run it
pnpm i @sveltejs/mcp
pnpm svelte-mcp
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.