Skip to content

MCP config for copilot-cli#38333

Merged
praveenkuttappan merged 1 commit into
Azure:mainfrom
praveenkuttappan:mcp_config
Apr 28, 2026
Merged

MCP config for copilot-cli#38333
praveenkuttappan merged 1 commit into
Azure:mainfrom
praveenkuttappan:mcp_config

Conversation

@praveenkuttappan

Copy link
Copy Markdown
Member

Adds .mcp.json to support MCP servers from copilot-cli

@praveenkuttappan praveenkuttappan self-assigned this Apr 28, 2026
Copilot AI review requested due to automatic review settings April 28, 2026 21:23
@praveenkuttappan praveenkuttappan requested review from a team, jeremymeng and xirzec as code owners April 28, 2026 21:23
@weshaggard

Copy link
Copy Markdown
Member

does this have to be in the root of the repo?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.json with an mcpServers map for copilot-cli.
  • Configures azure-sdk-mcp to run eng/common/mcp/azure-sdk-mcp.ps1 -Run over stdio.
  • Adds a github-agentic-workflows server entry that runs gh aw mcp-server.

Comment thread .mcp.json
@praveenkuttappan

Copy link
Copy Markdown
Member Author

does this have to be in the root of the repo?

GitHub mcp server migration creates it in repo root. But it could be in .github/ too.

https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference#migrating-from-vscodemcpjson

@weshaggard

Copy link
Copy Markdown
Member

I would love to keep it out of the root if possible

@praveenkuttappan

Copy link
Copy Markdown
Member Author

I would love to keep it out of the root if possible

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.

@praveenkuttappan praveenkuttappan merged commit be81ec5 into Azure:main Apr 28, 2026
16 checks passed
@ronniegeraghty ronniegeraghty added the AzSDK Tools Agent Issue related to the AzSDK Tools Agent. label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AzSDK Tools Agent Issue related to the AzSDK Tools Agent.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants