Billing and AI credits
Buy AI credits, read the ledger, and understand hosted MCP plan limits from the dashboard or API.
MCP Stack uses prepaid AI credits for hosted agent usage. Owners and Admins can buy top-ups through Stripe Checkout; Developers can view balance and history. Hosted MCP server counts may be capped by your self-serve plan.
Top-ups add credits to the organization ledger; agent and hosted usage debits the balance over time.
Role details live in Organization roles and billing access.

Settings → Billing shows balance, Purchases, Usage, and hosted MCP summary.
Settings → Billing.Team self-serve plans include 10 hosted MCP servers. Existing configs above the cap remain, but new hosted servers are blocked until you disable configs, upgrade, or receive an operator override.
Enterprise workspaces may show invoice status instead of self-serve plan cards.
Start billing checkout from the dashboard. Use the CLI to inspect usage-related platform state:
mcpstack agents usage ag_support --json
mcpstack servers list --jsonUse API keys with appropriate billing permissions for automation against the credit APIs below.
Read credit summary:
GET /api/v1/organizations/{orgId}/ai-credits/summary
Authorization: Bearer {token}Read ledger (paginated):
GET /api/v1/organizations/{orgId}/ai-credits/ledger?category=purchases&page=1&pageSize=50
GET /api/v1/organizations/{orgId}/ai-credits/ledger?category=usage&page=1&pageSize=50Start Stripe checkout (billing manage required):
POST /api/v1/organizations/{orgId}/ai-credits/checkout-session
Authorization: Bearer {token}
Content-Type: application/json
{
"creditAmountUsd": 50
}Sync after checkout:
POST /api/v1/organizations/{orgId}/ai-credits/checkout-session/{sessionId}/sync
Authorization: Bearer {token}| Symptom | What to check |
|---|---|
| Empty ledger | Role lacks billing view; wrong organization selected. |
| Cannot buy credits | Need Owner/Admin billing manage role. |
| Agent stops mid-conversation | Agent budget or org credits exhausted — see Agent budgets. |
| Cannot create hosted server | Team plan hosted server cap — disable unused configs or upgrade. |
Developers see credits and usage; Owners/Admins buy top-ups from Settings → Billing. Agent usage debits the same ledger that purchases fill.