1. Install
apps/api and apps/web symlink to the root .env.
2. Run
3. Ingest a CostMessage
project slug on first ingest.
4. Read spend
5. Connect Cursor (local MCP)
See Local stdio MCP. Minimal config:6. Connect a remote agent (hosted MCP)
See Remote HTTP MCP. Production URL:7. Create a production API key
In the dashboard (Connect → API keys), create a key with the permissions and conditions you need (project scope, monthly limit, expiry, rate limit). Copy the secret once. See API keys & conditions for the full model, or the API keys reference for REST management.Production
| Service | URL |
|---|---|
| API | https://api.costmcp.com |
| Web | https://costmcp.com |
| MCP (agents) | https://mcp.costmcp.com |
| Docs | https://docs.costmcp.com |
COSTMCP_API_KEY env fallback.