Svelte MCP
MCP server by sveltejs Verified · svelte.dev
Svelte MCP is the official MCP server repository from sveltejs, published as @sveltejs/mcp. It covers local setup with pnpm, an optional VOYAGE_API_KEY for embeddings, and debugging with the MCP inspector. It is for developers who want to run or work on the server.
Install Svelte MCP
Built from the published package, never by AI.
claude mcp add svelte-mcp -- npx -y @sveltejs/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"svelte-mcp": {
"args": [
"-y",
"@sveltejs/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"svelte-mcp": {
"args": [
"-y",
"@sveltejs/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"svelte-mcp": {
"args": [
"-y",
"@sveltejs/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add svelte-mcp -- npx -y @sveltejs/mcp{
"mcpServers": {
"svelte-mcp": {
"args": [
"-y",
"@sveltejs/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add svelte-mcp npx -y @sveltejs/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the svelte-mcp block.
About
Svelte MCP is the repository for the official Svelte MCP server, published under the @sveltejs/mcp package name. The source covers local development: install dependencies with pnpm, copy an example environment file for the mcp-remote app, and start the dev server. It also explains that setting VOYAGE_API_KEY enables embeddings support.
The server runs over Streamable HTTP at a local /mcp endpoint, and the README describes an MCP inspector and a Drizzle database studio for debugging. A note says the SSE channel is closed immediately on Vercel to avoid timeout logs, so server logs and list-changed notifications are not sent, while elicitation and sampling still work on the POST stream. It suits developers who want to run or modify this server.
Written from the project's README and checked against it.
What you need
- pnpm
- VOYAGE_API_KEY for embeddings support
Try asking
- Explain how a Svelte component manages its state.
- Show me how to structure a Svelte app with reusable components.
- Review this Svelte component and point out likely problems.
Good to know
- The SSE channel is shut down immediately on Vercel, so server.log cannot be used.
- list-changed notifications are not sent.
- Embeddings require a VOYAGE_API_KEY.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Running the Svelte MCP server locally
- Debugging the server with the MCP inspector
- Inspecting the server database with Drizzle Studio
Alternatives to Svelte MCP
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Svelte MCP: common questions
Does Svelte MCP need an API key?
The source says to set VOYAGE_API_KEY for embeddings support. It does not say whether the server needs it to run.
Which transport does the Svelte MCP server use?
The inspector is set to Streamable HTTP at http://localhost:5173/mcp in local development. The source does not mention other transports.
Why are server logs missing when Svelte MCP runs on Vercel?
The README says the SSE channel is shut down immediately on Vercel to prevent timeout logs. Because of this, server.log cannot be used.
How do I install Svelte MCP?
In Claude Code run claude mcp add svelte-mcp -- npx -y @sveltejs/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Svelte MCP the official server?
Svelte MCP is published by svelte.dev from its verified domain in the official MCP Registry.
Is Svelte MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Svelte MCP safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Svelte MCP?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Svelte MCP work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
