Skip to main content
ClaudeWave
Skill6.1k repo starsupdated today

cli-mcp

cli-mcp provides command-line interface tools for managing Model Context Protocol servers, including checking server status, discovering available tools and scopes, executing tool invocations with custom arguments, and reviewing audit logs with filtering and statistics. Use this skill when you need to monitor MCP server health, explore registered capabilities, test tool functionality directly from the CLI, or investigate historical tool usage patterns.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-mcp && cp -r /tmp/cli-mcp/skills/cli-mcp ~/.claude/skills/cli-mcp
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

<!-- 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 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
```

### `mcp tools`

**Example:**

```bash
omniroute mcp tools
```

### `mcp list`

**Flags:**

- `--scope <s>`

**Example:**

```bash
omniroute mcp list
```

### `mcp info <name>`

**Example:**

```bash
omniroute mcp info <name>
```

### `mcp schema <name>`

**Flags:**

- `--io <kind>`

**Example:**

```bash
omniroute mcp schema <name>
```

### `mcp audit`

**Example:**

```bash
omniroute mcp audit
```

### `mcp tail`

**Flags:**

- `--follow`
- `--limit <n>`

**Example:**

```bash
omniroute mcp tail
```

### `mcp stats`

**Flags:**

- `--period <p>`

**Example:**

```bash
omniroute mcp stats
```