# Connect an MCP client: Claude, ChatGPT, Cursor, VS Code, Zed

> **Casafari is the AI agent-native real estate data intelligence platform.** The most complete property index in Europe: a deduplicated, cleaned property graph of residential and commercial property, for sale and for rent, in 16 countries. Every property is one record with its full price and market history. [How the property graph is built](/docs/property-graph).

Add one connector, `https://platform.casafari.com/mcp`, sign in once, and every product's tools are there.

```text
https://platform.casafari.com/mcp
```

Any MCP client that supports remote MCP servers over Streamable HTTP with OAuth can connect; in Claude and ChatGPT that means adding a custom MCP connector. You sign in with OAuth in the browser, with no key to copy; if you have no account yet, you create one at the sign-in (Free plan, no card). Name the connector `Casafari` (the entry `casafari` in a configuration file). The full guide, with REST and API keys, is [Connect to the Casafari Platform](/docs/connect-platform).

Already a Casafari client? Use the same server: sign up at https://platform.casafari.com/console/, and if you have a contract, Casafari sets your account up on the Custom plan. `mcp.casafari.com` is the legacy gateway, still answering, moving to `https://platform.casafari.com/mcp/<product>`.

## Client by client

### Claude

1. Open **Customize → Connectors**, choose **+ Add** and then **Add custom connector**.
2. Name it `Casafari` and paste `https://platform.casafari.com/mcp` as the URL.
3. Choose **Connect**, sign in or create your account, accept the [Platform Terms of Use](/legal/platform-terms) and approve.

The connector works in claude.ai, Claude Desktop and the Claude mobile apps alike.

**Using Claude Team or Enterprise?** In a company Claude workspace only an organisation owner can add a custom connector; members see **Add custom connector** greyed out ("Ask an organization owner to add this for your team"). An owner adds the one connector once, under **Organization settings → Connectors → Add custom connector**, named `Casafari` with the URL `https://platform.casafari.com/mcp`.

Each member then chooses **Connect** on the connector and signs in with their own Casafari Platform account, so plans and usage stay with each person's account. No owner at hand? Claude Code adds a server for you alone: `claude mcp add --transport http casafari https://platform.casafari.com/mcp`.

### ChatGPT

1. Turn on **Developer mode** in ChatGPT's settings (Apps & Connectors, advanced settings).
2. Create a connector named `Casafari`, paste `https://platform.casafari.com/mcp` as the MCP server URL and choose OAuth.
3. Sign in or create your account and approve.

To run [playbooks](/playbooks) too, create a second connector the same way, named `Playbooks`, with the Playbooks address ([below](#playbooks)).

### Claude Code

```bash
claude mcp add --transport http casafari https://platform.casafari.com/mcp
```

Then run `/mcp` inside Claude Code and choose **Authenticate**.

### Cursor

Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):

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

### VS Code

Add to `.vscode/mcp.json`:

```json
{
  "servers": {
    "casafari": { "type": "http", "url": "https://platform.casafari.com/mcp" }
  }
}
```

### Codex CLI

```bash
codex mcp add casafari --url https://platform.casafari.com/mcp
codex mcp login casafari
```

`codex mcp login` opens Casafari's sign-in page in the browser. The entry is `[mcp_servers.casafari]` with `url = "https://platform.casafari.com/mcp"` in `~/.codex/config.toml`, which the Codex IDE extension shares.

### Gemini CLI

```bash
gemini mcp add --transport http casafari https://platform.casafari.com/mcp
```

Then run `/mcp auth casafari` inside Gemini CLI and sign in in the browser. The entry lands in `.gemini/settings.json` as `"httpUrl"`; add `--scope user` to keep it in `~/.gemini/settings.json` for every project.

### Devin Desktop (formerly Windsurf)

Add to `~/.config/devin/mcp_config.json` (`%APPDATA%\devin\mcp_config.json` on Windows), which Devin CLI reads too:

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

Devin opens Casafari's sign-in page the first time it uses the server; in Devin CLI, `devin mcp login casafari` does it on demand.

### Visual Studio

GitHub Copilot in Visual Studio 2022 17.14 or later. Add to `%USERPROFILE%\.mcp.json` (or `.mcp.json` in the solution folder):

```json
{
  "servers": {
    "casafari": { "url": "https://platform.casafari.com/mcp" }
  }
}
```

Then choose **Manage Authentication** in the CodeLens above the server and sign in in the browser.

### Zed

Open **Settings → AI → MCP Servers**, choose **Add Server**, then **Add Remote Server**. Or add to `~/.config/zed/settings.json` (`%APPDATA%\Zed\settings.json` on Windows):

```json
{
  "context_servers": {
    "casafari": { "url": "https://platform.casafari.com/mcp" }
  }
}
```

With no `Authorization` header in the entry, Zed signs in with the standard MCP OAuth flow and opens Casafari's sign-in page.

### Cline

In Cline's **MCP Servers** panel, open **Remote Servers**, name the server `casafari`, paste the URL and choose **Streamable HTTP**. In the MCP settings file (**Configure MCP Servers**) the entry is:

```json
{
  "mcpServers": {
    "casafari": { "type": "streamableHttp", "url": "https://platform.casafari.com/mcp" }
  }
}
```

Cline authorizes a remote server in the browser; in Cline CLI, `cline mcp` has **Authorize OAuth**.

### JetBrains Junie

Add to `~/.junie/mcp/mcp.json` (or `.junie/mcp/mcp.json` in a project); Junie in JetBrains IDEs and Junie CLI read the same configuration:

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

The server shows **Authorization required** until you sign in: in Junie CLI run `/mcp`, choose **Authorize** on the server and sign in in the browser.

### Kiro

Add to `~/.kiro/settings/mcp.json` (or `.kiro/settings/mcp.json` in a workspace):

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

Kiro runs the OAuth sign-in in the browser when it connects.

### Warp

Open **Settings → Agents → MCP servers**, choose **+ Add** and paste:

```json
{
  "casafari": { "url": "https://platform.casafari.com/mcp" }
}
```

Warp opens the browser for sign-in the first time the server starts.

### goose

Run `goose configure`, choose **Add Extension**, then **Remote Extension (Streamable HTTP)**, and give `https://platform.casafari.com/mcp` as the URL (in goose Desktop: **Extensions → Add custom extension**). goose registers itself and signs in with OAuth in the browser.

### Any other client or agent

Point the client at `https://platform.casafari.com/mcp`. It registers itself (OAuth 2.1 with dynamic client registration and PKCE) and opens Casafari's sign-in page; the authorization server's metadata is at `https://platform.casafari.com/.well-known/oauth-authorization-server`.

### Check it works

Ask your assistant to call `account_status`: it answers with your plan and balance. Place names become location ids with `locations_search`, free, on the same server.

## Where else to find Casafari

Every entry below points at the same servers under `https://platform.casafari.com/mcp` and signs in with OAuth 2.1, so no API key is needed.

- **Claude:** [Claro AI by Casafari](https://claude.ai/directory/claro-ai-by-casafari) is in Claude's Connectors Directory; everything else is the custom connector above.
- **Cursor:** [Casafari in the Cursor Directory](https://cursor.directory/plugins/casafari), with **Add to Cursor** next to each server.
- **Postman:** [Casafari on Postman's API Network](https://www.postman.com/casafari-platform-ai-api-mcp), with a collection of the MCP servers and REST collections.
- **Glama:** one connector per server, such as [Claro AI on Glama](https://glama.ai/mcp/connectors/com.casafari/claro).
- **Official MCP Registry:** [search the registry for casafari](https://registry.modelcontextprotocol.io/v0.1/servers?search=casafari).
- **GitHub:** [casafari/casafari-mcp](https://github.com/casafari/casafari-mcp) holds the Claude Code plugin, the Cursor plugin, the Gemini CLI extension and REST examples.

## One product at a time

Each product is also its own server, for a connector limited to one product or an existing connection:

- Location Lookup: `https://platform.casafari.com/mcp/locations`
- Area Insights: `https://platform.casafari.com/mcp/area-insights`
- Comparables: `https://platform.casafari.com/mcp/comparables`
- Comparables with Transactions: `https://platform.casafari.com/mcp/comparables-transactions`
- Property Sourcing: `https://platform.casafari.com/mcp/property-sourcing`
- Private Seller Leads: `https://platform.casafari.com/mcp/private-sellers`
- AgencyGraph: `https://platform.casafari.com/mcp/agencygraph`
- Cadastre: `https://platform.casafari.com/mcp/cadastre`
- Parcel Zoning: `https://platform.casafari.com/mcp/parcel-zoning`
- Claro AI: `https://platform.casafari.com/mcp/claro`

Each of these is its own protected resource with its own sign-in; its tools and prices are the same as on the one server. For a product's server, use its URL in the steps above and name the entry `casafari-<product>`, for example `casafari-comparables`. Alerts and High Potential Seller Leads have no MCP server. Playbooks is a connector of its own, below, not a product of the one server.

## Playbooks

[Playbooks](/playbooks) are ready-made jobs on Casafari data, each at a known cost in tokens. They run from their own connector, `https://platform.casafari.com/mcp/playbook`, which you add beside the one server with the same steps as above (name it `Playbooks`, or `casafari-playbook` in a file) and sign in to once. In Claude and ChatGPT it shows as a second connector next to Casafari. The one server does not run playbooks; it only has the product tools.

The connector has five tools, all free in themselves: `playbook_plan` (what a goal needs and the most it can cost; nothing is run or billed), `playbook_run`, `playbook_status`, `playbook_explain` and `playbook_call`, plus `account_status` and `locations_search`. Ask for an outcome in words ("Run the seller pitch pack playbook for Spain", "What would a weekly market report for Lisbon cost?"): the assistant plans first, shows you the steps and the maximum in tokens, and runs only after you agree. A run costs exactly the sum of its steps, charged by each product as any call. If a run stops (a payment or verification is needed, or it ran out of time), finished steps keep their results and `playbook_run` with the same run id continues from the next step, billing nothing twice.

Playbooks need the signed-in connector: a run with an API key must finish in one call, so a long playbook answers `needs_oauth` there, and the console's **Run now** uses your session the same way. In Claude Code: `claude mcp add --transport http casafari-playbook https://platform.casafari.com/mcp/playbook`.

## Questions about this

- [What is Casafari MCP?](/docs/faq/what-is-casafari-mcp)
- [Which address do I use: api.casafari.com or platform.casafari.com (mcp.casafari.com is the legacy gateway)?](/docs/faq/which-address-do-i-use)
- [I already have Casafari MCP or API access. Does anything change for me?](/docs/faq/existing-client-what-changes)
- [How do I connect Casafari to Claude, ChatGPT, Claude Code or Cursor?](/docs/faq/connect-a-client)
- [How do I run a Casafari playbook in ChatGPT or Claude?](/docs/faq/run-a-playbook)
