Skip to main content
Glama
Svelte LSP as MCP

Svelte LSP as MCP

by pacnpal

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 10 tools

Disambiguation5/5

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.

Naming Consistency5/5

All tools follow a consistent svelte_ prefix plus snake_case noun/action pattern. The naming is predictable and easy to scan.

Tool Count5/5

Ten tools is well-scoped for a language-server bridge, covering the most common diagnostic, navigation, completion, formatting, and rename workflows without bloat.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues