SvelteLS.MCP
An MCP server that wraps the Svelte Language Server to provide IDE-like tools for Claude Code and other MCP clients. It enables advanced Svelte development features including symbol navigation, diagnostics, refactoring, and component-specific analysis.
README
SvelteLS.MCP
MCP server that wraps the Svelte Language Server, exposing its LSP capabilities as MCP tools for Claude Code.
Architecture
Claude Code <--MCP/stdio--> SvelteLS.MCP <--LSP/stdio--> svelteserver
Setup
npm install
npm run build
Usage
node dist/index.js [path-to-svelte-project]
The project path is optional. If omitted, use the load_project tool at runtime to set it.
Claude Code MCP config
Windows
{
"mcpServers": {
"svelte-ls": {
"command": "cmd",
"args": ["/c", "node", "F:\\Shared\\SvelteLS.MCP\\dist\\index.js", "F:\\path\\to\\svelte\\project"]
}
}
}
macOS / Linux
{
"mcpServers": {
"svelte-ls": {
"command": "node",
"args": ["/path/to/SvelteLS.MCP/dist/index.js", "/path/to/svelte/project"]
}
}
}
Tools
Navigation
find_definition- Go to definition of a symbolfind_references- Find all references to a symbolget_hover- Get hover documentation and type infogo_to_implementation- Find implementations of an interface/abstract methodgo_to_type_definition- Jump to the type definition of a symbolfind_document_symbols- List all symbols in a filefind_workspace_symbols- Search symbols across the workspace
Diagnostics
get_diagnostics- Get errors, warnings, and diagnostics for a file
Editing
rename_symbol- Rename a symbol across the workspaceformat_document- Format a file or line range
Code Actions
get_code_actions- List available quick fixes and refactoringsapply_code_action- Apply a code action by title
IntelliSense
get_completion- Get completion suggestions at a positionget_signature_help- Get method signature overloads and parameter info
Call Hierarchy
incoming_calls- Find all callers of a function/methodoutgoing_calls- Find all calls from a function/method
Lifecycle
load_project- Load a Svelte project by its root directoryrestart_lsp- Restart the Svelte language server
Svelte-specific
get_compiled_code- Get compiled JS/CSS output for a Svelte componentget_component_references- Find all usages of a Svelte componentget_file_references- Find all files that import a given file
Environment Variables
SVELTELS_TIMEOUT- LSP request timeout in ms (default: 30000)SVELTELS_SERVER_PATH- Override path to the svelteserver entry script
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.