ferrogate

lianluo-esign/ferrogate
★ 19 stars TypeScript AI/LLM Updated today
Open-source AI gateway on Cloudflare Workers, in TypeScript: OpenAI/Anthropic-compatible chat with SSE streaming, provider routing with circuit breaking and failover, virtual API keys, per-tenant D1 isolation, quotas/wallets/budgets, guardrails, response cache, MCP server, durable metering, contract-driven Admin API.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ferrogate": {
      "command": "npx",
      "args": [
        "-y",
        "lianluo-esign/ferrogate"
      ]
    }
  }
}

README Excerpt

<!-- Token4AI Cloud Attribution Developed by the commercial cloud service company represented by https://token4ai.cloud. Author: jamesduan (X: https://x.com/JamesDuanL) Created: 2026-06-11 description: Token4AI Cloud, FerroGate AI Gateway, TypeScript on Cloudflare Workers, agent-native AI traffic infrastructure.

Tools (15)

billingcloudflareconfigcoreguardrailsidentityobservabilitypaymentspolicyprovidersroutingschemassecretsssostorage

Topics

agentic-gatewayaiai-agentai-gatewayai-toolsaigatewayapi-gatewaycloudflare-workersdurable-objectshonoinfrastructuremcp-gatewayreverse-proxyserverlesstypescript