Skip to main content
Glama

Code MCP Server

by block

VSCode MCP

このモノレポには、VSCode MCP サーバーとその付属 VSCode 拡張機能が含まれており、これらを組み合わせることで、Goose や Claude などの AI エージェントやアシスタントがモデル コンテキスト プロトコルを介して VSCode と対話できるようになります。

プロジェクト構造

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

クイックスタート

  1. MCPサーバーをインストールする
npx vscode-mcp-server install
  1. MCP拡張機能をインストールする

MCP拡張

構成

Gooseデスクトップセットアップ

グース設定

  • ID: code-mcp
  • 名前: VS Code
  • 説明: Allows interaction with VS Code through the Model Context Protocol
  • コマンド: npx vscode-mcp-server

クロードデスクトップセットアップ

これを Claude Desktop 構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.json ) に追加します。

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

利用可能なツール

Code MCP サーバーは、AI エージェントが VS Code と対話するための次のツールを提供します。

create_diff

既存のファイルの変更に対する差分を作成して表示します。

  • 適用前に変更のプレビューを表示します
  • ユーザーの承認が必要
  • 既存のファイルでのみ動作します

open_file

VS Code エディターでファイルを開きます:

  • 新しいファイルや変更されたファイルを表示するために使用されます

open_project

VS Code でプロジェクト フォルダーを開きます。

  • AIエージェントの作業ディレクトリを設定する

check_extension_status

拡張機能がインストールされ、応答しているかどうかを確認します

get_extension_port

VS Code MCP拡張機能のポート番号を取得します

list_available_projects

ポートレジストリファイルからプロジェクトを表示します

ライセンス

このプロジェクトは、Apache License 2.0 に基づいてライセンスされています。詳細については、 LICENSEファイルを参照してください。

著作権 2025 Block, Inc.

この製品には、Block, Inc.で開発されたソフトウェアが含まれています。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Goose や Claude などの AI エージェントやアシスタントがモデル コンテキスト プロトコルを通じて VS Code と対話できるようにします。

  1. プロジェクト構造
    1. クイックスタート
      1. 構成
        1. Gooseデスクトップセットアップ
        2. クロードデスクトップセットアップ
      2. 利用可能なツール
        1. create_diff
        2. open_file
        3. open_project
        4. check_extension_status
        5. get_extension_port
        6. list_available_projects
      3. ライセンス

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          Facilitates integration with Claude Desktop to run AI agents and execute purchased actions without code, leveraging the Model Context Protocol framework.
          Last updated -
          1
          TypeScript
          GPL 3.0
        • -
          security
          F
          license
          -
          quality
          Connects Claude AI to QGIS through the Model Context Protocol, allowing Claude to directly interact with and control QGIS for tasks like project creation, layer manipulation, and code execution.
          Last updated -
          286
          Python
          • Apple
        • -
          security
          F
          license
          -
          quality
          Allows AI assistants like Claude to directly interact with and control DaVinci Resolve through the Model Context Protocol, providing capabilities for project management, timeline manipulation, media management, and Fusion integration.
          Last updated -
          5
          Python
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          Connect your Sanity content to AI agents. Create, update, and explore structured content using Claude, Cursor, and VS Code via the Model Context Protocol. Transform content operations from complex queries to simple conversations—giving your team superpowers without sacrificing structure.
          Last updated -
          20
          368
          54
          TypeScript
          MIT License
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/block/vscode-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server