Chpatil Vscode Mcp Extension is an MCP server that integrates directly into Visual Studio Code to provide coding diagnostics, editor navigation, and debug session controls to external AI assistants. Built using the Model Context Protocol TypeScript SDK, the extension embeds an Express-based HTTP server inside the editor to communicate over Server-Sent Events (SSE). Software developers and AI coding agents use this server to retrieve live workspace diagnostics from VSCode language services, focusing only on files that contain errors. It enables assistants like Claude Desktop to locate workspace symbols, navigate the editor viewport to specific line and column positions, and control VSCode debug sessions by listing, starting, stopping, or restarting them. Operating on a configurable local port (defaulting to 6010), the server logs all protocol exchanges to an integrated VSCode output channel for straightforward troubleshooting.
Category: Developer Tools & Code Intelligence
Tags: development, editor, ide, vscode
Visit Chpatil Vscode Mcp Extension
.vsix file in Visual Studio Code via Extensions: Install from VSIX..., then reload the editor. 2. Verify the server is running on port 6010 in the MCP Server Logs output channel. 3. Install mcp-proxy to bridge SSE to stdio using uv tool install mcp-proxy or pipx install mcp-proxy. 4. Open Claude Desktop, navigate to File > Settings > Developer, and select Edit Config. 5. Add the server under mcpServers in your configuration file: json { "mcpServers": { "vscode": { "command": "mcp-proxy", "args": ["http://127.0.0.1:6010/sse"] } } } 6. Restart Claude Desktop completely via File > Exit.code_checker to let an AI assistant analyze and fix active code issues. - Focusing the VSCode editor on a specific line and column using focus_editor to guide developer attention. - Locating code symbols across the project through search_symbol with definitions and text search fallbacks. - Managing active debug workflows by listing, starting, stopping, or restarting debugging sessions directly from an AI client.Part of MCP Servers
The extension acts as an MCP server running directly inside Visual Studio Code. It provides external AI agents with tools to fetch workspace diagnostics, search for workspace symbols, open files to specific lines, and manage debug sessions such as listing, launching, terminating, or restarting them.
Any client supporting the Model Context Protocol can connect to the extension. Because the server uses an Express-based Server-Sent Events transport on port 6010, clients that only support standard input and output transport, such as Claude Desktop, require an intermediary bridge like mcp-proxy.
You build the extension from source using pnpm, package it into a VSIX file, and install it in VSCode using the Install from VSIX command in the Command Palette. To link it to Claude Desktop, install mcp-proxy and point it to the local SSE endpoint.
Yes. The server defaults to port 6010 but automatically suggests the next available port on conflicts. You can manually adjust the port via the VSCode Command Palette using the Set MCP Server Port command or by setting mcpServer.port in settings.