Svelte MCP Server

An MCP server that provides access to Svelte 5 and SvelteKit documentation

Local serverstdio

What is the Svelte MCP server?

Svelte MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. An MCP server that provides access to Svelte 5 and SvelteKit documentation.

What you get

LLM presets and MCP for Svelte 5 and SvelteKit. Visit the site at svelte-llm.stanislav.garden.

What the assistant can call

Once Svelte is connected, these are the calls the assistant has available:

Setting it up

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration and credentials

You will need one environment variable: GITHUB_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Svelte's toolset — Run, Misc — is a fair guide to whether it matches your workflow. It is maintained by garden.stanislav.svelte-llm; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the svelte mcp server does with a few real requests.

Available tools

ToolWhat it does
RunThe Run tool exposed by this server.
MiscOG image from https://dynamic-og-image-generator.vercel.app/

How to install the Svelte MCP server

{
  "mcpServers": {
    "svelte-llm": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "GITHUB_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Svelte to Run.
  • Use Svelte to Misc.

Frequently asked questions

It connects Svelte to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Run, Misc) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Svelte directly.