概要
What is Svelte?
The official Svelte MCP server provides a Model Context Protocol interface for the Svelte documentation ecosystem, supporting embeddings via a Voyage API key.
How to use Svelte?
Install dependencies with pnpm i, copy .env.example to .env, set VOYAGE_API_KEY, and run pnpm dev. For local inspection use pnpm run inspect with Streamable HTTP transport at http://localhost:5173/mcp.
Key features of Svelte
- Official Svelte MCP server
- Supports embeddings with Voyage API key
- Uses Streamable HTTP transport
- Includes a database inspector via Drizzle Studio
- Elicitation and sampling available on the same POST stream
Use cases of Svelte
- —
- —
- —
FAQ from Svelte
What transport does Svelte use?
Streamable HTTP.
How do I set up embeddings for Svelte?
Set the VOYAGE_API_KEY environment variable in .env
Does Svelte support server.log or list-changed notifications?
No – the SSE channel is shut down immediately to prevent timeout logs on Vercel, so these notifications are not sent.
What runtime dependencies does Svelte require?
Node.js and pnpm for development; the server runs locally via pnpm dev.
Where can I inspect the server locally?
Use the MCP inspector (pnpm run inspect) at http://localhost:6274/ with the URL http://localhost:5173/mcp.