Vscode Mcp

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

Visit Vscode Mcp

How to install and configure Vscode Mcp

  1. Install the server globally or locally using the command: 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.

What you can do with Vscode Mcp

  • Open project directories in Visual Studio Code dynamically when starting a new coding session with an AI agent. - Display interactive code diffs in the editor for existing files so human developers can inspect and approve modifications. - Open newly generated or existing source files inside the active editor window for immediate review during development. - Query active project listings and check the companion extension connection status from an autonomous agent session.

Key facts

  • https://github.com/block/vscode-mcp
  • Developer Tools & Code Intelligence
  • code-intelligence, editor, ide, vscode

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP Jupyter Complete — MCP Jupyter Complete is an MCP server that provides tools for manipulating Jupyter notebook files through position-based cell operations and…
  • MCP LSP Go — MCP LSP Go is an MCP server that connects AI assistants to the official Go Language Server Protocol implementation, gopls,…
  • MCP Manager — MCP Manager is an MCP server management tool that connects directly to your Claude Desktop environment, enabling users to discover,…
  • MCP Lab — MCP Lab is an MCP server development environment designed for building, testing, and debugging custom Model Context Protocol servers integrated…

What is VSCode MCP?

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.

What tools does VSCode MCP provide?

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.

Which MCP clients work with VSCode MCP?

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.

Is VSCode MCP open source?

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.

How do I install VSCode MCP?

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.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories