Skip to main content

For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /getting-started/build-with-agents.md.

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.

Give your agent the docs​

Point the agent at llms.txt. It lists every guide by product, says which API to use for which job, and links each spec. 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.

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
## 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
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