docs: Add missing mcp list-tools command to CLI reference#3729
docs: Add missing mcp list-tools command to CLI reference#3729
mcp list-tools command to CLI reference#3729Conversation
Add documentation for the `gh aw mcp list-tools` subcommand which was previously undocumented. The command lists available tools for a specific MCP server, optionally within a specific workflow context. Fixes the documentation inconsistency where the command existed in the CLI but was not listed in the reference documentation. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
mcp list-tools command to CLI reference
There was a problem hiding this comment.
Pull Request Overview
This PR adds missing documentation for the gh aw mcp list-tools subcommand to the CLI reference guide. The command exists in the codebase and is already referenced in other documentation guides (web-search.md, mcps.md, common-issues.md) but was absent from the main CLI reference.
Key changes:
- Added two command usage examples for
mcp list-toolsin the CLI reference documentation - Positioned the new documentation between existing
mcp listandmcp inspectcommands for logical grouping
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| gh aw mcp list # List all MCP servers | ||
| gh aw mcp list workflow-name # List servers for specific workflow | ||
| gh aw mcp list-tools <mcp-server> # List tools for specific MCP server | ||
| gh aw mcp list-tools <mcp-server> workflow # List tools in specific workflow |
There was a problem hiding this comment.
The parameter format is inconsistent with the actual command implementation. According to the source code (mcp_list_tools.go line 231), the command signature is list-tools <mcp_server> [workflow-file], where the second parameter is [workflow-file] (a specific workflow filename), not just workflow. The documentation should use a more descriptive parameter name like <workflow-name> or <workflow-file> to match both the implementation and existing documentation examples in mcps.md (line 334: gh aw mcp list-tools notion my-workflow) and web-search.md (line 66: gh aw mcp list-tools tavily my-workflow --verbose).
| gh aw mcp list-tools <mcp-server> workflow # List tools in specific workflow | |
| gh aw mcp list-tools <mcp-server> <workflow-file> # List tools in specific workflow file |
The
gh aw mcp list-toolssubcommand exists in the CLI but was undocumented in the reference guide, despite being used in other documentation guides.Changes
mcp list-toolscommand documentation todocs/src/content/docs/setup/cli.mdlistandinspectcommands for logical command flowDocumentation Added
The command connects to an MCP server and displays available tools with their descriptions and allowance status, consistent with examples already present in web-search.md, mcps.md, and common-issues.md guides.
Original prompt
gh aw mcp list-toolssubcommand #3710💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.