Skip to content

Commit 46028cc

Browse files
Copilotpelikhan
andcommitted
Fix formatting and ensure all tests pass
Co-authored-by: pelikhan <[email protected]>
1 parent db04f53 commit 46028cc

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

CLAUDE.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,12 @@ make agent-finish
399399
./gh-aw compile
400400
./gh-aw list
401401

402-
# 5. Verify no unwanted files are included
402+
# 5. Test MCP command functionality (added in recent updates)
403+
./gh-aw mcp --help
404+
./gh-aw mcp list
405+
./gh-aw mcp inspect --help
406+
407+
# 6. Verify no unwanted files are included
403408
git status
404409
git diff --name-only
405410
```
@@ -482,6 +487,31 @@ The gh-aw tool provides:
482487
- **Browser automation**: Playwright integration for web testing and accessibility analysis
483488
- **Local execution**: Run workflows locally for testing
484489
- **Package management**: Install workflow packages from GitHub repositories
490+
- **MCP server management**: Discovery, listing, and inspection of Model Context Protocol servers
491+
492+
### MCP (Model Context Protocol) Management
493+
The gh-aw tool provides comprehensive MCP server management capabilities:
494+
495+
```bash
496+
# Quick discovery and listing of MCP servers
497+
gh aw mcp list # List all workflows with MCP servers
498+
gh aw mcp list workflow-name # List MCP servers in specific workflow
499+
gh aw mcp list --verbose # Show detailed server configuration
500+
501+
# Deep inspection and troubleshooting
502+
gh aw mcp inspect workflow-name # Connect to and inspect MCP servers
503+
gh aw mcp inspect --server name # Filter to specific server
504+
gh aw mcp inspect --tool name # Show detailed tool information
505+
gh aw mcp inspect --inspector # Launch web-based inspector
506+
```
507+
508+
**Key MCP Features:**
509+
- **Server Discovery**: Find all workflows containing MCP configurations
510+
- **Configuration Overview**: Table-based display of server details (name, type, commands, allowed tools)
511+
- **Connection Testing**: Verify MCP server connectivity and capabilities
512+
- **Tool Inspection**: Detailed analysis of available tools, resources, and roots
513+
- **Multi-Protocol Support**: stdio, Docker, and HTTP MCP servers
514+
- **Web Inspector Integration**: Launch official MCP inspector for advanced debugging
485515

486516
### AI Processing Configuration
487517
Workflows support different AI processors via frontmatter:

pkg/cli/mcp_list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func listWorkflowsWithMCPServers(workflowsDir string, verbose bool) error {
193193
for i, config := range mcpConfigs {
194194
serverNames[i] = config.Name
195195
}
196-
196+
197197
workflowData = append(workflowData, struct {
198198
name string
199199
serverCount int
@@ -224,7 +224,7 @@ func listWorkflowsWithMCPServers(workflowsDir string, verbose bool) error {
224224
if len(serverList) > 50 {
225225
serverList = serverList[:47] + "..."
226226
}
227-
227+
228228
rows = append(rows, []string{
229229
workflow.name,
230230
fmt.Sprintf("%d", workflow.serverCount),

0 commit comments

Comments
 (0)