Mcp
agh mcp authorize
Authorize a remote MCP server through the daemon
- Audience
- Operators running durable agent work
- Focus
- Mcp guidance shaped for scanability, day-two clarity, and operator context.
agh mcp authorize
Authorize a remote MCP server through the daemon
agh mcp authorize <server> [flags]Options
-h, --help help for authorize
--manual Paste an authorization code or redirect URL
--scope string MCP server scope: global or workspace (default "global")
--timeout duration Authorization timeout (default 5m0s)
--workspace string Workspace ID for workspace scopeOptions 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 authorize <server> -o json