Back to MCP Servers

Vscode

A MCP Server that allows AI such as Claude to read from the directory structure in a VS Code workspace, see problems picked up by linter(s) and the language server, read code files, and make edits.

coding-agentsai

Installation

npx -y vscode-mcp-server

Configuration

{
  "mcpServers": {
    "vscode-mcp-server": {
      "command": "npx",
      "args": ["-y", "vscode-mcp-server"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub