Svelte MCP
The official Svelte MCP server providing docs and autofixing tools for Svelte development
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http svelte-mcp 'https://mcp.svelte.dev/mcp'
{
"mcpServers": {
"svelte-mcp": {
"type": "http",
"url": "https://mcp.svelte.dev/mcp"
}
}
}
@sveltejs/mcpclaude mcp add svelte-mcp -- npx -y @sveltejs/mcp@0.1.28
{
"mcpServers": {
"svelte-mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp@0.1.28"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
@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
Questions fréquentes
Qu'est-ce que Svelte MCP ?
The official Svelte MCP server providing docs and autofixing tools for Svelte development
Comment installer Svelte MCP ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http svelte-mcp 'https://mcp.svelte.dev/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Svelte MCP ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Svelte MCP est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Svelte MCP ?
Il est publié par sveltejs. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.