Skip to content
MCP server

Svelte MCP

Official Svelte docs and code-fixing MCP server, run via npx or a hosted URL

Svelte MCP is an MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

Platforms
CLI, API
Runs
Locally or Remotely
Version
0.1.31
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http mcp https://mcp.svelte.dev/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.svelte.dev/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://mcp.svelte.dev/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.svelte.dev/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.svelte.dev/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://mcp.svelte.dev/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp --url https://mcp.svelte.dev/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
url = "https://mcp.svelte.dev/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://mcp.svelte.dev/mcp

Enter a Name (for example "Svelte MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.svelte.dev/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp": {
          "httpUrl": "https://mcp.svelte.dev/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http mcp https://mcp.svelte.dev/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "serverUrl": "https://mcp.svelte.dev/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.svelte.dev/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp": {
          "type": "streamableHttp",
          "url": "https://mcp.svelte.dev/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp": {
          "url": "https://mcp.svelte.dev/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.svelte.dev/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.svelte.dev/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.svelte.dev/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Svelte MCP

This is one of four pieces in the Svelte team's AI tooling, alongside a small always-injected instruction prompt, lazy-loaded skills and parallel subagents. The server's job is to pull context from the official Svelte documentation and apply static analysis to catch common mistakes that generated code makes.

It can run locally over stdio with npx @sveltejs/mcp, or after installing the package with pnpm and running svelte-mcp. The registry also lists a hosted streamable-HTTP endpoint at mcp.svelte.dev. The pages describe it as offering tools, prompts and resources, but individual tool names are not listed.

What it does

Official docs context
Pulls from the Svelte documentation rather than model memory.
Static-analysis fixes
Flags common generated-code pitfalls.
Local or hosted
Use the npm package over stdio or the remote URL.
Part of a four-piece kit
Works with instructions, skills and subagents or on its own.

Good for

  • Give a coding agent accurate Svelte documentation while it writes components
  • Have generated Svelte code checked for common mistakes
  • Add Svelte help to an editor agent without a custom setup

Svelte MCP FAQ

How do I run Svelte MCP locally?

Run npx @sveltejs/mcp, or install the package with pnpm and run svelte-mcp.

Is there a hosted version?

Yes, a streamable-HTTP endpoint at https://mcp.svelte.dev/mcp is listed in the registry.

Who maintains Svelte MCP?

The Svelte team; the documentation calls these the officially maintained AI tools.

How do I add Svelte MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.svelte.dev/mcp

What are the best alternatives to Svelte MCP?

The closest alternatives to Svelte MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers