ReferenceCLI commands
CLI commands
ak mcp show
Show one discovered MCP server
ak mcp show
Show one discovered MCP server
Synopsis
What it does: Shows one MCP server with args and env key names. Env values are never displayed.
Who it's for: Scripts and reviewers inspecting a specific MCP server.
When to use it: Use before editing or linking MCP config.
Examples: ak mcp show memory ak mcp show memory --json
What changes on disk: Read-only.
Output modes: pretty default on TTY (colors, ASCII markers) plain auto when stdout piped or --no-interactive json --json (single-object envelope, NDJSON-safe)
Exit codes: 0 success 1 runtime error 2 invalid flags 3 user-cancel (SIGINT, prompt-cancel)
ak mcp show <name> [flags]Options
-h, --help help for show
--json Emit machine-readable JSON (implies --no-interactive)
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsOptions inherited from parent commands
--claude-home string Claude home override; defaults to AGENTKIT_CLAUDE_HOME or ~/.claude
--cwd string Project directory override; defaults to current working directorySEE ALSO
- ak mcp - Inspect local MCP server configuration