AI & MCP
Connect an AI assistant to the Cresora Commerce API contract and guides, through the MCP server, the machine-readable specs or the guides as Markdown.
AI coding assistants can read the Cresora Commerce API contract and these guides in three forms: an MCP server they query one piece at a time, the downloadable OpenAPI specs, and every guide as Markdown.
The API reference, the OpenAPI specs and the MCP server are generated from the latest version of the contract, so an operation, field or error code they list may not be available on the sandbox yet.
MCP server
https://docs.cresoracommerce.com/mcp is a read-only Model Context Protocol (MCP) server. It needs no API key and serves only what this site publishes: the stable API contract (v1) and the guides. It cannot call the Cresora API or see your account.
Add it to Claude Code:
claude mcp add --transport http cresora https://docs.cresoracommerce.com/mcpTested with Claude Code. The server also answers clients on the 2025 protocol revisions, one call per request: a JSON-RPC batch is refused. For another client that supports remote MCP servers over Streamable HTTP, use the same URL.
| Tool | Returns |
|---|---|
search_operations | Operations matching keywords: operation ID, method, path and summary |
get_operation | One operation, by operation ID or by method and path: its parameters, request body and responses, with schemas as $ref names |
get_schema | One schema, by name |
list_error_codes | Every error code with its HTTP status, whether a retry can succeed, and what it means |
list_webhook_event_types | The webhook event types a subscription can name |
search_docs | Guide pages matching keywords |
get_doc | One guide page as Markdown |
The server answers from the stable contract only: its operations and webhooks, and the schemas they use. Operations and schemas marked planned or admin-only are not served. A long answer, such as the changelog, comes in parts, and each part says where the next one starts. The server is rebuilt from the published spec on every deployment, so it matches the spec below.
What makes the API easy for AI tools
- The Cresora API follows consistent, predictable patterns that AI coding assistants can reason about reliably
- Authentication, error codes, and pagination are uniform across all endpoints
- OpenAPI specs are machine-readable and regenerated automatically from the platform's contract
- The API reference at /api/v1 is generated directly from the OpenAPI spec
Why it matters
ISVs using AI-assisted development (GitHub Copilot, Claude, Cursor, etc.) can integrate Cresora faster because:
- API shapes are discoverable from the spec without guessing
- Error codes are semantic (e.g.
idempotency_key_required,merchant_not_found) rather than opaque numbers - The environment is chosen by the host you call, so there's nothing ambiguous to configure
Using the API reference with AI tools
Point your AI tool at the Stable API Reference. The machine-readable specs are downloadable:
https://docs.cresoracommerce.com/api/openapi/cresora-v1.yaml # stable
https://docs.cresoracommerce.com/api/openapi/cresora-v1-preview.yaml # incl. planned operationsBoth are generated from the platform's canonical contract and kept in sync automatically.
Every page on this site except the API reference, the landing page and the terms of service is also published as Markdown, following the llms.txt convention:
https://docs.cresoracommerce.com/llms.txt # index of those pages
https://docs.cresoracommerce.com/llms-full.txt # all of them in one file
https://docs.cresoracommerce.com/llms.mdx/getting-started/quickstart # one page: /llms.mdx/<page path>