# MCP

DoorOps hosts a remote MCP server on your tenant subdomain.

```
https://{your-org}.doorops.com/mcp
```

Access uses OAuth 2.1 and the `mcp:use` scope. The agent inherits your role and never leaves your organisation.

Connecting works on every plan. The `mcp_access` entitlement gates the individual tools, not the connection handshake. Copy the URL from **Settings → Connect an AI agent**.

## Two servers. Do not mix them up.

| Server | URL | Login | Data |
| --- | --- | --- | --- |
| Public marketing MCP | `https://doorops.com/mcp` | None | Product facts and consent-bound enquiries |
| Tenant MCP | `https://{org}.doorops.com/mcp` | OAuth | Your customers, sites, jobs, forms |

## Claude

1. Claude → Customize → Connectors
2. Add custom connector
3. Paste `https://{your-org}.doorops.com/mcp`
4. Connect and sign in to DoorOps
5. Approve `mcp:use`
6. Team and Enterprise: an owner adds it once under organisation connectors

## ChatGPT

1. Use ChatGPT on the web (custom MCP is not in the mobile apps)
2. Settings → Apps → Advanced → Developer mode
3. Settings → Apps → Create, paste the MCP URL
4. OAuth sign-in, scan tools, authorise, Create
5. Plan limits are ChatGPT's: Business/Enterprise/Edu get read and write, Pro is read-only, Plus cannot add one

## Grok

1. [grok.com/connectors](https://grok.com/connectors)
2. New Connector → Custom
3. Paste the tenant MCP URL
4. Sign in and approve `mcp:use`
5. Grok Business and Enterprise: an admin provisions it first

## Tools

Tools hide when your role or plan cannot use them. Creates re-check policies. Cross-tenant ids return not found.

- `whoami`
- `list_customers` / `get_customer` / `create_customer`
- `list_sites` / `get_site` / `create_site`
- `list_form_submissions` / `get_form_submission`
- `get_site_rollup_summary`
- `get_asset_history`
- `get_operational_brief`
- `create_job_draft` (unassigned draft only. Never schedules or messages a customer)

Load the [operate-doorops skill](/docs/developers/skills) for authenticated behaviour. Revoke under Settings → Connected apps.
