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

# Agentic Access

> Connect AI tools to Coral documentation via MCP, llms.txt, or Markdown content negotiation

Coral documentation is designed for both humans and AI agents. Every page is available as clean Markdown, and the full docs are indexed for AI consumption automatically.

## MCP Server

Coral hosts an MCP (Model Context Protocol) server that AI tools can query to search the documentation.

**Endpoint:** `https://docs.coral.inc/mcp`

<CodeGroup>
  ```bash Claude Code theme={null}
  claude mcp add --transport http coral-docs https://docs.coral.inc/mcp
  ```

  ```json Cursor (mcp.json) theme={null}
  {
    "mcpServers": {
      "coral-docs": {
        "url": "https://docs.coral.inc/mcp"
      }
    }
  }
  ```

  ```json VS Code (.vscode/mcp.json) theme={null}
  {
    "servers": {
      "coral-docs": {
        "type": "http",
        "url": "https://docs.coral.inc/mcp"
      }
    }
  }
  ```
</CodeGroup>

## llms.txt

Coral provides standard [llms.txt](https://llmstxt.org/) files — a structured index of documentation designed for LLM consumption.

| Endpoint                                                 | Description                                          |
| -------------------------------------------------------- | ---------------------------------------------------- |
| [`/llms.txt`](https://docs.coral.inc/llms.txt)           | Index of all pages with descriptions and links       |
| [`/llms-full.txt`](https://docs.coral.inc/llms-full.txt) | Full content of every page in a single Markdown file |

Use `/llms.txt` when you need a quick overview or want to find the right page. Use `/llms-full.txt` when you need the complete documentation in one request.

## Markdown content negotiation

Any documentation page can be fetched as clean Markdown by sending an `Accept: text/markdown` header. This strips all HTML, styling, and JavaScript — reducing token usage by \~30x compared to the rendered page.

```bash theme={null}
curl -H "Accept: text/markdown" https://docs.coral.inc/features/chat
```

All page responses include discovery headers:

```
Link: </llms.txt>; rel="llms-txt", </llms-full.txt>; rel="llms-full-txt"
X-Llms-Txt: /llms.txt
```
