cli-mcp — Claude Code skill: what it does, how to install
Inspects MCP server status, triggers tools, manages scopes, and controls transports through the omniroute command-line interface.
npx skills add cheaper-inference/OmniRoute --skill cli-mcp -a claude-codeWhat cli-mcp does
The skill provides agent workflows for interacting with an MCP server via omniroute. It covers checking server health with omniroute mcp status, restarting the daemon, and enabling or disabling transports.
Tool execution runs through omniroute mcp call <tool> [argsJson]. This subcommand accepts parameters inline, loads them from a file via --args-file, handles --stream, and restricts execution using --scope. Permissions and scopes are inspected via omniroute mcp scopes.
This skill relies entirely on the omniroute CLI being available on your system via npm or npx. Running commands will fail if omniroute is not installed beforehand.
What it helps with
- check MCP server status in the terminal
- invoke MCP tools with JSON arguments or files
- restart the running MCP server instance
- inspect tool scopes and access levels
Example prompts for the agent
- Check the MCP server status with JSON output
- Call the search tool passing arguments from args.json with streaming enabled
- Restart the MCP server using omniroute
How to install cli-mcp
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-mcp -a claude-code2Manually: put the files in place
~/.claude/skills/cli-mcp/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cli-mcp/
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-mcp -a codex2Manually: put the files in place
.agents/skills/cli-mcp/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-mcp -a cursor2Manually: put the files in place
.cursor/skills/cli-mcp/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cheaper-inference/OmniRoute cli-mcp2Manually: put the files in place
.github/skills/cli-mcp/SKILL.md1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-mcp -a gemini-cli2Platform CLI
gemini skills install https://github.com/cheaper-inference/OmniRoute --path skills/cli-mcpManually: put the files in place
.devin/skills/cli-mcp/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-mcp -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set34
The whole set →Similar
Questions about cli-mcp
How to install cli-mcp in Claude Code?
Run npx skills add cheaper-inference/OmniRoute --skill cli-mcp -a claude-code in your terminal.
What does cli-mcp do?
It teaches your agent how to inspect MCP server status, restart the daemon, configure transports, and invoke registered tools using the omniroute CLI.
What are the prerequisites for cli-mcp?
You need the omniroute package installed globally with npm install -g omniroute or executable via npx omniroute.
Source text
SKILL.md · MIT
--- 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. --- <!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten --> ## 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 enable` **Flags:** - `--transport <transport>` **Example:** ```bash omniroute mcp enable ``` ### `mcp disable` **Example:** ```bash omniroute mcp disable ``` ### `mcp call <tool> [argsJson]` **Flags:** - `--args <json>` - `--args-file <path>` - `--stream` - `--scope <s>` **Example:** ```bash omniroute mcp call <tool> [argsJson] ``` ### `mcp scopes` **Flags:** - `--tool <name>` **Example:** ```bash omniroute mcp scopes ```
© cheaper-inference · MIT · cheaper-inference/OmniRoute