Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Jira MCP Server
  • Aider MCP Server
  • Code Analysis MCP Server
  • MongoDB MCP Server for LLMs
  • Notion MCP Server
Back to MCP Servers
Code MCP Server

Code MCP Server

Public
block/vscode-mcp

Enables AI agents to interact seamlessly with VS Code via the Model Context Protocol, offering tools for file editing, project management, extension status checks, and integration with AI assistants like Goose and Claude.

typescript
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with Code MCP Server

MCP Server

Unlock the full potential of Code MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

VSCode MCP

This monorepo contains the VSCode MCP Server and its companion VSCode Extension, which together enable AI agents and assistants, like Goose or Claude, to interact with VSCode through the Model Context Protocol.

Project Structure

vscode-mcp/
├── server/    # MCP server implementation
└── extension/ # VS Code extension

Quick Start

  1. Install the MCP Server
npx vscode-mcp-server install
  1. Install the MCP Extension

MCP Extension

Configuration

Goose Desktop Setup

!Goose Settings

  • ID: code-mcp
  • Name: VS Code
  • Description: Allows interaction with VS Code through the Model Context Protocol
  • Command: npx vscode-mcp-server

Claude Desktop Setup

Add this to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json):

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

Available Tools

The Code MCP server provides the following tools for AI agents to interact with VS Code:

create_diff

Creates and shows a diff for modifying existing files:

  • Shows changes preview before applying
  • Requires user approval
  • Only works with existing files

open_file

Opens files in the VS Code editor:

  • Used for viewing new or modified files

open_project

Opens a project folder in VS Code:

  • Sets up working directory for AI agent

check_extension_status

Checks if extension is installed and responding

get_extension_port

Gets the port number for VS Code MCP Extension

list_available_projects

Shows projects from port registry file

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Copyright 2025 Block, Inc.

This product includes software developed at Block, Inc.

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Jira MCP Server
    Jira MCP Server

    Enables AI assistants to seamlessly interact with Jira via Model Context Protocol, offering project ...

    Added May 30, 2025
  • Aider MCP Server
    Aider MCP Server

    Enables seamless integration of AI assistants with advanced file editing, code extraction, git statu...

    Added May 30, 2025
  • Code Analysis MCP Server
    Code Analysis MCP Server

    Enables AI-driven natural language exploration and analysis of codebases via Model Context Protocol,...

    4 tools
    Added May 30, 2025
  • MongoDB MCP Server for LLMs
    MongoDB MCP Server for LLMs

    Enables LLMs to seamlessly interact with MongoDB databases via Model Context Protocol, offering sche...

    Added May 30, 2025
  • Notion MCP Server
    Notion MCP Server

    Enables AI models to seamlessly interact with Notion workspaces via the official SDK, offering compr...

    17 tools
    Added May 30, 2025