# Address and connection

> The AirBuild docs' own read-only MCP server: its address, how to add it to an AI client, its three tools, its languages and its errors.

Source: https://air.build/docs/docs-mcp/address/

The AirBuild docs have their own MCP server. Add it to any AI client and the client can read air.build/docs: list the pages, read one, and search them, in 12 languages. It only reads, and it needs no sign-in.

It is separate from the AirBuild MCP server, which acts in your Team as you and needs you to sign in (see [MCP server](https://air.build/docs/connect/mcp/) and [Server and sign-in](https://air.build/docs/mcp-tools/server/)). You can add either one, or both.

|  |  |
| --- | --- |
| Address | `https://air.build/api/docs/mcp` |
| Transport | Streamable HTTP: `POST` one JSON-RPC 2.0 message, or a batch of them, per request; one JSON reply, no session, no stream |
| Sign-in | None |
| Server name | `airbuild-docs` ("AirBuild Docs") |
| Tools | [list_pages](https://air.build/docs/docs-mcp/list_pages/), [get_page](https://air.build/docs/docs-mcp/get_page/), [search](https://air.build/docs/docs-mcp/search/) |

## Add it to your client

Most clients take a server's address in their MCP settings. In a JSON config file:

```json title="MCP config"
{
  "mcpServers": {
    "airbuild-docs": {
      "url": "https://air.build/api/docs/mcp"
    }
  }
}
```

In Claude Code:

```bash
claude mcp add --transport http airbuild-docs https://air.build/api/docs/mcp
```

There is nothing to sign in to: the tools are ready as soon as the client connects.

## Check it's up

A `GET` to the address says what the server is:

```bash
curl https://air.build/api/docs/mcp
```

```json
{"name":"airbuild-docs","transport":"streamable-http","endpoint":"/api/docs/mcp","tools":["list_pages","get_page","search"]}
```

## Tools

All three only read (each is marked `readOnlyHint`), and each takes an optional `language`.

| Tool | What it does |
| --- | --- |
| [list_pages](https://air.build/docs/docs-mcp/list_pages/) | Lists every page by group, with its address and a one-line summary: the same text as the language's `/docs/llms.txt` |
| [get_page](https://air.build/docs/docs-mcp/get_page/) | Reads one page as Markdown, by its slug (`mcp`) or its address (`/docs/connect/mcp/`) |
| [search](https://air.build/docs/docs-mcp/search/) | Searches the full text and returns the five best-matching pages, each with an excerpt |

A typical session: find the page with `search` (or `list_pages` to see everything), then read it with `get_page`.

## Languages

Send `language` with one of these codes. Leave it out for English.

| Code | Language | Docs address |
| --- | --- | --- |
| `en` | English (the default) | `/docs/` |
| `zh-CN` | Simplified Chinese | `/cn/docs/` |
| `zh-TW` | Traditional Chinese | `/tw/docs/` |
| `ja` | Japanese | `/ja/docs/` |
| `ko` | Korean | `/ko/docs/` |
| `es` | Spanish | `/es/docs/` |
| `fr` | French | `/fr/docs/` |
| `de` | German | `/de/docs/` |
| `pt` | Portuguese | `/pt/docs/` |
| `ru` | Russian | `/ru/docs/` |
| `ar` | Arabic | `/ar/docs/` |
| `hi` | Hindi | `/hi/docs/` |

## Protocol

| Method | What it does |
| --- | --- |
| `initialize` | Answers with the server's name (`airbuild-docs`, title "AirBuild Docs", version `1.0.0`), the tools capability, and the protocol version the client asked for (`2025-06-18` when it names none) |
| `ping` | Answers with an empty result |
| `tools/list` | The three tools, with their inputs |
| `tools/call` | Runs a tool; its answer is one text block |

A message without an `id` (a notification) gets HTTP `202` with no body. A batch gets an array of replies, one for each message that has an `id`. Any website can call the server from the browser: it allows every origin.

## Example

Search the docs with one `tools/call`:

```bash
curl https://air.build/api/docs/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"invite testers"}}}'
```

The reply, shortened (the text holds up to five pages):

```json
{"jsonrpc":"2.0","id":1,"result":{"content":[{"type":"text","text":"## Invite people to your Team\nhttps://air.build/docs/team/invite-people/\n\n…# Invite people to your Team > Invite people with a link or by email…\n\n## Share a beta with TestFlight\nhttps://air.build/docs/app-store/test-with-testflight/\n\n…"}]}}
```

## Errors

| Error | When | What to do |
| --- | --- | --- |
| HTTP `400`, `-32700` Parse error | The request body is not JSON | Send one JSON-RPC message or an array of them |
| HTTP `405` | The request is not `GET`, `POST` or `OPTIONS` | Use `POST` for messages, `GET` to check the server |
| `-32600` Invalid request | A message has no `"jsonrpc": "2.0"` or no `method` | Send a JSON-RPC 2.0 message |
| `-32601` Method not found: _method_ | The method is not `initialize`, `ping`, `tools/list` or `tools/call` | Use one of those four |
| `-32602` Unknown tool _name_ | `tools/call` names a tool other than the three | Use `list_pages`, `get_page` or `search` |
| `-32602` page must be a slug like "mcp" or an address like "/docs/connect/mcp/" | `get_page` got no `page`, or one that is not a slug or address | See [get_page](https://air.build/docs/docs-mcp/get_page/#errors) |

A `language` that is not one of the codes above is not an error: the tool answers in text instead.

| Tool | Answer for an unknown language |
| --- | --- |
| [list_pages](https://air.build/docs/docs-mcp/list_pages/) | No docs in that language. |
| [get_page](https://air.build/docs/docs-mcp/get_page/) | No page "_page_". |
| [search](https://air.build/docs/docs-mcp/search/) | Nothing found. |
