mcp-svelte-docs

Svelte Docs MCP Server

Svelte 5 and SvelteKit reference lookups use a single tool, svelte_definition, with definitions drawn from TypeScript declarations. It serves developers checking rune syntax, exploring framework patterns, or adapting Svelte 4 code.

Server facts

mcp-svelte-docs

Project

Author
spences10
License
MIT

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
123
Last commit
Data as of

Tags

  • Documentation
  • developer tools
  • libsql
  • llm
  • mcp
  • model context protocol
  • search
  • svelte

Overview

Svelte runes, component events, and migration patterns are accessible through mcp-svelte-docs using the svelte_definition tool. Its reference material comes from official Svelte 5 TypeScript declarations and includes parameter types, return values, and constraints. Developers select a concept by identifier, then choose the level of detail: syntax returns a TypeScript signature, quick pairs a definition with a short example, and full provides more extensive documentation and examples. Full is the default when no format is specified.

The available topics span state and derived values, props, effect variants, snippets, template await expressions, and SvelteKit remote functions. Other entries address shared state, component communication, event delegation, and TypeScript interfaces such as Snippet and Snapshot. For developers moving existing applications forward, migration entries describe Svelte 5 counterparts to Svelte 4 patterns, alongside lifecycle equivalents and common mistakes. If an identifier is mistyped or a lookup fails, the server can suggest likely matches or related concepts. The project runs on Node, communicates over stdio, and uses the MIT license.

mcp-svelte-docs setup notes

  • mcp-svelte-docs records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers