IDE-LSP for MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
IDE-LSP for MCP
A VSCode extension that exposes IDE code intelligence capabilities through the MCP (Model Context Protocol).
As long as VSCode supports parsing a certain language, this extension can provide LSP services for that language to AI models.
中文: 中文版本
Features
15 MCP tools covering navigation, search, diagnostics, and refactoring preview workflows
Standalone MCP server architecture that works across multiple VSCode windows and workspaces
Pagination and code-context output for high-volume symbol/location queries
Symbol validation with nearest-position suggestions when the requested symbol no longer matches the cursor position
Auto-collapsed file and symbol structure output for large files
Debug panel and status-bar integration for observing MCP traffic and connection state
Related MCP server: VSCode MCP
MCP Tools
Tool | Description |
| List all open workspaces, optionally filtered by a parent |
| Navigate to symbol definition |
| Find symbol references |
| Get hover information |
| Get file symbol structure (with auto-collapse) |
| Get specific symbol's structure |
| Search symbols in workspace |
| Find interface implementations |
| Find methods that call this method |
| Rename symbol |
| Get diagnostic information |
| Get definition text |
| Sync file changes |
| Search files |
| Get parent scope symbol |
Requirements
VSCode 1.85.0+
Node.js 22.x for local development and packaging
Usage
Installation
Install the extension from VSCode Extension Marketplace, or install from a local
.vsixfile.Start VSCode and keep the extension enabled. By default, the MCP server starts automatically on port
53221.Add the following configuration to your MCP configuration file (
mcp.json):
{
"mcpServers": {
"ide-lsp": {
"url": "http://localhost:53221/mcp",
"type": "http"
}
}
}If you change ide-lsp-mcp.port, update the MCP server URL to match the configured port.
Notes for MCP Clients
listOpenProjectsaccepts an optionalprojectPath; when provided, it returns workspaces whose opened project folders are inside that path.Pagination is available on large result sets such as references, implementations, diagnostics, and file search.
Debug Panel
Set
ide-lsp-mcp.enableDebugtotrueto show the MCP debug panel in the debug sidebar.The panel records tool name, arguments, result summary, duration, and success state for up to 500 entries.
Double-click a log entry to open the full request and response in a read-only virtual document.
The
listOpenProjectstool runs only on the MCP server side and will not appear in the debug panel.
Commands
Command | Description |
| Show the current MCP server connection status |
| Reconnect to the MCP server and start it if needed |
| Restart the standalone MCP server after confirmation |
| Clear all entries from the debug panel |
Settings
Setting | Type | Default | Description |
| number | 53221 | MCP server port |
| boolean | true | Auto-start server on launch |
| number | 50 | Page size |
| number | 2 | Number of surrounding context lines to include in location results ( |
| boolean | false | Enable debug panel |
| boolean | false | Enable CORS for MCP server |
| number | 5000 | Timeout for waiting diagnostics to be produced |
| number | 3 | Number of nearest matching symbol suggestions returned on symbol validation failure |
| number | 200 | Maximum output lines for file or symbol structure in auto mode |
Behavior Notes
getFileStructandgetSymbolStructsupportmaxDepth; negative values use auto mode and respectide-lsp-mcp.maxStructLines.Symbol-aware tools validate
symbolNameand can return suggested positions if the target symbol has moved.getDiagnosticscan temporarily activate a file when a language server only publishes diagnostics for the foreground editor; waiting is controlled byide-lsp-mcp.diagnosticsTimeout.
Architecture
┌─────────────────┐ HTTP/SSE ┌─────────────────┐
│ MCP Client │ ◄──────────────► │ MCP Server │
│ (AI Model) │ │ (Standalone Node.js) │
└─────────────────┘ └────────┬────────┘
│ WebSocket
┌─────────────────────────┼─────────────────────────┐
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Window 1 │ │ Window 2 │ │ Window 3 │
│ ExtHost │ │ ExtHost │ │ ExtHost │
└─────────────┘ └─────────────┘ └─────────────┘Documentation
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceExposes VSCode's Language Server Protocol features through MCP, enabling AI assistants to perform language-aware operations like symbol navigation, reference tracking, safe renaming, type information retrieval, and hover documentation across codebases.-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to query a running VSCode instance for real-time LSP diagnostics, symbol/type information, references, and workspace-wide symbol renames instead of waiting on slow tsc or eslint runs. It also supports listing workspaces, opening files, and executing VSCode commands through the MCP protocol or an equivalent CLI.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients and AI coding agents to access real-time editor diagnostics, LSP type/symbol information, references, workspace discovery, file opening, and safe symbol renaming. It replaces slow tsc/eslint/build checks by querying the editor's language servers for accurate live code context.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients and AI coding agents to query an open VSCode instance for real-time LSP diagnostics, type information, definitions, references, file navigation, and workspace-wide symbol renaming.-