Svelte MCP
- MCP server
- 4 callable tools
- 4 capabilities
Overview
Svelte MCP is a server published by the Svelte team that gives AI agents Svelte 5 and SvelteKit documentation and static analysis of generated Svelte code. It is hosted remotely at mcp.svelte.dev and can also run locally from the @sveltejs/mcp package.
Capabilities:
- Look up current Svelte 5 and SvelteKit documentation
- List the available Svelte and SvelteKit documentation sections
- Check generated Svelte components and modules for common mistakes and get suggested fixes
- Generate an ephemeral Svelte Playground link for a code snippet
Works with
The products your agent can work with through this server.
Tools
The callable functions your agent uses to work with this server.
| Tool | What it does |
|---|---|
get-documentation | Retrieves full documentation content for Svelte 5 or SvelteKit sections. |
list-sections | Lists all available Svelte 5 and SvelteKit documentation sections in a structured format. |
playground-link | Generates a Playground link given a Svelte code snippet. |
svelte-autofixer | Given a svelte component or module returns a list of suggestions to fix any issues it has. |
Installation
Follow the installation guide for supported clients, authentication and required permissions.
Add Svelte MCP to Claude Code
Run this in your terminal:
If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.
Add Svelte MCP to Cursor
Add it with the Add to Cursor button below, or add it to .cursor/mcp.json in your project (~/.cursor/mcp.json for every project):
Add Svelte MCP to VS Code
Add it to .vscode/mcp.json in your workspace. VS Code uses servers rather than mcpServers. Or run MCP: Add Server from the Command Palette and choose HTTP.
Add Svelte MCP to Codex
Run this in your terminal:
Or add it to ~/.codex/config.toml:
If the server uses OAuth, sign in with codex mcp login svelte-2.
Add Svelte MCP to Claude
Add it as a custom connector with this URL:
- Open Customize, then Connectors.
- Click + Add, then Add custom connector.
- Name it, paste the URL and click Continue.
- Choose how to sign in, then click Add.
On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.
Add Svelte MCP to other clients
For any other client that connects to remote MCP servers over HTTP, use this URL:
Sources
Documentation and source code reviewed on 12 November 2026.