Get started
Build with AI
Connect Claude, Cursor, VS Code or ChatGPT to the Comecero docs with the MCP server, and read every page as Markdown, llms.txt or OpenAPI.
Your AI coding assistant can read these docs while it writes your integration. Connect it to the docs MCP server, and it can search the guides, read any page, and look up the exact fields of every endpoint.
The server only reads the docs. It never calls the Comecero API and needs no token.
Connect the MCP server
The server address is https://docs.comecero.com/mcp (streamable HTTP, no sign-in).
claude mcp add --transport http comecero-docs https://docs.comecero.com/mcpThen ask, for example: "Using the Comecero docs, create a cart and pay for it with a test card in Node.js."
Tools
| Tool | What it does |
|---|---|
search_docs | Searches the guides and the API reference. |
list_pages | Lists every page with its URL and a one-line summary. |
get_page | Returns a page as Markdown, by its URL. |
list_endpoints | Lists every endpoint as METHOD /path, optionally for one resource such as carts. |
get_endpoint | Returns one endpoint in full: a ready test-mode curl call, an example response, and the request and response schemas. Look it up by operation id (create_cart) or POST /carts. |
Markdown
Every page is also plain Markdown, which uses fewer tokens than HTML:
- Add
.mdto the URL: /docs/guides/webhooks.md. - Or send
Accept: text/markdownto the normal URL. - Or use Copy page at the top of any page, and paste it into a chat. The Open menu next to it sends the page to ChatGPT, Claude or Cursor.
curl https://docs.comecero.com/docs/guides/webhooks -H "Accept: text/markdown"llms.txt and OpenAPI
- /llms.txt: a map of every page, following llmstxt.org.
- /llms-full.txt: every page in one file.
- /openapi.json: the whole API as OpenAPI 3.1, for code generators, Postman, Insomnia and agents that call APIs.
Tips for good results
- Tell the assistant to use test mode: a test token (
secret.test.…), product ids that end in.test, and the test card4444555566661111. - Ask it to check each call against
get_endpointbefore it writes code. Updates usePOST, notPATCH, and there is noPOST /orders. - Keep your secret token out of the chat. Put it in an environment variable such as
COMECERO_TEST_TOKEN.