Support a single unified mcp.json for both VS Code and Copilot CLI for maintainability purpose
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Description
Currently, VS Code and GitHub Copilot CLI use two different MCP configuration schemas:
- VS Code (
.vscode/mcp.jsonor user-levelmcp.json): uses a top-levelserverskey, andtypeis optional. - Copilot CLI (
~/.copilot/mcp-config.json,.mcp.json,.github/mcp.json): uses a top-levelmcpServerskey, andtypeis required for each server entry.
This forces users who work with both VS Code and Copilot CLI to maintain two near-duplicate JSON files and manually keep them in sync whenever a server is added, removed, or updated — which is error-prone and adds unnecessary maintenance overhead.
Feature Request
Please support a single, unified mcp.json file/schema that can be used by both VS Code and Copilot CLI without conversion. For example:
- Accept the
serverskey as an alias formcpServers(or vice versa), and - Make the
typefield optional/inferable (e.g. default tostdio/localwhencommandis present, orhttpwhenurlis present) so existing VS Code configs work as-is.
This would let a single mcp.json (whether at the user/global level or per-repository) be shared across both tools, eliminating duplicate configuration and reducing drift between environments.
Related issues
- #3835 (Incompatible mcp.json schema with VSCode)
- #146 (Respect VS Code User Settings for Copilot CLI Configuration)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
.vscode/mcp.json、ユーザーレベルの mcp.json、~/.copilot/mcp-config.json、.mcp.json、.github/mcp.json におけるスキーマと場所を比較します。まず各設定がどのように検出され、検証されるかを追跡します。完了条件は、要求されたキーエイリアスと型の処理を含め、手動変換なしで同じ mcp.json が VS Code と Copilot CLI の両方で機能することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- vscode
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100