-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
I want to edit the default Github MCP Server configuration on Copilot Agent mode, to give it write access to the repo. The documentation describes how to do this in principle, but it's a bit unclear how to actually get it working. I've set up a COPILOT_MCP_GITHUB_PERSONAL_ACCESS_TOKEN
with the extra scope I want, and put it into the copilot environment. I've tried to use this from #439 (comment):
However that setup currently breaks (it demands a "type" attribute), and this doesn't seem to work either:
{
"mcpServers": {
"github-mcp-server": {
"type": "local",
"command": "",
"args": ["stdio"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "COPILOT_MCP_GITHUB_PERSONAL_ACCESS_TOKEN" },
"tools": ["*"]
}
}
}
I might be missing something obvious, but I can't seem to get this working. Any example configs would be appreciated!
Metadata
Metadata
Assignees
Labels
No labels