Svelte MCP

official

Official 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
  1. 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.log and we are not sending list-changed notifications. 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/

Database inspector

pnpm run db:studio

https://local.drizzle.studio/