Overview
The Svelte MCP (Model Context Protocol) server can help your agent write better Svelte code. It works by providing relevant documentation, and statically analysing generated code so that it can suggest fixes and best practices.
Setup
The setup varies based on the version of the MCP you prefer — remote or local — and your chosen MCP client (e.g. Claude Code, Codex CLI or GitHub Copilot):
- local setup using
@sveltejs/mcp - remote setup using
https://mcp.svelte.dev/mcp
Usage
If your MCP client supports it, we also recommend using the svelte-task prompt to instruct the LLM on the best way to use the MCP server.
Edit this page on GitHub llms.txt
previous next