The VS Code MCP Server enables AI assistants to interact directly with VS Code through a bidirectional communication channel. It provides tools for file diffing with user approval, opening files and projects, executing shell commands in VS Code's terminal, and retrieving information about active editor tabs. The implementation consists of two main components: a server that handles MCP protocol communication and a VS Code extension that provides native integration features. This allows AI agents to perform code modifications, navigate projects, and execute commands without leaving the conversation interface, making it particularly valuable for collaborative coding sessions and AI-assisted development workflows.
Creates and shows a diff for modifying existing files. This action shows changes preview before applying and requires user approval. It only works with existing files.
Opens files in the VS Code editor. This action is used for viewing new or modified files.
Opens a project folder in VS Code. This action sets up the working directory for the AI agent.
Checks if the extension is installed and responding.
Gets the port number for the VS Code MCP Extension.
Shows projects from the port registry file.
No reviews yet. Be the first to review!
Sign in to join the conversation