vscode-mcp-server

vscode-mcp-server

66

The VS Code MCP Server is a Visual Studio Code extension that functions as a Model Context Protocol server, allowing AI clients to interact with a VS Code workspace. It provides functionalities like file management and diagnostics, all performed via the standardized MCP protocol.

VS Code MCP Server

A Visual Studio Code extension available on the Marketplace that allows Claude and other MCP clients to code directly in VS Code. It provides a simpler alternative to tools like Serena by using VS Code's built-in capabilities, enabling AI models and clients to interact with the VS Code workspace through the MCP protocol.

Features

  • List files and directories in the VS Code workspace
  • Read file contents with encoding support
  • Search for symbols and get symbol definitions
  • Create files and replace lines in files
  • Check diagnostics for errors and warnings
  • Execute shell commands in the integrated terminal
  • Toggle the server via a status bar item

Installation

Install the extension from the Marketplace or clone the repository and build using npm.

Caveats

Supports only one workspace and operates locally to ensure security. Contributions are welcome.