# Connect CCAPI to Your AI Agent (Universal MCP)

> Use your AI to monitor performance, track billing, and manage cloud resources in CCAPI — and much more.

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

## Key Facts
- Software: CCAPI | Category: AI, Data & Automation (CCAPI) | 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 Gateway usage logs, Billing usage, API key metadata; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=ccapi | Guide: https://universalmcp.app/mcp/ccapi
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 1 Read, 2 Write)
Perform 3 actions across gateway usage logs, billing usage, and API key metadata. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Gateway usage logs (1):** Gateway usage logs (write)
- **Billing usage (1):** Billing usage (read)
- **API key metadata (1):** API key metadata (write)

## Example Prompts for CCAPI
- **Error breakdown:** "Break down CCAPI errors by model route and API key, showing which routes exceed a 2% error rate."
- **Latency check:** "Which CCAPI model routes had the slowest median latency this week, and at what hours?"
- **Spend by key:** "How much did each CCAPI API key spend on pay-as-you-go usage this month, sorted highest first?"
- **Guarded key rotation:** "Draft a rotation plan for the Cedar Ridge CCAPI key, but do not revoke anything until I approve it."
