> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gtm-api.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use these docs from your AI tools

> The documentation has its own MCP endpoint, plus llms.txt and per-page Markdown.

Two different MCP servers exist, and it helps not to mix them up:

* `https://mcp.gtm-api.com/mcp` is the **product**: it calls the GTM API on your behalf. See [Connect a client](/mcp/connect).
* `https://docs.gtm-api.com/mcp` is the **documentation**: it searches and reads these pages. It cannot call the API, needs no API key, and is the right thing to wire into a coding assistant that should answer questions about the platform.

## Add the docs server

```bash theme={null}
claude mcp add --transport http gtm-api-docs https://docs.gtm-api.com/mcp
```

Or in any client's MCP config:

```json theme={null}
{
  "mcpServers": {
    "gtm-api-docs": { "url": "https://docs.gtm-api.com/mcp" }
  }
}
```

## Plain-text access

* `https://docs.gtm-api.com/llms.txt` indexes the site for AI ingestion; `llms-full.txt` carries the full content.
* Append `.md` to any page URL to get that page as Markdown.
* The contextual menu on each page copies the page as Markdown or opens it in Claude or ChatGPT.
