Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/instructions/dictation.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ test-unit
timeout
timeout-minutes
title-prefix
toolset
toolsets
tools
triggers
update-issue
Expand Down
18 changes: 9 additions & 9 deletions .github/instructions/github-mcp-server.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ The GitHub MCP server provides AI agents with programmatic access to GitHub's AP
tools:
github:
mode: "local"
toolset: [default] # or [repos, issues, pull_requests]
toolsets: [default] # or [repos, issues, pull_requests]
```

**Remote Mode (Hosted)**:
```yaml
tools:
github:
mode: "remote"
toolset: [default] # or [repos, issues, pull_requests]
toolsets: [default] # or [repos, issues, pull_requests]
```

### Read-Only Mode
Expand All @@ -51,7 +51,7 @@ tools:
github:
mode: "remote"
read-only: true
toolset: [repos, issues]
toolsets: [repos, issues]
```

### Custom Authentication
Expand All @@ -63,7 +63,7 @@ tools:
github:
mode: "remote"
github-token: "${{ secrets.CUSTOM_GITHUB_PAT }}"
toolset: [repos, issues]
toolsets: [repos, issues]
```

## Available Toolsets
Expand Down Expand Up @@ -118,11 +118,11 @@ The local mode uses environment variables:

Ensure your GitHub token has appropriate permissions for the toolsets you're enabling:

- `repos` toolset: Requires repository read/write permissions
- `issues` toolset: Requires issues read/write permissions
- `pull_requests` toolset: Requires pull requests read/write permissions
- `actions` toolset: Requires actions read/write permissions
- `discussions` toolset: Requires discussions read/write permissions
- `repos` toolsets: Requires repository read/write permissions
- `issues` toolsets: Requires issues read/write permissions
- `pull_requests` toolsets: Requires pull requests read/write permissions
- `actions` toolsets: Requires actions read/write permissions
- `discussions` toolsets: Requires discussions read/write permissions

### Remote vs Local Mode

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/artifacts-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tools:
edit:
bash:
github:
toolset: [actions, repos]
toolsets: [actions, repos]
safe-outputs:
create-discussion:
category: "artifacts"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-changes-analyzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ engine:
max-turns: 100
tools:
github:
toolset: [default]
toolsets: [default]
bash:
- "*"
edit:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-firewall-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ safe-outputs:

tools:
github:
toolset:
toolsets:
- default
- actions
allowed:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-perf-improver.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tools:
web-fetch:
web-search:
github:
toolset: [all]
toolsets: [all]
# Configure bash build commands here, or in .github/workflows/agentics/daily-dependency-updates.config.md
#
# By default this workflow allows all bash commands within the confine of Github Actions VM
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-test-improver.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tools:
# By default this workflow allows all bash commands within the confine of Github Actions VM
bash: [ ":*" ]
github:
toolset: [all]
toolsets: [all]

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-hawk.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ engine: copilot
tools:
agentic-workflows:
github:
toolset: [pull_requests, actions, repos]
toolsets: [pull_requests, actions, repos]
safe-outputs:
add-comment:
max: 1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/github-mcp-tools-report.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions .github/workflows/github-mcp-tools-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ engine: claude
tools:
github:
mode: "remote"
toolset: [all]
toolsets: [all]
cache-memory: true
edit:
safe-outputs:
Expand Down Expand Up @@ -39,7 +39,7 @@ Generate a comprehensive report of all tools/functions available in the GitHub M

- **Repository**: ${{ github.repository }}
- **Report Date**: Today's date
- **MCP Server**: GitHub MCP Remote (mode: remote, toolset: all)
- **MCP Server**: GitHub MCP Remote (mode: remote, toolsets: all)

## Report Generation Process

Expand Down Expand Up @@ -141,7 +141,7 @@ Report any inconsistencies discovered during the systematic exploration:

### New Tools Added ✨

List any tools that were added since the last report, organized by toolset:
List any tools that were added since the last report, organized by toolsets:

| Toolset | Tool Name | Purpose |
|---------|-----------|---------|
Expand Down Expand Up @@ -169,7 +169,7 @@ List any tools that changed their toolset categorization:

Organize tools into their respective toolset categories. For each toolset that has tools, create a section with a table listing all tools.

**Example format for each toolset:**
**Example format for each toolsets:**

### [Toolset Name] Toolset
Brief description of the toolset.
Expand Down Expand Up @@ -202,7 +202,7 @@ When configuring the GitHub MCP server in agentic workflows, you can enable spec
tools:
github:
mode: "remote" # or "local"
toolset: [all] # or specific toolsets like [repos, issues, pull_requests]
toolsets: [all] # or specific toolsets like [repos, issues, pull_requests]
```

**Available toolset options**:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mergefest.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tools:
- "grep"
edit:
github:
toolset: [pull_requests, repos]
toolsets: [pull_requests, repos]
safe-outputs:
push-to-pull-request-branch:
timeout_minutes: 10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
engine: copilot
tools:
github:
toolset: [default, discussions]
toolsets: [default, discussions]
safe-outputs:
create-issue:
title-prefix: "[task] "
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schema-consistency-checker.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tools:
github:
mode: remote
read-only: false
toolset: [default, discussions]
toolsets: [default, discussions]
cache-memory:
key: schema-consistency-cache-${{ github.workflow }}
safe-outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-fix-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
engine: claude
tools:
github:
toolset: [context, repos, code_security, pull_requests]
toolsets: [context, repos, code_security, pull_requests]
allowed:
- list_code_scanning_alerts
- get_code_scanning_alert
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-detector.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ imports:
tools:
cache-memory: true
github:
toolset: [default, actions]
toolsets: [default, actions]
strict: false
---
# Smoke Detector - Smoke Test Failure Investigator
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-opencode.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ imports:
- shared/opencode.md
tools:
github:
toolset: [pull_requests]
toolsets: [pull_requests]
allowed:
- list_pull_requests
- get_pull_request
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/reference/frontmatter-full.md
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ tools:
# Array of GitHub MCP server toolset names to enable specific groups of GitHub API
# functionalities
# (optional)
toolset: []
toolsets: []
# Array of Toolset name

# Bash shell command execution tool for running command-line programs and scripts
Expand Down
10 changes: 5 additions & 5 deletions pkg/parser/schemas/main_workflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@
"$ref": "#/$defs/github_token",
"description": "Optional custom GitHub token (e.g., '${{ secrets.CUSTOM_PAT }}'). For 'remote' type, defaults to GH_AW_GITHUB_TOKEN if not specified."
},
"toolset": {
"toolsets": {
"type": "array",
"description": "Array of GitHub MCP server toolset names to enable specific groups of GitHub API functionalities",
"items": {
Expand Down Expand Up @@ -1847,7 +1847,7 @@
"additionalProperties": false,
"examples": [
{
"toolset": ["pull_requests", "actions", "repos"]
"toolsets": ["pull_requests", "actions", "repos"]
},
{
"allowed": [
Expand All @@ -1863,15 +1863,15 @@
"read-only": true
},
{
"toolset": ["pull_requests", "repos"]
"toolsets": ["pull_requests", "repos"]
}
]
}
],
"examples": [
null,
{
"toolset": ["pull_requests", "actions", "repos"]
"toolsets": ["pull_requests", "actions", "repos"]
},
{
"allowed": [
Expand All @@ -1882,7 +1882,7 @@
},
{
"read-only": true,
"toolset": ["repos", "issues"]
"toolsets": ["repos", "issues"]
}
]
},
Expand Down
18 changes: 9 additions & 9 deletions pkg/workflow/github_toolset_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on: push
engine: claude
tools:
github:
toolset: [repos, issues, pull_requests]
toolsets: [repos, issues, pull_requests]
---

# Test Workflow
Expand All @@ -41,7 +41,7 @@ on: push
engine: copilot
tools:
github:
toolset: [repos, issues, actions]
toolsets: [repos, issues, actions]
---

# Test Workflow
Expand All @@ -61,7 +61,7 @@ on: push
engine: codex
tools:
github:
toolset: [all]
toolsets: [all]
---

# Test Workflow
Expand Down Expand Up @@ -99,7 +99,7 @@ on: push
engine: claude
tools:
github:
toolset: [repos, issues]
toolsets: [repos, issues]
read-only: true
---

Expand Down Expand Up @@ -168,7 +168,7 @@ engine: claude
tools:
github:
mode: remote
toolset: [repos, issues]
toolsets: [repos, issues]
---

# Test Workflow
Expand Down Expand Up @@ -228,7 +228,7 @@ engine: claude
tools:
github:
mode: remote
toolset: [repos, issues, pull_requests]
toolsets: [repos, issues, pull_requests]
---

# Test Workflow
Expand All @@ -246,7 +246,7 @@ engine: copilot
tools:
github:
mode: remote
toolset: [actions, discussions]
toolsets: [actions, discussions]
---

# Test Workflow
Expand All @@ -264,7 +264,7 @@ engine: claude
tools:
github:
mode: remote
toolset: [all]
toolsets: [all]
---

# Test Workflow
Expand Down Expand Up @@ -299,7 +299,7 @@ engine: copilot
tools:
github:
mode: remote
toolset: [repos, issues]
toolsets: [repos, issues]
read-only: true
---

Expand Down
Loading
Loading