# Build with AI

> Give AI coding tools the TapPay docs as Markdown, an AGENTS.md file with rules, and an MCP server for the sandbox.

Source: https://docs.tappay.mn/ai/

AI coding tools, such as Claude, Cursor and Codex, write better integration code when they read the docs directly. TapPay publishes the docs in forms that these tools can read.

## Docs as Markdown

| What | Where | Use it for |
| - | - | - |
| `llms.txt` | `/llms.txt`, `/mn/llms.txt` | A list of every page with a link and a short description. |
| `llms-full.txt` | `/llms-full.txt`, `/mn/llms-full.txt` | All guides and the API reference in one file. |
| Page as Markdown | The page URL with `.md`, such as `/guides/webhooks.md` | One page for your prompt or your agent. |
| Copy Markdown | The button next to each page title | Paste one page into a chat. |

The Markdown shows key placeholders, such as `sk_test_YOUR_SECRET_KEY`, and never a real key. The API reference shows the latest [API version](https://docs.tappay.mn/glossary.md#api-version).

## Rules for your coding agent

Copy the [AGENTS.md template](https://docs.tappay.mn/ai/agents-md.md) into your repository. It lists what an agent must and must not do, with wrong and right code for the four most common mistakes.

## MCP server

The [MCP server](https://docs.tappay.mn/ai/mcp.md) `@tappay-mn/mcp` lets an AI tool search the docs, read an operation and call the [sandbox](https://docs.tappay.mn/glossary.md#sandbox). It accepts only a sandbox [secret key](https://docs.tappay.mn/glossary.md#secret-key).
