# AISIX AI Gateway

A self-hosted gateway routes language-model requests through one API. Use it to manage provider access and model routing in one place.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 204
- Author: api7
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/api7/aisix
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/aisix-ai-gateway

## What it does

AISIX accepts requests in OpenAI or Anthropic format and forwards them to the configured provider. The description names OpenAI, Anthropic, Google Gemini, AWS Bedrock, Azure OpenAI, and DeepSeek; gateway features include SSE streaming, rate limits, caching, and observability. This is an LLM traffic gateway, not a description of MCP tools.

Run it as a static binary or container. Define resources in `resources.yaml` and apply changes with `SIGHUP` without restarting; for a multi-replica cluster, use etcd instead of `resources_file`. The quickstart uses Docker and the `OPENAI_API_KEY` and `CALLER_API_KEY` environment variables. The metrics and status listener on port `9090` has no authentication, so keep it on loopback or a private network.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- route requests to different LLM providers through one API
- restrict model access with caller API keys
- apply resource changes without restarting the gateway
- expose LLM traffic metrics through Prometheus

## Example prompts
- Set up AISIX to route OpenAI requests using `resources.yaml`.
- Prepare an AISIX configuration with caller credentials and an allowed model.
- Show how to send model requests through the AISIX API.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107423
- [Agent Skills Search Server](https://affpapa.org/en/nevibecode/mcp/agent-skills-search-server.md) — MCP server · ★ 26559
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23263
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [PraisonAI](https://affpapa.org/en/nevibecode/mcp/praisonai.md) — MCP server · ★ 9289

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