# Connect an AI assistant to CallShift

URL: https://www.callshift.ai/docs/mcp

The CallShift connector (MCP) lets your AI assistant read and act on one CallShift workspace, with your role in it. You sign in through the browser: there is no API key to copy. Then ask in plain language for a campaign's results, a new agent or a retry of the contacts you did not reach.

## The server address

The connector speaks the Model Context Protocol over HTTP. Every assistant takes the same address:

```bash
https://mcp.callshift.ai/mcp
```

## Add it to your assistant

### Claude

On claude.ai or in Claude Desktop:

1. Open **Settings**, then **Connectors**, and click **Add custom connector**.

2. Name it CallShift and paste the server address.

3. Click **Connect**: a browser window asks you to sign in to CallShift and choose a workspace.

### Claude Code

```bash
claude mcp add --transport http callshift https://mcp.callshift.ai/mcp
```

Then run `/mcp` in Claude Code and choose **callshift** to sign in.

### Cursor

Add the server to `.cursor/mcp.json`, in your project or in your home folder, and sign in when Cursor asks.

```json
{
  "mcpServers": {
    "callshift": { "url": "https://mcp.callshift.ai/mcp" }
  }
}
```

### ChatGPT

1. In **Settings**, open **Apps and connectors**, then **Advanced settings**, and turn on **Developer mode**.

2. Back in **Apps and connectors**, click **Create**. Name the connector CallShift, paste the server address and choose **OAuth** as the authentication.

3. Sign in to CallShift and choose a workspace. In a conversation, add the connector from the **+** menu.

### Other assistants

Any assistant that connects to remote MCP servers over HTTP with OAuth needs only the server address. It finds the sign-in page on its own.

## Sign in and choose a workspace

The first time the assistant reaches CallShift, you sign in with your CallShift account and choose the workspace it acts on. A connection covers that one workspace. To work on two workspaces, add the connector twice and choose a different workspace each time.

The assistant acts with your role in the workspace:

| Role | What the assistant can do |
| --- | --- |
| Viewer | Read: calls, campaigns, agents, numbers, tools and variables. The write tools are not offered at all. |
| Member, Admin | Read and write: every tool below. |

## What the connector can do

Each tool returns its data as JSON. Ids come from the list tools: the assistant lists the agents before it updates one.

### Calls

| Tool | What it does | Access |
| --- | --- | --- |
| `summarize_calls` | Counts the calls of a period, in total or by agent, campaign, entity, day or ended reason: outcomes, reach, durations, billed minutes, estimated cost and qualification answers. It answers questions about thousands of calls in one request. | Read |
| `list_calls` | Lists calls, latest first, with their outcome, duration and summary, up to 100 a page. Filters: date, agent, campaign, entity, the caller's number, outcome. | Read |
| `get_call` | One call in full: transcript, recording, summary and the information the agent collected. | Read |

### Campaigns

| Tool | What it does | Access |
| --- | --- | --- |
| `list_campaigns` | The campaigns, with their status, agent and number. | Read |
| `get_campaign` | A campaign's status and progress: total calls, reached, completed. | Read |
| `create_campaign` | Creates an outbound campaign on an agent and a number. It is created inactive and dials nobody. | Write |
| `add_campaign_contacts` | Queues up to 1,000 contacts on an inactive campaign. Adding contacts never dials. | Write |
| `start_campaign` | Starts the campaign. The only tool that places calls, after your confirmation (see below). | Write |
| `stop_campaign` | Stops the campaign. Queued calls are kept, so it can start again. | Write |
| `retry_campaign` | Creates a campaign that calls back the contacts a previous one did not reach and who did not call back. It is created inactive. | Write |
| `cancel_queued_calls` | Deletes a campaign's calls not yet placed, all of them or for some numbers. Calls already placed are not touched. | Write |

### Agents

| Tool | What it does | Access |
| --- | --- | --- |
| `list_agents` | The workspace's voice agents. | Read |
| `get_agent` | An agent's full configuration, its prompt and voice settings included. | Read |
| `create_agent` | Creates an agent from a name, a gender and a language, with the default voice model and call flow unless you give your own. | Write |
| `update_agent` | Changes the fields given and nothing else. Live campaigns take the change on their next call. | Write |
| `duplicate_agent` | Copies an agent, to try a change without touching the one in production. | Write |

### Phone numbers

| Tool | What it does | Access |
| --- | --- | --- |
| `list_phones` | The workspace's numbers, with the agent that answers each one. | Read |
| `update_phone` | Sets the agent that answers a number's inbound calls, or removes it. | Write |

### Agent tools

| Tool | What it does | Access |
| --- | --- | --- |
| `list_tools` | The actions agents can take during a call (an HTTP request, a web page search, an SMS, an email), with their configuration. | Read |
| `get_tool` | One tool's full configuration. | Read |
| `create_tool` | Creates a tool. An agent uses it once its prompt refers to it. | Write |
| `update_tool` | Changes a tool's name, description or configuration, for every agent that uses it. | Write |

### Variables

| Tool | What it does | Access |
| --- | --- | --- |
| `list_variables` | The variables with their default value, the entities that have their own value and the agents that use them. Also the workspace's entities. | Read |
| `create_variable` | Creates a variable, with or without a default value. | Write |
| `set_variable_values` | Sets the default value of variables, or one entity's own. The next call of every agent that uses them takes it. | Write |

## Starting a campaign

> **Calls only go out once you agree**
>
> `start_campaign` is the only tool that places real calls. Called first, it dials nobody: it returns the campaign's name, its agent, its number and how many contacts would be called, and your assistant shows it to you. The calls go out when you confirm. If contacts are added in between, the confirmation no longer holds and the new count is shown.

## What to ask

```
Compare last week's campaign with the one before: reach rate, average duration and the answers to the qualification questions.
```

```
Duplicate the agent Alice, name the copy "Alice Marseille" and have it answer the new number.
```

```
Create a retry campaign for the contacts of yesterday's campaign we did not reach, and show me how many it would call before you start it.
```

## Revoke an assistant

In the CallShift dashboard, the **AI assistants** page, at [app.callshift.ai/ai-assistants](https://app.callshift.ai/ai-assistants), lists the assistants connected to the workspace, with their first and last use. Anyone can revoke their own, and an admin can revoke any of them. A revoked assistant is refused on that workspace until it is reconnected; the person keeps their access to CallShift.

An assistant that works with an API key, such as the [Claude skill](https://www.callshift.ai/docs/claude), does not go through the connector: revoke its key at [app.callshift.ai/api-keys](https://app.callshift.ai/api-keys).

## The connector or the API

The connector covers reporting, campaigns, agents, numbers, agent tools and variables. Webhooks, entities, contacts and SIP trunks are managed through the [REST API](https://www.callshift.ai/docs/api), from your code or from Claude with the [CallShift API Manager skill](https://www.callshift.ai/docs/claude).
