# Connect an AI client

Fastah runs a remote [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) server. Your client lists its tools when it connects; this page covers connecting and signing in.

## Connection details

| Setting | Value |
| --- | --- |
| Server URL | `https://mcp.fastah.ai/mcp` |
| Transport | Streamable HTTP, stateless (the server issues no session IDs) |
| Protocol revision | `2026-07-28`, also `2025-11-25` and `2025-06-18` |
| Authentication | WorkOS AuthKit bearer token, through anonymous agent registration or signed-in OAuth; issuer `https://signin.fastah.net` |
| API keys | Not accepted. Fastah API keys and v2 API bearer tokens do not work on the MCP server. |

Fastah Orbit's tools are listed to every workspace but answer only when the workspace has the Fastah Orbit add-on.

## Try without a user account

Anonymous agent registration gives your agent the read-only `fastah:mcp:read` permission without an email address or a user sign-in. Anonymous does not mean unauthenticated: every MCP request still needs a bearer token.

Follow the [agent registration instructions](https://console.fastah.net/auth.md) for the maintained commands and secure credential storage:

1. Reuse an existing registration if you have one. Otherwise, register an `anonymous` identity at `https://signin.fastah.net/agent/identity`.
2. Exchange `identity.assertion` at `https://signin.fastah.net/oauth2/token` using the JWT-bearer grant (`urn:ietf:params:oauth:grant-type:jwt-bearer`) and resource `https://mcp.fastah.ai/mcp`.
3. Send the returned access token privately in `Authorization: Bearer`. Do not paste assertions or tokens into prompts, logs, screenshots or source control.

**The access token lasts 24 hours and does not renew automatically.** Manually exchange the same assertion for another token while the assertion is valid. An unclaimed anonymous assertion lasts three days; after it expires, register again. The trial itself does not end just because one access token expires.

You can later claim the identity through the registration instructions, or use signed-in OAuth below. Anonymous access grants the read-only MCP permission, not broader account access.

## Signed-in OAuth access

Your MCP client handles sign-in for you, if it supports OAuth for remote servers:

1. The client calls the server URL without a token. The server answers `401` with `WWW-Authenticate: Bearer resource_metadata="https://mcp.fastah.ai/.well-known/oauth-protected-resource"`.
2. That document names `https://signin.fastah.net` as the authorization server. The client discovers its endpoints and registers itself.
3. A browser window opens. Sign in and approve access.
4. The client requests the resource `https://mcp.fastah.ai/mcp` and sends the token it receives in an `Authorization: Bearer` header.

To see the discovery document yourself:

```bash
curl https://mcp.fastah.ai/.well-known/oauth-protected-resource
```

## What your agent sends

Only what a question needs: IP addresses for lookups, and for geofeed row checks only the country, region and city text with an opaque row key. Never put an IP prefix, a feed URL, your organization's name or registry data in a geofeed row check.

## Client compatibility

Use a client that supports MCP `2026-07-28`, `2025-11-25` or `2025-06-18` and your chosen authentication path: a manually supplied bearer token for anonymous access, or remote-server OAuth for signed-in access.

Direct HTTP tool calls are verified in production. A configuration command alone is not proof of compatibility. There is no API-key option.

## Related

- [Try Fastah in your AI chat](https://www.getfastah.com/docs/v2/mcp/mcp-interface): example prompts to start with.
- Questions? Email [support@getfastah.com](mailto:support@getfastah.com).
