diff --git a/pkg/cli/mcp_list_tools.go b/pkg/cli/mcp_list_tools.go index efd093a09b7..b669c05698e 100644 --- a/pkg/cli/mcp_list_tools.go +++ b/pkg/cli/mcp_list_tools.go @@ -183,7 +183,7 @@ The workflow-id-or-file can be: - A file path (e.g., "weekly-research.md" or ".github/workflows/weekly-research.md") Examples: - gh aw mcp list-tools --server github # Find workflows with 'github' MCP server + gh aw mcp list-tools --server github # Search for workflows containing the 'github' MCP server gh aw mcp list-tools weekly-research --server github # List tools for 'github' server in weekly-research.md gh aw mcp list-tools issue-triage --server safe-outputs # List tools for 'safe-outputs' server in issue-triage.md gh aw mcp list-tools test-workflow --server playwright -v # Verbose output with tool descriptions diff --git a/pkg/cli/mcp_server_command.go b/pkg/cli/mcp_server_command.go index eb0a6a54800..1e6bc113c59 100644 --- a/pkg/cli/mcp_server_command.go +++ b/pkg/cli/mcp_server_command.go @@ -31,8 +31,8 @@ secrets are not shared with the MCP server process itself. The server provides the following tools: - status - Show status of agentic workflow files - compile - Compile Markdown workflows to GitHub Actions YAML - - logs - Download and analyze workflow logs (requires write+ access) - - audit - Investigate a workflow run, job, or step and generate a report (requires write+ access) + - logs - Download and analyze workflow logs (requires write access or higher) + - audit - Investigate a workflow run, job, or step and generate a report (requires write access or higher) - checks - Classify CI check state for a pull request - mcp-inspect - Inspect MCP servers in workflows and list available tools - add - Add workflows from remote repositories to .github/workflows @@ -43,7 +43,7 @@ Access Control: The GITHUB_ACTOR environment variable specifies the GitHub username for role-based access control. The actor's repository role (admin, maintain, write, etc.) determines which tools are available. Tools requiring elevated permissions (logs, audit) are always - mounted but will return permission denied errors if the actor lacks write+ access. + mounted but will return permission denied errors if the actor lacks write access or higher. Use the --validate-actor flag to enforce actor validation. When enabled, logs and audit tools will return permission denied errors if GITHUB_ACTOR is not set. When disabled diff --git a/pkg/cli/pr_command.go b/pkg/cli/pr_command.go index 2ef4fa2446d..80f7d2697cd 100644 --- a/pkg/cli/pr_command.go +++ b/pkg/cli/pr_command.go @@ -47,7 +47,7 @@ to another, including the code changes, title, and body. Useful for migrating work from trial repositories to production repositories. Available subcommands: - • transfer - Transfer a pull request to another repository + - transfer - Transfer a pull request to another repository Examples: gh aw pr transfer https://github.com/trial/repo/pull/234