# Cdr Platform — how to use (mcp.ai)

Connect your Cdr Platform account and use 3 tools for developer tools straight from your AI agent. Connect with your own API key. CDR Platform provides an API for purchasing carbon dioxide removal services.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_cdr_platform?ms=1787291220000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `cdr_platform_get_cdr_price`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/cdr_platform`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/cdr_platform/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/cdr_platform/get/cdr/price` — Calculate the cost for carbon dioxide removal (CDR) services. Specify one or more removal methods (e.g., 'bio-oil', 'kelp-sinking') with their respective amounts in kilograms to get detailed pricing i
  - body: { items: object[], currency: string, weight_unit: string }
- `POST https://api.mcp.ai/api/cdr_platform/get/health/check` — Tool to perform a health check of the CDR Platform service. Use when you need to verify API and database connectivity and core service status.
- `POST https://api.mcp.ai/api/cdr_platform/post/cdr/purchase` — Tool to initiate the purchase of carbon dioxide removal credits. Use after confirming cost and methods to finalize the order.
  - body: { items: object[], currency: string, weight_unit: string, client_reference_id?: string, certificate_display_name?: string }

## Example prompts
- "What can I do in Cdr Platform?"
- "Show me a summary of my Cdr Platform account"

## More
- Page: https://mcp.ai/cdr_platform
- Agent spec (llms.txt): https://mcp.ai/cdr_platform/llms.txt
- Postman collection: https://mcp.ai/cdr_platform/postman.json
