--- name: cli-mcp description: Inspect the MCP server status, list registered tools and scopes, run tool invocations, and manage MCP audit logs from the CLI. --- ## Overview Inspect the MCP server status, list registered tools and scopes, run tool invocations, and manage MCP audit logs from the CLI. ## Quick install ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `mcp` **Example:** ```bash omniroute mcp ``` ### `mcp status` Show MCP server status **Flags:** - `--json` **Example:** ```bash omniroute mcp status ``` ### `mcp restart` Restart the MCP server **Example:** ```bash omniroute mcp restart ``` ### `mcp call [argsJson]` **Flags:** - `--args ` - `--args-file ` - `--stream` - `--scope ` **Example:** ```bash omniroute mcp call [argsJson] ``` ### `mcp scopes` **Flags:** - `--tool ` **Example:** ```bash omniroute mcp scopes ``` ### `mcp tools` **Example:** ```bash omniroute mcp tools ``` ### `mcp list` **Flags:** - `--scope ` **Example:** ```bash omniroute mcp list ``` ### `mcp info ` **Example:** ```bash omniroute mcp info ``` ### `mcp schema ` **Flags:** - `--io ` **Example:** ```bash omniroute mcp schema ``` ### `mcp audit` **Example:** ```bash omniroute mcp audit ``` ### `mcp tail` **Flags:** - `--follow` - `--limit ` **Example:** ```bash omniroute mcp tail ``` ### `mcp stats` **Flags:** - `--period

` **Example:** ```bash omniroute mcp stats ```