VSCode MCP Server logo

VSCode MCP Server

by Block, Inc.

The VSCode MCP Server enables AI agents and assistants to interact with VSCode through the Model Context Protocol. It includes a server and a VSCode extension.

View on GitHub

Last updated: N/A

What is VSCode MCP Server?

The VSCode MCP Server is a component that allows AI agents like Goose or Claude to interact with VSCode. It consists of a server implementation and a VSCode extension that communicate using the Model Context Protocol.

How to use VSCode MCP Server?

To use the VSCode MCP Server, first install the server using npx vscode-mcp-server install. Then, install the VSCode extension from the marketplace. Configure your AI agent (e.g., Goose or Claude) to connect to the server using the provided configuration details.

Key features of VSCode MCP Server

  • Enables AI agent interaction with VSCode

  • Provides tools for file manipulation and project management

  • Supports user approval for changes

  • Offers a standardized protocol for communication

  • Includes a VS Code extension for seamless integration

Use cases of VSCode MCP Server

  • Automating code modifications with AI assistance

  • Using AI agents to open and navigate files within a project

  • Allowing AI to set up the working directory in VS Code

  • Integrating AI-powered code analysis and refactoring tools

  • Enabling AI-driven project management within VSCode

FAQ from VSCode MCP Server

What is the Model Context Protocol (MCP)?

MCP is a protocol that enables communication between AI models and development environments like VSCode.

How do I install the MCP Server?

Use the command npx vscode-mcp-server install in your terminal.

Where can I find the VSCode extension?

The extension is available on the VSCode Marketplace: MCP Extension

What AI agents are compatible with VSCode MCP?

The documentation specifically mentions Goose and Claude, but other agents that support the Model Context Protocol should also be compatible.

Where can I find the license information?

The project is licensed under the Apache License 2.0. See the LICENSE file in the repository for details.