MCP_TOOLS.md 887 B

MCP Tools

The Svelte MCP server provides access to comprehensive Svelte 5 and SvelteKit documentation.

list-sections

Use this first to discover all available documentation sections. Returns titles, use_cases, and paths. Always call this at the start of any Svelte/SvelteKit task to find relevant sections.

get-documentation

Retrieves full documentation for specific sections. After list-sections, fetch all sections relevant to the task (use the use_cases field to judge relevance).

svelte-autofixer

Analyzes Svelte code and returns issues and suggestions. Must be called on all new Svelte code before sending it to the user. Keep calling until no issues remain.

playground-link

Generates a Svelte Playground link for the provided code. Only call after explicit user confirmation, and never when code has already been written to project files.