# Kaeso

Kaeso is a Claude Code MCP server that manages a self-hosted AI gateway. It configures model routes, API keys, spend limits, and inspects request logs directly from your coding assistant.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 61 repo stars
- Author: logicplanes
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/logicplanes/kaeso
- Updated: 2026-11-24
- Security check: automated, 2026-11-24 (text) — warning: a command downloads a script from kaeso.app and runs it right away. Do not run such commands without an explicit yes from the human.
- HTML: https://affpapa.org/en/nevibecode/mcp/kaeso

## What it does

Kaeso connects your agent to a self-hosted Kaeso gateway deployment over HTTP. It exposes controls for projects, API key pools, provider routing rules, and usage budgets directly to the model.

The integration requires a running Kaeso instance reachable at `https://{host}/mcp`. Kaeso itself deploys via Docker Compose or Helm alongside PostgreSQL, ClickHouse, and Valkey. Without a reachable host endpoint, the server cannot connect.

## Requirements
- Needs: Docker
- Remote server: `https://{host}/mcp`

## Install

### Claude Code (native platform)

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http kaeso https://{host}/mcp
```

### Codex

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
codex mcp add kaeso --url https://{host}/mcp
```

### Cursor

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "kaeso": {
            "url": "https://{host}/mcp"
        }
    }
}
```

### GitHub Copilot

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "kaeso": {
            "type": "http",
            "url": "https://{host}/mcp"
        }
    }
}
```

### Gemini CLI

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
gemini mcp add -t http kaeso https://{host}/mcp
```

## When to use it
- AI gateway management
- configure provider routes and fallback aliases
- set spend budgets and project rate limits
- manage project API keys and key pools

## Example prompts
- Check the spend budget and rate limits for this project
- Set up an alias route with fallbacks for the support endpoint
- Generate a new API key for the development environment

## Similar
- [AISIX AI Gateway](https://affpapa.org/en/nevibecode/mcp/aisix-ai-gateway.md) — MCP server · ★ 235 repo stars
- [neon-ai-gateway](https://affpapa.org/en/nevibecode/skills/neon-ai-gateway.md) — skill · 45800 installs
- [freellmapi-proxy](https://affpapa.org/en/nevibecode/skills/freellmapi-proxy.md) — skill · 410 installs
- [caveman-setup](https://affpapa.org/en/nevibecode/skills/caveman-setup.md) — skill · 127300 installs
- [Paw Pulse](https://affpapa.org/en/nevibecode/mcp/paw-pulse.md) — MCP server
- [9routerx](https://affpapa.org/en/nevibecode/skills/9routerx.md) — skill · ★ 269 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
