> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/developer-tools/docs-mcp-server.md).

# Docs MCP Server

The Terra docs MCP server connects your agent to the live documentation, including integration guides, API references, SDKs, and schemas. Your agent can search it directly instead of relying on training data that may be out of date.

The server is available at:

```
https://docs.tryterra.co/~gitbook/mcp
```

### Installation

{% tabs %}
{% tab title="Claude Code" %}
Paste this into your terminal:

```bash
claude mcp add terra-docs --scope user --transport http https://docs.tryterra.co/~gitbook/mcp
```

{% endtab %}

{% tab title="Codex" %}
Paste this into your terminal:

```bash
codex mcp add terra-docs --url https://docs.tryterra.co/~gitbook/mcp
```

{% endtab %}

{% tab title="VS Code" %}
Click to [install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22Terra%20Docs%22%2C%22url%22%3A%22https%3A%2F%2Fdocs.tryterra.co%2F~gitbook%2Fmcp%22%7D), or add the server to your `mcp.json` manually:

```json
{
  "servers": {
    "terra-docs": {
      "url": "https://docs.tryterra.co/~gitbook/mcp"
    }
  }
}
```

{% endtab %}

{% tab title="Cursor" %}
Click to [install in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=terra-docs\&config=eyJ1cmwiOiJodHRwczovL2RvY3MudHJ5dGVycmEuY28vfmdpdGJvb2svbWNwIn0=), or add the server to your `mcp.json` manually:

```json
{
  "mcpServers": {
    "terra-docs": {
      "url": "https://docs.tryterra.co/~gitbook/mcp"
    }
  }
}
```

{% endtab %}
{% endtabs %}

Once connected, your agent can query the docs whenever it needs to check an endpoint, payload field, or setup step.
