About Svelte
The official Svelte MCP server is intended for use by agents working with Svelte. The README identifies it as an MCP server but does not describe its specific capabilities.
Key features
- 01Official Svelte MCP server
Use cases
- 01Connecting an agent to the Svelte MCP server
MCP support
This project is an MCP server. The README does not specify which tools or resources it exposes to MCP clients.
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 sveltejs https://mcp.svelte.dev/mcp{"mcpServers":{"sveltejs":{"type":"http","url":"https://mcp.svelte.dev/mcp"}}}Open in Cursor{"servers":{"sveltejs":{"type":"http","url":"https://mcp.svelte.dev/mcp"}}}Open in VS Code{"mcpServers":{"sveltejs":{"type":"http","url":"https://mcp.svelte.dev/mcp"}}}{"mcpServers":{"sveltejs":{"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
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
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.