updatedAt: 2026-12-01

# Quickstart

Connect the Award Travel Finder MCP server in Grok Bot, ChatGPT, Claude, Cursor or any MCP client, then get an API key and make your first REST call.

This page connects the MCP server in the clients people use most, then gets an API key and makes a first REST call. The MCP server and the REST API are separate: MCP signs in with OAuth, the REST API uses an API key.

## 1. Connect over MCP

The server is a streamable HTTP MCP endpoint:

```text
https://mcp.awardtravelfinder.com/mcp
```

It requires OAuth from the first request. Your client opens a browser window, you sign in to Award Travel Finder, and the client keeps the token. A free account can search. Do not send an `Authorization` or `X-API-Key` header: the endpoint authenticates with OAuth only, and a leftover key header stops the connection working.

### Grok Bot

**Step 1.** In Grok Bot, send this message. Keep the words custom MCP server, or the bot may install a catalog plugin instead:

```text
Add a custom MCP server called awardtravelfinder at https://mcp.awardtravelfinder.com/mcp
```

**Step 2.** Check the name and URL the bot shows, then choose Add it.

**Step 3.** Choose Authorize on the connect card. Sign in to Award Travel Finder in the browser window that opens, then choose Allow access.

**Step 4.** In a chat, type @ and select awardtravelfinder to attach it. You can check it under Settings, then Plugins, then Yours.

### ChatGPT

**Step 1.** Award Travel Finder is in review for the OpenAI plugin directory shared by ChatGPT and Codex.

**Step 2.** When the listing is live, search for Award Travel Finder in ChatGPT and connect it. No config file is needed.

**Step 3.** In the meantime, a Custom GPT can call the REST API through Actions. Import this OpenAPI schema:

```text
https://awardtravelfinder.com/.well-known/openapi.yaml
```

### Claude

**Step 1.** In Claude, open Settings, then Connectors.

**Step 2.** Choose Add custom connector.

**Step 3.** Paste the server URL:

```text
https://mcp.awardtravelfinder.com/mcp
```

**Step 4.** Sign in to Award Travel Finder with OAuth in the browser window that opens.

### Claude Code

**Step 1.** Run this command in your terminal:

```bash
claude mcp add --transport http award-travel-finder https://mcp.awardtravelfinder.com/mcp
```

**Step 2.** Or install the free plugin, which does the same thing and keeps itself updated:

```bash
/plugin marketplace add AwardTravelFinder/mcp
/plugin install award-travel-finder
```

**Step 3.** Claude opens your browser on the first tool call so you can sign in.

### Cursor

**Step 1.** Fastest way: use the one-click install link. Cursor opens and asks you to confirm.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=awardtravelfinder&config=eyJ1cmwiOiJodHRwczovL21jcC5hd2FyZHRyYXZlbGZpbmRlci5jb20vbWNwIn0=)

**Step 2.** Or set it up by hand. Open Cursor Settings, then MCP.

**Step 3.** Add a new MCP server and paste this JSON config:

```json
{
  "mcpServers": {
    "awardtravelfinder": {
      "url": "https://mcp.awardtravelfinder.com/mcp"
    }
  }
}
```

**Step 4.** Save, then sign in to Award Travel Finder with OAuth when Cursor prompts you on the first tool call.

### Codex

**Step 1.** Award Travel Finder is in review for the OpenAI plugin directory shared by ChatGPT and Codex.

**Step 2.** When the listing is live, search for Award Travel Finder in Codex and connect it. No config file is needed.

**Step 3.** The MCP server URL for clients that accept one is:

```text
https://mcp.awardtravelfinder.com/mcp
```


### Other MCP clients

**Gemini CLI**

**Step 1.** Run this command in your terminal:

```bash
gemini mcp add --transport http award-travel-finder https://mcp.awardtravelfinder.com/mcp
```

**Step 2.** Or add the server to ~/.gemini/settings.json. Streamable HTTP servers use the httpUrl key:

```json
{
  "mcpServers": {
    "award-travel-finder": {
      "httpUrl": "https://mcp.awardtravelfinder.com/mcp"
    }
  }
}
```

**Step 3.** Inside Gemini CLI, run /mcp auth. Your browser opens so you can sign in to Award Travel Finder.

**VS Code**

**Step 1.** Open the Command Palette and run MCP: Add Server.

**Step 2.** Choose HTTP, then enter the server URL:

```text
https://mcp.awardtravelfinder.com/mcp
```

**Step 3.** Prefer a guided flow? Run Chat: Open Customizations and select MCP Servers.

**Windsurf**

**Step 1.** Open Windsurf Settings, then MCP Servers.

**Step 2.** Add a server with this JSON config:

```json
{
  "mcpServers": {
    "awardtravelfinder": {
      "url": "https://mcp.awardtravelfinder.com/mcp"
    }
  }
}
```

**Step 3.** Complete OAuth sign-in when Windsurf opens your browser on the first tool call.

**Grok**

**Step 1.** On grok.com, open Connectors and choose New Connector.

**Step 2.** Select Custom and enter the server URL:

```text
https://mcp.awardtravelfinder.com/mcp
```

**Step 3.** Sign in to Award Travel Finder with OAuth in the browser window that opens.

**Perplexity**

**Step 1.** In Perplexity, open Account settings, then Connectors.

**Step 2.** Choose + Custom connector, then Remote.

**Step 3.** Enter a name and the server URL. Perplexity needs an HTTPS address:

```text
https://mcp.awardtravelfinder.com/mcp
```

**Step 4.** Choose OAuth as the authentication method and sign in to Award Travel Finder in the browser window that opens.


Any client that accepts a remote server URL can use the endpoint above. If your client only speaks stdio, bridge it with `mcp-remote`:

```json
{
  "mcpServers": {
    "awardtravelfinder": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.awardtravelfinder.com/mcp"
      ]
    }
  }
}
```

### Try it

Once connected, ask a question that needs live data:

```prompt
Find business class award seats from JFK to London Heathrow in the next three months, and tell me which programme has the lowest points price.
```

Your agent calls tools such as `search_all_airlines` and `get_pricing` for you. The full list is in the [MCP tools overview](https://awardtravelfinder.com/docs/mcp/tools).

## 2. Get an API key

The REST API authenticates with an API key. You have two routes.

**As a person.** Sign in and open the [API key page](https://awardtravelfinder.com/developers/api-key). A free account gets 50 calls a month.

**As an agent.** An autonomous agent can create a free account and receive a key in one call. This is the only endpoint that needs no key. Send an `Idempotency-Key` that you store once, so a repeat call returns the same account instead of creating another.

```bash
curl -X POST "https://awardtravelfinder.com/api/v1/agent/register" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: YOUR_STORED_SECRET" \
  -d '{"operator_email":"operator@example.com","agent_name":"my-agent"}'
```

```javascript
const response = await fetch("https://awardtravelfinder.com/api/v1/agent/register", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Idempotency-Key": "YOUR_STORED_SECRET"
  },
  body: JSON.stringify({"operator_email":"operator@example.com","agent_name":"my-agent"})
});
const result = await response.json();
```

```python
import requests

response = requests.post("https://awardtravelfinder.com/api/v1/agent/register", headers={"Content-Type": "application/json", "Idempotency-Key": "YOUR_STORED_SECRET"}, json={"operator_email":"operator@example.com","agent_name":"my-agent"})
result = response.json()
```

The response includes `api_key`, the REST `base_url`, and the MCP endpoint details. The key works for REST only. It does not authenticate the MCP server.

## 3. Make your first API call

This asks for award availability across a month on one route. Send the key in the `X-API-Key` header, or as `Authorization: Bearer YOUR_API_KEY`.

```bash
curl "https://awardtravelfinder.com/api/v1/british_airways/monthly_availability?departure_code=JFK&arrival_code=LHR&date=2027-02-15" \
  -H "X-API-Key: YOUR_API_KEY"
```

```javascript
const params = new URLSearchParams({"departure_code":"JFK","arrival_code":"LHR","date":"2027-02-15"});
const response = await fetch(`https://awardtravelfinder.com/api/v1/british_airways/monthly_availability?${params}`, {
  method: "GET",
  headers: {
    "X-API-Key": process.env.ATF_API_KEY
  }
});
const result = await response.json();
```

```python
import os
import requests

response = requests.get("https://awardtravelfinder.com/api/v1/british_airways/monthly_availability", params={"departure_code":"JFK","arrival_code":"LHR","date":"2027-02-15"}, headers={"X-API-Key": os.environ["ATF_API_KEY"]})
result = response.json()
```

A successful call returns JSON shaped as `{"success": true, "data": {...}, "usage": {...}}`. Read `usage.remaining_calls` to see what is left in your allowance. See the [REST API overview](https://awardtravelfinder.com/docs/api) for errors and limits.

## Next steps

- [Connect over MCP](https://awardtravelfinder.com/docs/mcp) covers OAuth, discovery documents and troubleshooting.
- [Award search endpoints](https://awardtravelfinder.com/docs/api/search) lists every endpoint with curl, JavaScript and Python.
- [Plans and limits](https://awardtravelfinder.com/docs/plans) shows what each plan includes.
