---
title: "Build with agents"
url: https://docs.truemarkets.co/getting-started/build-with-agents
description: "Give a coding agent any page as Markdown, or connect an assistant to our MCP servers."
---

Docs index: https://docs.truemarkets.co/llms.txt

# Build with agents

Give a coding agent any page as Markdown, or connect an AI assistant to our MCP servers so it can read prices and trade.

The **Copy** button on every page copies it as Markdown. The API reference is generated from our OpenAPI specs, so an agent reads the same contract you do.

An MCP server is a set of tools an assistant can call. Ours cover market data and trading, and they work with Claude, ChatGPT and Cursor.

- [MCP servers](https://docs.truemarkets.co/mcp): Connect an assistant to market data and trading.
- [CLI](https://docs.truemarkets.co/cli/ai-agents): JSON output and dry runs for agents that run commands.

## Give your agent the docs

Point the agent at [llms.txt](https://docs.truemarkets.co/llms.txt). It lists every guide by product, says which API to use for which job, and links each spec. [llms-full.txt](https://docs.truemarkets.co/llms-full.txt) holds the same guides in one file.

Add `.md` to any page URL to get that page as Markdown, for example `https://docs.truemarkets.co/gateway/quickstart.md`.

## Specs

Download a spec to generate a client or to give an agent the exact contract.

-   [Authentication REST](https://docs.truemarkets.co/openapi/auth.yaml)
-   [Accounts REST](https://docs.truemarkets.co/openapi/account.yaml)
-   [Trading REST](https://docs.truemarkets.co/openapi/gateway.yaml)
-   [CeFi direct REST](https://docs.truemarkets.co/openapi/cefi-direct.yaml)
-   [Market data REST](https://docs.truemarkets.co/openapi/marketdata.yaml)
-   [CeFi direct WebSocket](https://docs.truemarkets.co/asyncapi/cefi-direct.yaml) (AsyncAPI)
-   [Market data WebSocket](https://docs.truemarkets.co/asyncapi/marketdata.yaml) (AsyncAPI)

## Add to AGENTS.md

Paste this into your project's `AGENTS.md` or `CLAUDE.md` so the agent reads our docs without being told each time.

AGENTS.md

```markdown
## True Markets
- Docs index: https://docs.truemarkets.co/llms.txt
- Trading REST spec: https://docs.truemarkets.co/openapi/gateway.yaml
- Building for your customers: use Gateway. Trading your own account: use the Trading API.
```

Then add the MCP servers so the agent can read prices and trade.

Add the market data and trading servers to Claude Code

```bash
claude mcp add truemarkets-marketdata --transport http https://mcp.truemarkets.co/marketdata/mcp
claude mcp add truemarkets-trading --transport http https://mcp.truemarkets.co/mcp
```