Svelte LSP as MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| svelte_diagnosticsB | Get current compiler, markup, CSS and TypeScript diagnostics for a component. |
| svelte_document_symbolsB | List the component's symbols and their source ranges. |
| svelte_hoverC | Show type information and documentation at a position. |
| svelte_definitionC | Find where the symbol at a position is defined. |
| svelte_type_definitionC | Find the type declaration of the symbol at a position. |
| svelte_signature_helpB | Show call signatures and the active parameter at a position. |
| svelte_referencesC | Find project references to the symbol at a position. |
| svelte_completionsB | List completion suggestions at the cursor. Use offset and limit to page through the result. |
| svelte_renameC | Preview the workspace edit for renaming a symbol. |
| svelte_formatA | Preview text edits to format the component using its project configuration. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool maps to a distinct LSP capability with clear resource/action intent. Definition vs. type_definition and hover vs. signature_help are adjacent but descriptions make their boundaries clear.
All tools follow a consistent svelte_ prefix plus snake_case noun/action pattern. The naming is predictable and easy to scan.
Ten tools is well-scoped for a language-server bridge, covering the most common diagnostic, navigation, completion, formatting, and rename workflows without bloat.
The surface covers core LSP interactions well: diagnostics, symbols, formatting, hover, navigation, references, completions, and rename preview. Notable gaps remain around code actions/quick fixes and some secondary LSP features like document highlights or implementation lookup.