# Connect CodeBestie AI API Gateway to Your AI Agent (Universal MCP)

> Use your AI to review costs, monitor systems, and manage subscriptions in CodeBestie AI API Gateway — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http codebestie-ai-api-gateway https://api.universalmcp.app/mcp/codebestie-ai-api-gateway`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/codebestie-ai-api-gateway` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "codebestie-ai-api-gateway", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: CodeBestie AI API Gateway | Category: AI, Data & Automation (Code Bestie) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Key metadata, Usage logs, Key changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=codebestie-ai-api-gateway | Guide: https://universalmcp.app/mcp/codebestie-ai-api-gateway
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across key metadata, usage logs, and key changes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Key metadata (1):** Key metadata (write)
- **Usage logs (1):** Usage logs (write)
- **Key changes (1):** Key changes (write)

## Example Prompts for CodeBestie AI API Gateway
- **Quota watch:** "Which CodeBestie AI API Gateway keys are above 80% of monthly quota, and when does each limit reset?"
- **Model usage:** "Summarize CodeBestie AI API Gateway token usage by model for the past week, comparing Codex, Claude, and Grok."
- **Unowned keys:** "List CodeBestie AI API Gateway keys with no assigned owner, along with their last-used date and model."
- **Guarded rotation:** "Draft a key rotation plan for the northwind-prod key in CodeBestie AI API Gateway, and wait for my approval."
