VSCode MCP is an MCP server that connects external AI agents and assistants directly to Visual Studio Code through the Model Context Protocol. Developed by Block, Inc., the project consists of an MCP server and a companion Visual Studio Code extension. Software engineers, autonomous coding agents, and AI assistants such as Goose and Claude Desktop use this integration to inspect and manipulate codebases within an active editor session. The server enables AI systems to open files, launch project directories, and prepare structured file modifications. Rather than modifying files on disk without user awareness, the server includes dedicated tooling to display visual diffs within the editor interface, allowing developers to inspect proposed code changes and approve or reject them directly inside Visual Studio Code. Additionally, the server exposes status and discovery tools to monitor extension health, verify network communication ports, and enumerate active projects. By bridging language models with the developer's local development environment, VSCode MCP keeps the human programmer in the loop while automating routine editing and navigation workflows.
Category: Developer Tools & Code Intelligence
Tags: code-intelligence, editor, ide, vscode
bash npx vscode-mcp-server install 2. Install the companion MCP Extension in Visual Studio Code from the marketplace. 3. Configure your MCP client. For Claude Desktop, edit your claude_desktop_config.json: json { "mcpServers": { "vscode-mcp-server": { "command": "npx", "args": ["vscode-mcp-server"], "env": {} } } } 4. For Goose Desktop, add an extension with ID code-mcp, name VS Code, and command npx vscode-mcp-server.Part of MCP Servers
VSCode MCP is an open-source Model Context Protocol server and companion Visual Studio Code extension built by Block, Inc. It allows AI assistants like Claude Desktop and Goose to view, open, and propose changes to files within a live VS Code workspace.
The server provides tools such as create_diff to preview file modifications with user approval, open_file to display specific files, open_project to set up the working directory, check_extension_status to verify connectivity, get_extension_port, and list_available_projects.
VSCode MCP is officially configured to work with Claude Desktop and Goose Desktop. Any Model Context Protocol client capable of spawning local processes using standard input and output can connect to the server using the npx runner.
Yes, VSCode MCP is an open-source project published by Block, Inc. under the Apache License 2.0. The code repository contains both the Node-based MCP server and the extension for Visual Studio Code.
You can install the server by running npx vscode-mcp-server install in your terminal, installing the companion extension from the Visual Studio Marketplace, and adding the server definition to your MCP client configuration file.