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

# MCP endpoint

> Connect Claude, ChatGPT, or another MCP client to your workspace

The **Model Context Protocol (MCP)** endpoint lets an AI application work with the same workspace resources you use in the dashboard, subject to your plan, role, and approved permissions.

```text theme={null}
https://app.famulor.io/mcp
```

On a white-label domain, use that domain instead. The login and consent screens use the same branding. Your plan must include **Connect AI / MCP**.

## Connecting clients

<Tabs>
  <Tab title="Claude">
    1. Open **Settings → Connectors → Add custom connector**.
    2. Enter `https://app.famulor.io/mcp`.
    3. Sign in and approve the requested permissions.
    4. The approved tools appear in Claude.
  </Tab>

  <Tab title="ChatGPT">
    1. Open **Settings → Connectors → Create**.
    2. Enter `https://app.famulor.io/mcp` and select **OAuth**.
    3. Sign in and approve the requested permissions.
  </Tab>

  <Tab title="Other clients">
    Use the endpoint above with OAuth. For trusted server-to-server integrations, you can instead send a workspace API key as a Bearer token.
  </Tab>
</Tabs>

### Connect from inside Famulor

Choose **Connect** in the sidebar, or **Use with ChatGPT & Claude** on the dashboard. The dialog shows the correct MCP URL for your current domain and offers starter prompts for common tasks — build an assistant, diagnose one that misbehaves, analyze your last call, improve from your last 30 calls, or launch a campaign.

<Tip>
  Working from a coding agent such as Claude Code, Cursor, or Codex, install the open-source [Famulor Skill](https://github.com/bekservice/Famulor-Skill) with `npx skills add bekservice/Famulor-Skill`. It carries the endpoint configuration (add the URL manually if your client doesn't pick it up) plus Famulor-specific working rules on top of raw MCP access: read current state before changing it, confirm anything hard to reverse, and stay inside the authenticated workspace.
</Tip>

## Authentication and consent

Compatible clients start the OAuth sign-in automatically. The consent screen shows the requested permissions before anything is shared. Approvals can be revoked from your account settings.

For a manual or server-to-server connection, send a workspace API key:

```http theme={null}
Authorization: Bearer fam_...
```

Use the narrowest scopes required. Write scopes include the corresponding read access.

## Choosing which tools to expose

The standard endpoint exposes all tools allowed by the credential. For a smaller tool list, select one or more groups when connecting:

```text theme={null}
https://app.famulor.io/mcp?toolsets=assistants,calls
```

You can also send `X-MCP-Toolsets: assistants,calls`. The header takes precedence over the query parameter. Use `list_mcp_toolsets` to see the groups available to your account.

| Group         | Customer-facing capabilities                                                                                                                                                                                     |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `assistants`  | Assistants, versions, models, voices, reusable tools, bookings, and simulations                                                                                                                                  |
| `calls`       | Calls, conversation history, transcripts, and permitted call actions                                                                                                                                             |
| `campaigns`   | Campaigns, audiences, leads, suppression, and CRM sync                                                                                                                                                           |
| `messaging`   | Messaging and email connectors, templates, and conversations                                                                                                                                                     |
| `telephony`   | Phone numbers, SIP trunks, your own carrier connections and BYOC import, caller-ID and number verification, and the full Famulor Loop system — presence, ring groups, queues, routing rules, devices, and Recall |
| `knowledge`   | Knowledge bases, documents, website imports, and connected file sources                                                                                                                                          |
| `dashboards`  | Analytics dashboards and widgets                                                                                                                                                                                 |
| `automations` | Automations, connections, Milian Missions, and run history                                                                                                                                                       |
| `billing`     | Balance, usage, transactions, referrals, and outbound limits                                                                                                                                                     |
| `settings`    | Workspace settings, domains, API keys, and retention                                                                                                                                                             |
| `platform`    | White-label customer management for authorised resellers                                                                                                                                                         |
| `migration`   | Preview and import Famulor 1.0 resources or inactive assistant shells from Retell AI, Vapi, and Synthflow                                                                                                        |
| `tasks`       | Long-running exports, crawls, simulations, and campaign preparation                                                                                                                                              |

The MCP client receives the current input schema, permissions, and safety hints for every tool it is allowed to use. This live discovery is the authoritative reference for individual tool arguments.

### Public directory profile

The reviewed ChatGPT and Claude directory connection uses:

```text theme={null}
https://app.famulor.io/mcp?profile=assistant-history
```

This profile is limited to read-only assistant information and read-only conversation history. It excludes assistant changes, outbound calls, campaigns, messaging, phone-number management, billing, integrations, and tool-group discovery. Custom MCP connections keep the permissions selected during their own setup.

## Example prompts

Once a client is connected, plain language reaches every tool it's approved for:

| Task        | Try asking                                                                                         |
| ----------- | -------------------------------------------------------------------------------------------------- |
| Assistants  | "Create an after-hours support assistant and run a test conversation against it before I go live." |
| Calls       | "Show me last week's calls that didn't succeed, with the transcript for each."                     |
| Campaigns   | "Start the Q3 renewal campaign and tell me how many contacts are queued."                          |
| Messaging   | "Draft a WhatsApp template asking a customer to confirm their appointment."                        |
| Knowledge   | "Add our refund-policy page as a knowledge source and tell me how many pages it indexed."          |
| Automations | "Build an automation that texts a follow-up 30 minutes after a missed call."                       |

<Tip>
  A well-behaved client reads current state before changing it, and asks you to confirm anything hard to reverse — an outbound call, a message send, a campaign start, a purchase. Use E.164 phone numbers in your prompts, review a generated system prompt before asking the client to save it, and keep one workflow per prompt so a multi-step request stays easy to follow.
</Tip>

## Long-running tasks

Website imports, simulations, history exports, and large campaign preparations may continue as MCP tasks. A compatible client can show progress, retrieve the result, or request cancellation. Cancellation stops remaining work when possible; an action already accepted by an external service may still complete.

Exports use short-lived private download links. Tasks and their results remain limited to the workspace and credential that created them.

Call-history tools return a provider-neutral `failure` object when a call cannot complete. Use its code, customer-safe message, retry guidance, and suggested action instead of relying on infrastructure-specific details.

## Errors

| Status | Meaning                                                              |
| ------ | -------------------------------------------------------------------- |
| `401`  | The token is missing or invalid; reconnect the client                |
| `403`  | The plan, role, or approved scopes do not allow the requested action |
| `405`  | Send MCP requests with `POST`                                        |
| `429`  | Too many requests; wait and retry                                    |

<Tip>
  The same customer capabilities are available through the [REST API](/api-reference/introduction). Choose the interface that best fits your integration.
</Tip>
