Svelte MCP
Lets your AI agent look up Svelte documentation and automatically fix Svelte code.
337 stars on GitHubby SvelteLicense MITUpdated 18 days ago
How to install
This MCP has two ways to run: local or remote.
Pick one below. Local runs on your computer; remote runs in the cloud and needs nothing installed.
Paste in the terminal:
claude mcp add svelte -- npx -y @sveltejs/mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
How do I use runes for state in Svelte? Look it up in the docs.
Check this component for problems and fix them.
What it is
This is the official MCP server for Svelte development. It gives AI agents access to Svelte documentation and tools that fix code automatically. The readme in this repository mostly covers development of the server itself.
What it can do
- Look up Svelte documentation
- Autofix Svelte code
- Streamable HTTP endpoint at /mcp
- MCP inspector for local testing
When to use
- βΊWhen you build with Svelte and want your agent to use current docs.
- βΊWhen you want an agent to fix common Svelte code problems.
- βΊWhen you want to test or develop the server locally.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
markstream-svelteHelps your agent use Markstream with Svelte or SvelteKit. This optimizes content display, making it smoother and more secure.gsap-frameworksHelps your agent add GSAP animations in frameworks like Vue and Svelte. It manages component lifecycles for smooth animations.leaked-secretsHelps your agent find API keys or passwords accidentally exposed in your front-end code or repository, so you can move them server-side and rotate them.Frequently asked questions
Is it official?
Yes. The readme calls it the official Svelte MCP server.
What does it provide?
Documentation and autofixing tools for Svelte development, according to the registry listing.
How do I run it locally?
Run pnpm i, copy the example .env, set VOYAGE_API_KEY and run pnpm dev.
How can I test it?
Run pnpm run inspect, open localhost:6274 and connect to http://localhost:5173/mcp with the Streamable HTTP transport.
Are there server notifications?
No. The remote deployment closes the SSE channel right away, so it does not send logs or list-changed notices.
Is there a license?
The readme does not state one.
If it does not work
- βΊFor local dev, set VOYAGE_API_KEY in apps/mcp-remote/.env.
- βΊUse the Streamable HTTP transport in the inspector, with the URL ending in /mcp.
- βΊCheck the project's documentation for current end-user install steps, since the readme here is for developers.
5 new skills a week. 1 minute to read.