# mcptoon MCP server

> A zero-dependency CLI that manages MCP tools and agent skills while reducing context window usage through on-demand schema retrieval.

- Repository: https://github.com/activeing123/mcptoon
- Page: https://hostedmcp.org/servers/activeing123/mcptoon
- Transport: stdio
- Stars: 431
- License: Apache-2.0
- Latest version: 0.8.40

## Install

### Claude Code

```sh
claude mcp add mcptoon -- uvx mcptoon
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcptoon": {
      "command": "uvx",
      "args": [
        "mcptoon"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcptoon": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcptoon"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcptoon","type":"stdio","command":"uvx","args":["mcptoon"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcptoon": {
      "command": "uvx",
      "args": [
        "mcptoon"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mcptoon -- uvx mcptoon
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcptoon]
command = "uvx"
args = ["mcptoon"]
```

### Gemini CLI

```sh
gemini mcp add -s user mcptoon uvx -- mcptoon
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcptoon": {
      "command": "uvx",
      "args": [
        "mcptoon"
      ]
    }
  }
}
```

## FAQ

### How much context can mcptoon save?

It can reduce tool schema context usage by up to 99.2% by using a compact name index and fetching full schemas only on demand.

### Does mcptoon require any dependencies?

No, it is a zero-dependency tool built using only the Python standard library.

### Which AI agents are supported?

It supports over 103 desktop and terminal agents, including Cursor, Claude Code, Codex, Windsurf, and Cline.

### Can I use it with REST APIs?

Yes, it provides passthrough capabilities for OpenAPI/Swagger and GraphQL endpoints.
