# MCP server

One remote MCP endpoint over Streamable HTTP. Every request, including initialize, needs an OAuth access token.

## Connection details

| Setting | Value |
| --- | --- |
| Server URL | `https://mcp.airportloungelist.com/mcp` |
| Also served at | `https://airportloungelist.com/mcp` (POST). Use the `mcp.` host in clients. |
| Transport | Streamable HTTP, stateless. `POST` for requests, `DELETE` accepted. |
| Authentication | OAuth 2.1 authorization code with PKCE (`S256`), required from the first request |
| Client registration | Dynamic client registration (RFC 7591) at `https://mcp.airportloungelist.com/oauth/register` |
| Scopes | `read`, `write` |
| Access tokens | Expire after 2 hours. A refresh token is issued. |
| Protocol versions | `2026-07-28`, `2025-11-25`, `2025-06-18`, `2025-03-26`, `2024-11-05` |
| Server version | `0.10.0` |
| Tools | 30, listed in the [tool reference](https://airportloungelist.com/docs/mcp/tools.md) |

Set up a specific client in the [Quickstart](https://airportloungelist.com/docs/quickstart.md).

## Sign-in

The server does not offer any anonymous tools. A request without a valid bearer token, including `initialize` and `tools/list`, is answered with `401` and a `WWW-Authenticate` header that points at the protected-resource metadata. MCP clients follow it to the authorization server and open a browser for the user to sign in and approve the client.

```http
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer scope="read", resource_metadata="https://mcp.airportloungelist.com/.well-known/oauth-protected-resource/mcp"

{"error":"unauthorized","hint":"Bearer token required. Authenticate via OAuth 2.0 at /oauth/authorize"}
```

An invalid, expired or revoked token returns `401` with `error="invalid_token"`. A write tool called with a read-only token returns `403` with `error="insufficient_scope"`.

## Scopes

| Scope | Allows |
| --- | --- |
| `read` | Lounge, airport, network and access tools, and reading your own profile, passport, reviews, visits and wishlist. Granted by default. |
| `write` | Tools that change your data: `update_passport_settings`, `write_review`, `update_review`, `delete_review`, `mark_lounge_visited`, `update_visit`, `delete_visit`, `add_to_wishlist`, `remove_from_wishlist`. Ask for `scope=read write`. |

A token without `read` is rejected on every call, so always request `read` alongside `openid` or `email`.

## For client developers

Register a public client, send the user to authorize, and exchange the code with your PKCE verifier. Bind the token to the MCP server with the `resource` parameter (RFC 8707).

```http
POST https://mcp.airportloungelist.com/oauth/register
Content-Type: application/json

{
  "client_name": "Your Agent Name",
  "redirect_uris": ["https://example.com/oauth/callback"],
  "grant_types": ["authorization_code", "refresh_token"],
  "response_types": ["code"],
  "token_endpoint_auth_method": "none"
}
```

| Step | Endpoint |
| --- | --- |
| Authorize (in a browser) | `https://airportloungelist.com/oauth/authorize` |
| Token | `https://mcp.airportloungelist.com/oauth/token` |
| Revoke | `https://mcp.airportloungelist.com/oauth/revoke` |
| Resource indicator | `https://mcp.airportloungelist.com/mcp` |

Redirect URIs must be HTTPS, or HTTP to a loopback host. The full walkthrough is in [auth.md](https://airportloungelist.com/auth.md).

## Discovery documents

- [MCP server card](https://airportloungelist.com/.well-known/mcp.json), also at `/mcp/server-card`.
- [OAuth authorization server metadata](https://mcp.airportloungelist.com/.well-known/oauth-authorization-server) (RFC 8414).
- [Protected resource metadata](https://mcp.airportloungelist.com/.well-known/oauth-protected-resource/mcp) (RFC 9728).
- [Agent card (A2A)](https://airportloungelist.com/.well-known/agent-card.json) and [skills](https://airportloungelist.com/.well-known/skills.json).
- [Service catalog](https://airportloungelist.com/.well-known/api-catalog) (RFC 9727).

## Interactive results

Clients that support MCP Apps render lounge results as interactive cards. Other clients receive the same data as text and structured content, so the tools work everywhere.

## Limits

Each tool has an hourly limit per account, and Enterprise accounts get 10 times the limit. See [plans and limits](https://airportloungelist.com/docs/plans.md).

---
Source: https://airportloungelist.com/docs/mcp
