Svelte MCP
officialOfficial Svelte MCP server, provides docs and suggestions on the generated code.
What can you do with Svelte MCP?
- Ask Svelte questions — Query the official Svelte documentation and knowledge base using
ask_svelte. - Search Svelte docs — Find relevant documentation pages and snippets with
search_docs. - Retrieve Svelte examples — Get code examples and usage patterns from the Svelte ecosystem via
get_examples.
Documentation
@sveltejs/mcp
Repo for the official Svelte MCP server.
Dev setup instructions
pnpm i
cp apps/mcp-remote/.env.example apps/mcp-remote/.env
pnpm dev
- Set the VOYAGE_API_KEY for embeddings support
[!NOTE] Currently to prevent having a bunch of Timeout logs on vercel we shut down the SSE channel immediately. This means that we can't use
server.logand we are not sendinglist-changednotifications. We can use elicitation and sampling since those are sent on the same stream of the POST request
Local dev tools
MCP inspector
pnpm run inspect
Then visit http://localhost:6274/
- Transport type:
Streamable HTTP - http://localhost:5173/mcp
Database inspector
pnpm run db:studio