
Svelte Docs
HTTP-SSESTDIOComprehensive Svelte 5 reference guide MCP server for accurate LLM assistance
Comprehensive Svelte 5 reference guide MCP server for accurate LLM assistance
A Model Context Protocol (MCP) server that provides a comprehensive reference guide for Svelte 5 and SvelteKit, helping LLMs provide accurate guidance when users are working with Svelte. It includes detailed documentation for:
This MCP server provides 16 specialized tools for Svelte 5 and SvelteKit development:
svelte5_state
- Documentation for $state
rune (reactive state)svelte5_derived
- Documentation for $derived
rune (computed
values)svelte5_props
- Documentation for $props
rune (component
properties)svelte5_effect
- Documentation for $effect
rune (side effects)svelte5_snippets
- Documentation for snippets (replacement for
slots)svelte5_events
- Event handling patterns in Svelte 5svelte5_component_events
- Component event patterns and best
practicessvelte5_global_state
- Global state management patternssvelte5_await_expressions
- Await expressions for async operations
(experimental)sveltekit_remote_functions
- Remote functions for type-safe
client-server communication (experimental)svelte5_migration
- Migration patterns from Svelte 4 to Svelte 5svelte5_mistakes
- Common mistakes and how to avoid themsvelte5_overview
- General overview of Svelte 5 featuressvelte5_runes_overview
- Comprehensive overview of all runesAll tools support an optional includeExamples
parameter:
includeExamples: true
(default) - Include code examples and
demonstrationsincludeExamples: false
- Return documentation without code
examples for concise referenceawait
directly in components,
$derived
, and markup<svelte:boundary>
Claude Desktop (via WSL)
{ "mcpServers": { "mcp-svelte-docs": { "command": "wsl.exe", "args": ["bash", "-c", "npx -y mcp-svelte-docs"] } } }
Cursor
Windsurf (via WSL)
{ "mcpServers": { "mcp-svelte-docs": { "command": "wsl.exe", "args": ["bash", "-c", "npx -y mcp-svelte-docs"] } } }
Windows (without WSL)
{ "mcpServers": { "mcp-svelte-docs": { "command": "npx", "args": ["-y", "mcp-svelte-docs"] } } }
macOS / Linux
{ "mcpServers": { "mcp-svelte-docs": { "command": "npx", "args": ["-y", "mcp-svelte-docs"] } } }
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see the LICENSE file for details.
Built on: