Skip to content

Commit 35c592b

Browse files
committed
feat: add MCP configuration for GitHub Copilot and update workflow to disable built-in MCPs and use the .copilot/mcp-config.json instead
1 parent 593425b commit 35c592b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"mcpServers": {
33
"github": {
4-
"type": "http",
54
"url": "https://api.githubcopilot.com/mcp/",
5+
"tools": ["*"],
66
"headers": {
77
"Authorization": "Bearer ${GITHUB_MCP_TOKEN}"
88
}

.github/workflows/copilot.generate-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ jobs:
4646
echo ""
4747
4848
copilot -p "$PROMPT" \
49-
--mcp-config .github/mcp.json \
49+
--disable-builtin-mcps \
5050
--allow-all-tools

0 commit comments

Comments
 (0)