# How do I connect any other MCP client or my own agent?

> **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).

Point the client at `https://mcp.casafari.com/` and let it register itself and sign in with PKCE. The `401` it receives carries a `WWW-Authenticate` header that points to the sign-in metadata.

1. Fetch the protected resource metadata named in the header, then the authorization server metadata it points to.
2. Register once at the registration endpoint (dynamic client registration) and keep the `client_id`.
3. Send the person to the authorization endpoint with PKCE, `state` and `resource`, then exchange the code for tokens.
4. Call the server with `Authorization: Bearer <access_token>`, and refresh the token when it expires.

An agent that runs without a person to sign in can't register itself. Instead, it uses client credentials that Casafari issues for the account. Call [`list_servers`](https://platform.casafari.com/docs/gateway/list_servers) before using a product.

See: [Connect your assistant](https://platform.casafari.com/docs/connect), [Authentication](https://platform.casafari.com/docs/authentication), [casafari.com/auth.md](https://www.casafari.com/auth.md).

## Where this is documented

- [list_servers](https://platform.casafari.com/docs/gateway/list_servers)
- [Connect your assistant](https://platform.casafari.com/docs/connect)
- [Authentication](https://platform.casafari.com/docs/authentication)

## Related questions

- [How do I connect Casafari MCP to Claude?](https://platform.casafari.com/docs/faq/connect-claude)
- [How do I connect Casafari MCP to ChatGPT?](https://platform.casafari.com/docs/faq/connect-chatgpt)
- [How do I add Casafari MCP to Claude Code?](https://platform.casafari.com/docs/faq/connect-claude-code)
- [How do I add Casafari MCP to Cursor?](https://platform.casafari.com/docs/faq/connect-cursor)
- [How do I add Casafari MCP to VS Code?](https://platform.casafari.com/docs/faq/connect-vscode)

All questions: https://platform.casafari.com/docs/faq#connect-other-client
