MCP config for copilot-cli#38333
Merged
Merged
Conversation
jeremymeng
approved these changes
Apr 28, 2026
Member
|
does this have to be in the root of the repo? |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a repository-root .mcp.json configuration so copilot-cli can discover and launch MCP servers (Azure SDK MCP via PowerShell and GitHub Agentic Workflows via gh aw).
Changes:
- Introduces
.mcp.jsonwith anmcpServersmap forcopilot-cli. - Configures
azure-sdk-mcpto runeng/common/mcp/azure-sdk-mcp.ps1 -Runover stdio. - Adds a
github-agentic-workflowsserver entry that runsgh aw mcp-server.
Member
Author
GitHub mcp server migration creates it in repo root. But it could be in .github/ too. |
Member
|
I would love to keep it out of the root if possible |
Member
Author
I tested it by moving it to .github/mcp.json but copilot is not loading. I would like to merge this for now and continue to check whether it's supported from github folder. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds .mcp.json to support MCP servers from copilot-cli