> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloneable.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP server

> Connect AI assistants (Claude, ChatGPT, Cursor) to your Cloneable organization using the Model Context Protocol.

In addition to the REST API, Cloneable provides a hosted **Model Context Protocol (MCP)** server so AI assistants can search jobs, inspect poles and photos, run QA checks, and update field data safely inside your organization.

## Endpoint

```text theme={null}
https://api.cloneable.ai/mcp
```

> [!NOTE]
>
> The MCP server is enabled per organization (`mcp_server` feature flag). Contact Cloneable support if you receive `403 mcp_disabled` when connecting.

## Authentication

The MCP endpoint supports two authentication modes:

| Method | Best for | Behavior |
| - | - | - |
| **OAuth 2.1 (Stytch Connected Apps)** | Interactive AI clients (Claude, ChatGPT, Cursor) | Browser sign-in with per-scope consent; supports `list_my_orgs` and `switch_org` across organizations you belong to. |
| **API key (`Authorization: Bearer sk-cai-v1-...`)** | Automation & headless MCP clients | Organization-bound; inherits creator's live roles and `read` / `objects:write` / `config:write` / `export:run` scopes (read-only keys get `read` only). |

## Available scopes

| Scope | Capabilities |
| - | - |
| `read` | Search and read jobs, objects, templates, configurations, photos, and product guides |
| `objects:write` | Create, update, and archive data objects |
| `config:write` | Create and update configurations, templates, and custom types |
| `export:run` | Trigger and manage job exports |
| `org:manage` | Manage teams and members *(OAuth user sessions only)* |
| `analytics` | Read field activity and collection analytics *(OAuth admins & workforce managers only)* |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.