> For the complete documentation index, see [llms.txt](https://build.restless.ai/llms.txt).

# Use Restless with ChatGPT

Connect ChatGPT to the Restless API over MCP, or hand it the docs directly.

Use Restless from ChatGPT and the Codex CLI over MCP, so it can browse the API and write calls without you pasting docs.

## Codex (CLI)

Run this from your terminal - Codex (OpenAI's CLI) registers the MCP server immediately.

```bash
codex mcp add restless-docs --url https://build.restless.ai/mcp
```

## ChatGPT (Web)

In ChatGPT, open Settings → Connectors → Add, then paste this URL. Requires a paid plan with developer/connector access enabled.

```
https://build.restless.ai/mcp
```

Open ChatGPT: https://chatgpt.com/

## Or paste this prompt

I want to use the Restless API.

If you support MCP (Model Context Protocol), connect to this server so you can search endpoints and make calls directly:
https://build.restless.ai/mcp

The full machine-readable documentation index is at https://build.restless.ai/llms.txt.
The complete OpenAPI spec is at https://build.restless.ai/openapi.yaml.
Read those, then help me make requests against the API.

# MCP Server

There's an MCP server at `https://build.restless.ai/mcp` exposing tools like `search_endpoints`, `get_endpoint`, and operation lookup. When you need specifics about an endpoint - parameters, status codes, examples - query the MCP server first; do not guess.

If the user has not yet connected the MCP server in their client, they can install it from the docs at `https://build.restless.ai`.
