McpAuth
AGH RuntimeMcp
agh mcp auth login
Run OAuth login for a remote MCP server
- Audience
- Operators running durable agent work
- Focus
- Mcp guidance shaped for scanability, day-two clarity, and operator context.
agh mcp auth login
Run OAuth login for a remote MCP server
agh mcp auth login <server> [flags]Options
-h, --help help for login
--manual-code string Exchange an authorization code without starting the loopback listener
--redirect-url string OAuth redirect URL
--timeout duration Loopback login timeout (default 2m0s)Options inherited from parent commands
--json Emit JSON output
-o, --output string Output format: human, json, jsonl, or toon (default "human")Output Formats
Every AGH command supports -o, --output:
humanfor interactive terminal usejsonfor scripts and other machine-readable consumersjsonlfor wait or streaming commands that emit one JSON record per linetoonfor compact agent-readable summaries
Example:
agh mcp auth login <server> -o json