Connects MCP clients to a VS Code workspace for file access, symbol lookup, diagnostics, edits, and terminal commands.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag ā we're steadily working through the catalog.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Vscode MCP Server.
The juehang/vscode-mcp-server MCP server runs as a Visual Studio Code extension and presents workspace operations through the Model Context Protocol. It gives an MCP client access to the currently opened workspace, including directory listings, file contents, symbol information, language-server diagnostics, and file modifications.
The extension is intended for coding agents that need VS Code-specific context. Symbol search, document structure, hover or definition information, and diagnostics can help an agent navigate an existing codebase without reading every file. File operations cover creating, reading, copying, moving, renaming, and making validated line replacements. The extension also exposes shell command execution through VS Code's integrated terminal.
When enabled, the extension starts an MCP server on a configurable local port. Requests arrive over HTTP using the streamable HTTP API; the README specifically distinguishes this from the SSE API. A status bar item shows whether the server is active and allows it to be toggled on or off.
The MCP tools delegate workspace operations to VS Code APIs. Move and rename operations use WorkspaceEdit support, which provides refactoring-oriented handling for those changes. File reads support an encoding option and a maximum character limit. Line replacement requires the client to provide the expected original code, allowing the server to validate that the targeted content has not changed unexpectedly.
Install the extension from the Visual Studio Code Marketplace, or clone the repository and build it with npm install followed by npm run compile. After installation, enable the server from VS Code using its status bar control.
Claude Desktop can connect through an MCP configuration that invokes mcp-remote@next against the local /mcp endpoint, such as http://localhost:3000/mcp. The example configuration uses the npx command and the mcp-remote@next package. The server port is configurable, so the client URL must match the port used by the extension.
The juehang/vscode-mcp-server MCP server provides tools for:
The extension operates against a VS Code workspace, so it is a fit for clients that need an active editor environment rather than a standalone remote repository interface. The README documents Claude Desktop configuration, but does not establish compatibility with every MCP client.
Shell command execution creates a security risk. Use the juehang/vscode-mcp-server MCP server only with an MCP client you trust, and avoid exposing its port to untrusted networks. Authentication is not implemented because the MCP authentication specification was still in flux in the project documentation. Keep the endpoint local unless the surrounding network and client trust model are understood.
The documented integration uses a local HTTP endpoint and a separate MCP remote bridge for Claude Desktop. That bridge is part of the client configuration, not the VS Code extension itself.
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/juehang-vscode-mcp-server)<a href="https://allmcps.com/mcp/juehang-vscode-mcp-server"><img src="https://allmcps.com/api/badge/juehang-vscode-mcp-server?style=directory" alt="Vscode MCP Server on AllMCPs" /></a>