Skip to content

CLI Reference

FlagDescription
--cmd <bin>STDIO transport command
--args <a,b,...>Comma-separated args for --cmd
--transport <stdio|sse|http|streamable-http>Transport selection
--url <url>URL for HTTP/SSE transports
--header KEY=VALUERepeatable; adds an HTTP header
--timeout <duration>Per-operation timeout (e.g. 30s, 2m)
--debugEnable verbose debug logging
--jsonEmit machine-readable JSON output
--versionPrint version and exit
mcp-tui [global-flags] tool <list|describe|call> [args]
  • tool list — print every tool with its title and description.
  • tool describe <name> — print the tool’s full JSON Schema.
  • tool call <name> [key=value ...] — invoke the tool.
mcp-tui [global-flags] resource <list|read> [uri]
  • resource list — list all resources.
  • resource read <uri> — read and print a resource by URI.
mcp-tui [global-flags] prompt <list|get> [name] [args]
  • prompt list — list all prompts.
  • prompt get <name> [key=value ...] — render a prompt template.

See Exit codes.