Documentation
¶
Overview ¶
Package cli implements mctop's headless subcommands. Each returns a process exit code; main dispatches to them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
Call invokes one tool and prints its result. Arguments are given as key=value pairs (each value parsed as JSON, falling back to a string) or as a single --json object. A tool that reports an error exits non-zero.
func Login ¶
Login runs the OAuth flow for an http(s) MCP server and caches the token so later commands authenticate automatically.
func TUI ¶
TUI connects to a target and opens the interactive browser. It is what a bare "mctop <target>" runs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.