fix: Enable labels toolset in GitHub MCP server

- Add github tool configuration with 'default' and 'labels' toolsets
- The labels toolset was not enabled by default, causing the agent
  to fall back to bash commands like 'gh label list'
- Now list_label MCP tool will be available to the agent
This commit is contained in:
Steven Nguyen
2025-11-06 15:43:31 -08:00
parent 94db75fd6c
commit 84ebbc6993
2 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -5,7 +5,7 @@
#
# Source: githubnext/agentics/workflows/issue-triage.md@0837fb7b24c3b84ee77fb7c8cfa8735c48be347a
#
# Effective stop-time: 2025-12-06 23:05:45
# Effective stop-time: 2025-12-06 23:42:23
#
# Job Dependency Graph:
# ```mermaid
@@ -2081,7 +2081,7 @@ jobs:
"-e",
"GITHUB_READ_ONLY=1",
"-e",
"GITHUB_TOOLSETS=default",
"GITHUB_TOOLSETS=default,labels",
"ghcr.io/github/github-mcp-server:v0.20.1"
],
"tools": ["*"],
@@ -4938,7 +4938,7 @@ jobs:
id: check_stop_time
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env:
GH_AW_STOP_TIME: 2025-12-06 23:05:45
GH_AW_STOP_TIME: 2025-12-06 23:42:23
GH_AW_WORKFLOW_NAME: "Agentic Triage"
with:
script: |
+4
View File
@@ -31,6 +31,10 @@ safe-outputs:
tools:
web-fetch:
web-search:
github:
toolsets:
- default
- labels
timeout_minutes: 10
source: githubnext/agentics/workflows/issue-triage.md@0837fb7b24c3b84ee77fb7c8cfa8735c48be347a