豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Disable MCP support in Copilot CLI#4420

Merged
DonJayamanne merged 1 commit intomainfrom
don/thin-possum
Mar 16, 2026
Merged

Disable MCP support in Copilot CLI#4420
DonJayamanne merged 1 commit intomainfrom
don/thin-possum

Conversation

@DonJayamanne
Copy link
Copy Markdown
Collaborator

@DonJayamanne DonJayamanne self-assigned this Mar 16, 2026
@DonJayamanne DonJayamanne marked this pull request as ready for review March 16, 2026 17:00
Copilot AI review requested due to automatic review settings March 16, 2026 17:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR changes the default behavior for Copilot CLI MCP support by disabling MCP server forwarding by default, aligning the runtime default with the contributed VS Code setting default.

Changes:

  • Set chat.cli.mcp.enabled default to false in the configuration registry (with migration from the old chat.advanced.cli.mcp.enabled key).
  • Set github.copilot.chat.cli.mcp.enabled default to false in package.json to match the code default.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/platform/configuration/common/configurationService.ts Changes the code-side default for chat.cli.mcp.enabled (and keeps migration from the previous advanced key).
package.json Updates the contributed setting default for github.copilot.chat.cli.mcp.enabled to stay consistent with the code default.

@DonJayamanne DonJayamanne enabled auto-merge March 16, 2026 17:04
@vs-code-engineering vs-code-engineering bot added this to the 1.112.0 milestone Mar 16, 2026
@DonJayamanne DonJayamanne added this pull request to the merge queue Mar 16, 2026
Merged via the queue into main with commit 4995bb8 Mar 16, 2026
23 checks passed
@DonJayamanne DonJayamanne deleted the don/thin-possum branch March 16, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants