Svelte▌

by sveltejs
Access Svelte documentation, code analysis, and autofix tools for Svelte 5 & SvelteKit. Improve projects with smart migr
Official Svelte documentation access and code analysis server that provides up-to-date reference material, playground link generation, and intelligent autofixer capabilities for detecting common patterns, anti-patterns, and migration opportunities in Svelte 5 and SvelteKit projects.
best for
- / Svelte developers needing quick documentation reference
- / Code review and quality improvement for Svelte projects
- / Migrating existing Svelte applications to version 5
- / Learning Svelte best practices and patterns
capabilities
- / Retrieve official Svelte 5 and SvelteKit documentation
- / List all available documentation sections
- / Generate Svelte playground links from code snippets
- / Analyze Svelte components for issues and anti-patterns
- / Detect migration opportunities for Svelte 5
- / Provide intelligent code fixing suggestions
what it does
Provides direct access to official Svelte documentation and automatically analyzes Svelte code for issues, patterns, and migration opportunities. Includes playground link generation for testing code snippets.
about
Svelte is an official MCP server published by sveltejs that provides AI assistants with tools and capabilities via the Model Context Protocol. Access Svelte documentation, code analysis, and autofix tools for Svelte 5 & SvelteKit. Improve projects with smart migr It is categorized under databases, developer tools. This server exposes 4 tools that AI clients can invoke during conversations and coding sessions.
how to install
You can install Svelte in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.
license
MIT
Svelte is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
30:I[90868,["/_next/static/chunks/d44f68451bf37cfc.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/e26c33a208e315a0.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/1e9f768250e0891c.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/ecf22e2feb732905.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/46517225d33addaa.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/3482c57daa71cdad.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/6fcfb1f77802eb88.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/9cfbe1b4eb37db26.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas","/_next/static/chunks/0ee62f965f2f4ae4.js?dpl=dpl_G7ww8GtvjDhuo4TTzpNHPaBEkhas"],"ReadmeRenderer"] 2f:["$","$L30",null,{"content":"# @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
https://local.drizzle.studio/ ","githubUrl":"https://github.com/sveltejs/mcp"}]