Svelte MCP
The official Svelte MCP server for coding agents working on Svelte and SvelteKit apps, also offered as a hosted server at mcp.svelte.dev.
Test results
Last passed 2026-10-23Server package tested: @sveltejs/mcp 0.1.27 (npm, Node v20.19.2; resolved 2026-10-23)
Direct and key dependencies as resolved: eslint 9.39.5 · sade 1.8.1 · tmcp 1.20.0
All 93 resolved dependencies
@eslint-community/eslint-utils==4.10.1
@eslint-community/regexpp==4.12.2
@eslint/config-array==0.21.2
@eslint/config-helpers==0.4.2
@eslint/core==0.17.0
@eslint/eslintrc==3.3.7
@eslint/js==9.39.5
@eslint/object-schema==2.1.7
@eslint/plugin-kit==0.4.1
@humanfs/core==0.19.2
@humanfs/node==0.16.8
@humanfs/types==0.15.0
@humanwhocodes/module-importer==1.0.1
@humanwhocodes/retry==0.4.3
@standard-schema/spec==1.1.0
@types/estree==1.0.9
@types/json-schema==7.0.15
acorn==8.19.0
acorn-jsx==5.3.2
ajv==6.15.0
ansi-styles==4.3.0
argparse==2.0.1
balanced-match==1.0.2
brace-expansion==1.1.21
callsites==3.1.0
chalk==4.1.2
color-convert==2.0.1
color-name==1.1.4
concat-map==0.0.1
cross-spawn==7.0.6
debug==4.4.3
deep-is==0.1.4
escape-string-regexp==4.0.0
eslint==9.39.5
eslint-scope==8.4.0
eslint-visitor-keys==3.4.3, 4.2.1
espree==10.4.0
esquery==1.7.0
esrecurse==4.3.0
estraverse==5.3.0
esutils==2.0.3
fast-deep-equal==3.1.3
fast-json-stable-stringify==2.1.0
fast-levenshtein==2.0.6
file-entry-cache==8.0.0
find-up==5.0.0
flat-cache==4.0.1
flatted==3.4.4
glob-parent==6.0.2
globals==14.0.0
has-flag==4.0.0
ignore==5.3.2
import-fresh==3.3.1
imurmurhash==0.1.4
is-extglob==2.1.1
is-glob==4.0.3
isexe==2.0.0
js-yaml==4.3.2
json-buffer==3.0.1
json-rpc-2.0==1.8.1
json-schema-traverse==0.4.1
json-stable-stringify-without-jsonify==1.0.1
keyv==4.5.4
levn==0.4.1
locate-path==6.0.0
lodash.merge==4.6.2
minimatch==3.1.5
mri==1.2.0
ms==2.1.3
natural-compare==1.4.0
optionator==0.9.4
p-limit==3.1.0
p-locate==5.0.0
parent-module==1.0.1
path-exists==4.0.0
path-key==3.1.1
prelude-ls==1.2.1
punycode==2.3.1
resolve-from==4.0.0
sade==1.8.1
shebang-command==2.0.0
shebang-regex==3.0.0
sqids==0.3.0
strip-json-comments==3.1.1
supports-color==7.2.0
tmcp==1.20.0
type-check==0.4.0
uri-js==4.4.1
uri-template-matcher==1.1.2
valibot==1.5.0
which==2.0.2
word-wrap==1.2.5
yocto-queue==0.1.0Captured with: npm ls --all --json in the npx env.
Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with ChatGPT (Codex)?
Real test
PassedOne run from our records. When two runs share a date, we show a failure if there is one.
- Client
- Cursor · Cursor CLI 2026.10.22-27dcf5f
- Date
- Oct 23, 2026
- The task we gave
Using only the svelte-mcp MCP tools, look up in the official Svelte documentation which Svelte 5 rune declares reactive state, and reply with the rune's name.
- What it promised
- details not recorded for this run
- What happened
Tool calls:
svelte-mcp:list-sectionssvelte-mcp:get-documentationOther calls recorded:
getMcpToolsToolCallTool result
{"success": {"content": [{"text": {"text": "List of available Svelte documentation sections with their intended use cases. The \"use_cases\" field describes WHEN each section would be useful - analyze these carefully to determine which sections match the user's query:\n\n- title: Overview, use_cases: use title and path to estimate use case, path: ai/overview\n- title: AGENTS.md, use_cases: use title and path to estimate use case, path: ai/instructions\n- title: Overview, use_cases: use title and path to estimate use case, path: ai/mcp\n- title: Local setup, use_cases: use title and path to estimate use case, path: ai/local-setup\n- title: Remote setup, use_cases: use title and path to estimate use case, path: ai/remote-setup\n- title: Tools, use_cases: use title and path to estimate use case, path: ai/tools\n- title: Resources, use_cases: use title and path to estimate use case, path: ai/resources\n- title: Prompts, use_cases: use title and path to estimate use case, path: ai/prompts\n- title: CLI, use_cases: use title and path to estimate use case, path: ai/cli\n- title: Overview, use_cases: use title and path to estimate use case, path: ai/skills\n- title: Overview, use_cases: use title and path to estimate use case, path: ai/subagent\n- title: Claude Code, use_cases: use title and path to estimate use case, path: ai/claude-plugin\n- title: OpenCode, use_cases: use title and path to estimate use case, path: ai/opencode-plugin\n- title: Cursor, use_cases: use title and pathAgent reply
I’ll check the official Svelte docs through the `svelte-mcp` tools and return just the rune name.`$state`- Verdict
- Passed
Install
claude mcp add svelte-mcp -- npx -y @sveltejs/mcpRun in your terminal. This exact command is what our harness runs in Claude Code; see the results above.
{
"mcpServers": {
"svelte-mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.
{
"mcpServers": {
"svelte-mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.
[mcp_servers.svelte-mcp]
command = "npx"
args = ["-y", "@sveltejs/mcp"]Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.
Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)
Test history
| Date | Check | Result | Versions tested |
|---|---|---|---|
| 2026-10-23 | Protocol (direct stdio) | Protocol: starts, 4 tools listed | @sveltejs/mcp 0.1.27 · server reported v0.0.1 |
| 2026-10-23 | Claude Code | Passed install, connect, tools, agent task | Claude Code 2.1.296 · @sveltejs/mcp 0.1.27 |
| 2026-10-23 | Cursor | Passed install, connect, tools, agent task | Cursor CLI 2026.10.22-27dcf5f · @sveltejs/mcp 0.1.27 |
| 2026-10-23 | ChatGPT (Codex) | Passed install, connect, tools, agent task | Codex CLI 0.162.0-alpha.17.2 · @sveltejs/mcp 0.1.27 |
Tools seen by our harness (4)
get-documentationlist-sectionsplayground-linksvelte-autofixer