Skip to content

Build with AI

Cyan’s docs and API are built to work with AI coding agents like Claude Code, Cursor and Codex. Give your agent the docs, and it can write the integration with you.

Two steps need a person. Do them once in the Cyan app:

  1. Connect your Stripe account.
  2. Create an API key and put it in your project’s environment as CYAN_API_KEY.

Keep the key out of the chat. Your agent only needs to know the variable’s name.

Paste this into your agent:

Read https://docs.cyan.cash/llms-full.txt, then add a Cyan checkout to our chat.

Every page of these docs is published as plain text, in the formats agents read best.

File What’s in it
/llms.txt A short description of Cyan, with links to the files below.
/llms-full.txt Every page of these docs in one Markdown file.
/llms-small.txt A trimmed version, for agents with less room.
/openapi.json The API as an OpenAPI 3.1 document.

With the docs connected as an MCP server, your agent searches them and reads only the pages it needs, instead of loading everything at once. The server is read-only and needs no key.

https://docs.cyan.cash/mcp

Run this in your project:

claude mcp add --transport http cyan-docs https://docs.cyan.cash/mcp

Your agent gets three tools:

Tool What it does
search_docs Finds the pages that match a question.
read_page Returns one page as Markdown, or the OpenAPI spec.
list_pages Lists every page with a one-line description.