Skip to main content
MCP server CX Codex

Kaeso — Claude Code MCP server: AI gateway management

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.

MIT ★ 61 updated 2026-11-24

Open on GitHub

What Kaeso 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.

What it helps with

  • 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 for the agent

  • 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

How to install Kaeso

1Template address

The server address is a template: replace {…} or […] with your own values

2Platform CLI: remote server

claude mcp add --transport http kaeso https://{host}/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Kaeso

How to install Kaeso in Claude Code?

Run claude mcp add --transport http kaeso https://{host}/mcp, replacing {host} with your running instance address.

What does Kaeso do?

It provides tools to manage self-hosted Kaeso gateway settings, including routes across AI providers, access keys, budgets, and request telemetry.

What is required to run Kaeso?

It requires an active Kaeso deployment accessible at https://{host}/mcp. The gateway runs via Docker or Kubernetes and uses PostgreSQL, ClickHouse, and Valkey.

Similar MCP servers

All MCP servers for AI and ML →

Project sponsors

Companies that keep this analytics open