What is an MCP Server?
MCP is an open protocol that standardizes how applications provide context to LLMs. Among other benefits, it provides LLMs tools to act on your behalf.What can Commet’s MCP Server do?
Commet’s MCP server gives your AI agent native access to the full Commet platform through a single integration. You can manage all aspects of your billing infrastructure using natural language.- Organization — See the live or sandbox organization fixed to the connection
- Commet API — Use every operation in the current public OpenAPI document
- Docs — Search the live Commet documentation
Prerequisites
The MCP endpoint is the same for sandbox and live data:- Create a Commet account
- Have an MCP-compatible client (Cursor, Claude Code, Claude Desktop, etc.)
Browser-based clients can use OAuth with no API key. If your client runs in CI, on a server, or anywhere browser login is not possible, pass a Commet API key in the
x-api-key header.How to use the MCP Server
Choose your preferred client below.- Cursor
- Claude Code
- Claude Desktop
- Codex
- Copilot
- Gemini
- OpenCode
- Windsurf
Open the command palette and choose “Cursor Settings” > “MCP” > “Add new global MCP server”.
API key authentication
For clients that cannot open browser login, add anx-api-key header:
Available Tools
MCP v2 exposes one generated tool for every operation in the current Commet OpenAPI document. The generated names useapi_ plus the operation ID in snake case:
pathfor URL parametersqueryfor filters, cursors, and paginationbodyfor the endpoint’s exact OpenAPI request bodyidempotencyKeyfor optional POST, PUT, and PATCH idempotency
The previous endpoint,
https://commet.co/mcp, is retired. It no longer exposes tools: it tells the connected agent to reconnect at https://commet.co/mcp/v2. Replace the URL in your client configuration and sign in again.