github / github/app

Feature Request: Support .vscode/mcp.json for MCP server discovery

オープン
#1,399 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Requests and ideas
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

### Feature summary

VS Code's Copilot extension supports .vscode/mcp.json as a project-level configuration file that defines MCP (Model Context Protocol) servers. This allows teams to check in a shared set of MCP servers that all contributors automatically pick up.

### What problem are you trying to solve?

Got it. Here's a feature request you can post publicly:

---

## Feature Request: Support `.vscode/mcp.json` for MCP server discovery

### Problem

VS Code's Copilot extension supports `.vscode/mcp.json` as a project-level configuration file that defines MCP (Model Context Protocol) servers. This allows teams to check in a shared set of MCP servers that all contributors automatically pick up.

However, the **Copilot CLI app** (GitHub's standalone desktop agent) does not recognize `.vscode/mcp.json`. This means teams that have already configured their MCP servers for VS Code must separately configure them again using the app's extension system (`.github/extensions/`), leading to duplicated configuration and maintenance burden.

---

### Proposed solution

### Proposed Solution

The Copilot CLI app should discover and load MCP servers defined in `.vscode/mcp.json` at the repository root, using the same schema that VS Code supports. This includes:

- **HTTP-type servers** (`"type": "http"` with a `"url"` and optional `"headers"`)
- **Stdio-type servers** (`"type": "stdio"` with `"command"`, `"args"`, and optional `"cwd"`)
- **Variable substitution** (e.g., `${userHome}`, `${workspaceFolder}`)

### Benefits

1. **Single source of truth** — one config file works across VS Code and the Copilot CLI app
2. **Zero onboarding friction** — new team members get MCP servers automatically without extra setup
3. **Ecosystem consistency** — aligns with the broader MCP ecosystem's convention for project-level config

### Alternatives Considered

- `.github/extensions/` — requires a completely different format (executable scripts), doesn't support HTTP-type servers declaratively, and isn't portable to VS Code
- Manual per-user setup — doesn't scale for teams

### Workflow impact

_No response_

### Installation context

_No response_

### Additional context

### Additional Context

The `.vscode/mcp.json` format is already a de facto standard for project-scoped MCP server configuration. Supporting it in all GitHub Copilot surfaces would reduce fragmentation and improve the developer experience for teams using multiple Copilot interfaces.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reviewing the .vscode/mcp.json schema and the app's existing .github/extensions/ configuration path; compare how HTTP and stdio servers, headers, cwd, and variable substitution are represented. Done means a repository-root .vscode/mcp.json is discovered and both server types work without duplicate setup.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github
領域
desktop, developer-experience
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。