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

# Build with AI

> Connect your AI coding tool to these docs and let it write your integration.

These docs ship with a hosted **MCP server**. Connect it to Claude, Cursor, VS Code or any other MCP client, and your AI assistant can search and read every page here: endpoints, request fields, error codes, round-trip rules. It writes integration code against the real contract instead of guessing.

```text MCP server URL theme={null}
https://developers.ttool.travel/mcp
```

The quickest way to grab it is the menu at the top of any page: **Copy MCP server URL**, **Copy MCP install command**, or one-click **Connect to Cursor** and **Connect to VS Code**.

## Connect your tool

**Claude Code**

```bash theme={null}
claude mcp add --transport http ttool-hub https://developers.ttool.travel/mcp
```

**Claude Desktop**

Open **Settings → Connectors → Add custom connector**, give it a name, and paste the server URL.

**Cursor**

Use **Connect to Cursor** in the page menu, or add this to `~/.cursor/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "ttool-hub": { "url": "https://developers.ttool.travel/mcp" }
  }
}
```

**VS Code**

Use **Connect to VS Code** in the page menu, or add this to `.vscode/mcp.json`:

```json theme={null}
{
  "servers": {
    "ttool-hub": { "type": "http", "url": "https://developers.ttool.travel/mcp" }
  }
}
```

## Try it

Once connected, give your assistant a task like this:

Generate a typed Flight API client from these docs.

Using the MCP server for these API docs, build a typed client for the Flight API in our codebase. Cover authenticate (with token caching), search, details, fare-brands, change-options, create order (including holdOnly), issue, order status and cancel-hold. Resolve carrier and airport names from the dictionaries block. Handle both round-trip shapes, never retry create order automatically, and retry issue on ISSUANCE\_TIMEOUT with the same orderId. Map every errorCode in the docs to a typed error.

## What it can and can't do

The server is read-only. It searches and reads the published documentation and nothing else. It can't call the API, see your credentials, or touch your wallet. Your assistant writes the code; you run it against [staging](https://developers.ttool.travel/environments.md) with your own API user.

> [!TIP]
>
> The same server will cover the Hotel and NDC APIs as they launch. Connect once and your assistant picks up new products automatically.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.