Documentation
¶
Overview ¶
Package cmd contains all CLI commands and their implementation. It uses the Cobra library for command-line interface construction.
Command Structure:
- root: Base command with global flags
- mcp: Run MCP server for agent integration
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MCPCmd = &cobra.Command{
Use: "mcp",
Short: "Run MCP server for agent integration",
Long: `Runs an MCP (Model Context Protocol) server that exposes GitHub Actions utilities as tools.
The server communicates over stdin/stdout and provides this tool:
- get_action_parameters: Fetch and parse GitHub Action action.yml files
This allows AI agents to programmatically retrieve information about GitHub Actions,
including their inputs, outputs, and configuration.
Example MCP client configuration:
{
"mcpServers": {
"github-actions-utils": {
"command": "github-actions-utils-cli",
"args": ["mcp"]
}
}
}`,
RunE: runMCP,
}
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.