Connect an AI agent
Claude or any other MCP client can work in your account on your behalf: start calls and campaigns, read results and transcripts, keep knowledge up to date. An agent can never do more than the credential you give it.
https://mcp-callboi.boilab.ai/mcpOn this page
What an agent can do
| Area | Tools |
|---|---|
| Calls | List, get, transcript, outcome, start a call, test call to your own verified number, cancel |
| Leads | Create, find, record consent, add a suppression |
| Campaigns | List, get with stats, create, add leads, launch, pause, resume |
| Agents | List, get, versions |
| Analytics | Overview, calls per day and hour |
| Knowledge | Search facts, read the model, add a text or web page source, correct a drafted fact, try the agent |
What it cannot do
- It cannot publish knowledge. Putting a price or a legal promise onto live calls is a person's act; publishing stays on the dashboard.
- Real calls ask first. Tools that start a call or a test call, launch or resume a campaign, cancel a call or add a suppression are marked destructive, so the client asks you before running them.
- A daily limit. Each credential starts at most 50 calls a day unless you change it. Consent, suppression, calling hours, budget and the kill switch apply to an agent's calls as to any other.
- Test calls ring only your verified numbers. An agent may test-call only a number you verified with an SMS code in the dashboard; any other number is refused with
TEST_NUMBER_NOT_VERIFIED, and the agent cannot verify one. A test call counts against the daily limit and keeps to calling hours: 09:00 to 20:00, Monday to Saturday, in the number's local time. Outside them it is refused withOUTSIDE_CALLING_WINDOW, never queued. - It cannot manage the account. There are no tools for the team, API keys, provider connections or account settings.
- Third-party text is data. Transcripts, outcomes and knowledge facts arrive in an
untrustedThirdPartyContentfield; an agent should not follow instructions inside them.
claude.ai custom connector
No key to copy; the connection is made with OAuth.
- In claude.ai open Settings, Connectors, and add a custom connector. On a Team or Enterprise plan an owner adds it to the organisation's connectors first.
- Name it
CallBoiand enterhttps://mcp-callboi.boilab.ai/mcp. Leave the OAuth client ID and secret empty; Claude registers itself. - Choose Connect. Claude opens CallBoi's consent page.
- Sign in to the dashboard, pick the account if you have several, check the permissions and choose Approve. You are sent back to Claude and the CallBoi tools appear in the chat.
A connection is bounded by the role of the person who approved it. If their role narrows, so does the connection; if they leave the account, it ends.
Claude Code
Create an API key and run:
claude mcp add --transport http callboi https://mcp-callboi.boilab.ai/mcp \
--header "Authorization: Bearer cbk_live_…"Check it with claude mcp list. Keep the key in an environment variable rather than your shell history.
Claude Desktop and other MCP clients
A connector you add on claude.ai also appears in Claude Desktop on the same account. Where connectors are not available, add CallBoi to claude_desktop_config.json through the mcp-remote bridge with an API key:
{
"mcpServers": {
"callboi": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp-callboi.boilab.ai/mcp",
"--header", "Authorization:${CALLBOI_AUTH}"],
"env": { "CALLBOI_AUTH": "Bearer cbk_live_…" }
}
}
}Clients that speak Streamable HTTP connect to the URL directly. Field names differ from client to client; what matters is the URL and an Authorization header:
{
"mcpServers": {
"callboi": {
"url": "https://mcp-callboi.boilab.ai/mcp",
"headers": { "Authorization": "Bearer cbk_live_…" }
}
}
}A script with an API key
No MCP needed: call the API directly. The base URL is https://api-callboi.boilab.ai; every endpoint is in the API reference.
curl "https://api-callboi.boilab.ai/v1/calls?limit=5" \
-H "Authorization: Bearer $CALLBOI_API_KEY"Starting a call is safe to retry with the same Idempotency-Key:
curl -X POST "https://api-callboi.boilab.ai/v1/calls" \
-H "Authorization: Bearer $CALLBOI_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042-call" \
-d '{"leadId": "lead_…", "agentVersionId": "agv_…", "providerConnectionId": "pcon_…"}'In TypeScript, with plain fetch and no package:
const BASE = "https://api-callboi.boilab.ai";
const KEY = process.env.CALLBOI_API_KEY!;
async function callboi<T>(method: string, path: string, body?: unknown, idempotencyKey?: string): Promise<T> {
const res = await fetch(BASE + path, {
method,
headers: {
authorization: `Bearer ${KEY}`,
...(body ? { "content-type": "application/json" } : {}),
...(idempotencyKey ? { "idempotency-key": idempotencyKey } : {}),
},
body: body ? JSON.stringify(body) : undefined,
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message} [${data.error.correlationId}]`);
return data as T;
}
const lead = await callboi<{ id: string }>(
"POST", "/v1/leads", { phone: "+905301112200", name: "Ayşe" }, "lead-import-42",
);
const call = await callboi<{ accepted: true; id: string; kind: string }>(
"POST", "/v1/calls",
{ leadId: lead.id, agentVersionId: "agv_…", providerConnectionId: "pcon_…" },
`call-${lead.id}`,
);Create a key
- On the dashboard open Settings, API keys. Creating a key needs a role that may manage API keys.
- Give the key a name, such as the agent's.
- Pick a preset: Read only only reads, Calls starts calls and campaigns, Knowledge adds documents and corrects facts. Choose Custom to pick permissions one by one.
- Check the daily call limit; it is 50 by default.
- Choose Create API key and copy the key at once. It is shown only once.
Revoke a key or a connected app
- An API key: Settings, API keys, Revoke on the key's row in Keys. Everything using it stops at once.
- A connected app: on the same screen, Disconnect in Connected Apps. Removing the connector in Claude ends the connection too.
- Both lists change the daily call limit with Change. Every change made by a key or an app shows under its name in the audit log.