Claude Code + MCP

Run outbound calling campaigns from Claude Code in your terminal.

One command adds FoxEra Calls as a remote MCP server. From there, Claude Code can upload leads, preview the cost, schedule calls and pull transcripts, all with an approval step before anyone is phoned.

Why run outbound calls from the terminal?

If your workflow already lives in the terminal, managing outreach there too removes a context switch. Claude Code supports remote MCP servers natively, so adding FoxEra Calls gives it the ability to operate your calling account: upload leads, pick the AI agent, preview the campaign, schedule it after your approval, and report back with transcripts and recordings.

You pay only for connected minutes, from 12p per connected minute, with no subscription. New accounts get £7 of free calling credit.

How to add FoxEra Calls to Claude Code

  1. Run the following in your terminal:
    claude mcp add --transport http foxera https://app.foxera.co.uk/mcp
  2. The next time Claude Code calls a FoxEra tool, an OAuth consent screen opens in your browser. Sign in with your FoxEra Calls account (or create one) and press Allow.
  3. Ask Claude Code to check your account status. If it returns your workspace name and credit balance, the connection is live.

That is the full setup. Nothing else to install, no API key to copy, no background process to maintain.

What Claude Code can do with the connection

Every action available in the FoxEra Calls dashboard is exposed as a tool Claude Code can call. The most common actions are:

  • Add leads individually or from a file (names, phone numbers, company names)
  • Choose an AI calling agent (Cass, Alex or Andrea) and review or edit the calling pitch
  • Preview a campaign: the exact headcount, estimated duration and price, shown to you before anything happens
  • Approve and schedule the campaign for a specific date and time
  • Read outcomes, transcripts and listen to recordings after calls finish
  • Check your credit balance and pull a cost report

The developer guide has the full tool list and the OpenAPI 3.1 spec if you want to use the REST API alongside Claude Code.

The approval gate that stops accidental calls

Claude Code will not phone anyone without your say-so. The FoxEra server enforces a two-step gate on every campaign: first, the assistant shows you exactly how many people will be called and the estimated cost; second, it asks for your explicit approval. Only after you type your yes does the campaign go live.

This is enforced server-side. It does not depend on Claude Code's own permission prompts or on the phrasing of a system prompt. Your OAuth token is scoped to your workspace only, every action is logged, and revoking access is as simple as changing your password. Read more about the UK rules around cold calling to make sure your list is compliant before you start.

A sample terminal session

Here is what a real exchange looks like inside Claude Code:

  1. You: “Upload the leads in prospects.csv and have Alex call them on Wednesday at 9.”
  2. Claude Code: reads the file, uploads the leads, selects Alex, drafts a pitch from your website and shows you a campaign preview with the headcount and estimated cost.
  3. You: “Approved.”
  4. Claude Code: creates and schedules the campaign for Wednesday 09:00.
  5. After the calls: “Show me the results.”
  6. Claude Code: returns a summary: calls connected, conversations held, interest flagged, and a link to each transcript.

See what your first campaign should aim for so you know what to expect from the numbers.

Using Claude Code alongside the REST API

The MCP connection is the fastest way to get started. If you later want to script campaigns in your own code, the same account also supports bearer API keys (fxk_...) against a documented REST API with an OpenAPI 3.1 spec that works with GPT Actions and any HTTP client.

Both routes share the same workspace, leads and campaign history. You can also connect the same account from ChatGPT, Cursor or any other assistant that supports remote MCP, all running in parallel with the same approval gate on every campaign.

Read more about how FoxEra Calls works or use the cost calculator to estimate your first campaign.

Frequently asked questions

Do I need to install anything besides Claude Code?

No. The MCP server is remote, so the single claude mcp add command is all you need. There is no local server, no Docker image and no extra dependency.

Can Claude Code start calling people without asking me first?

No. The FoxEra server enforces headcount confirmation and explicit approval before any campaign launches. This is server-side, not model-side.

What does it cost?

The MCP connection is free. Calls cost from 12p per connected minute with no subscription. New accounts get £7 of free calling credit.

Can I connect the same account from Claude Code and other assistants?

Yes. Every assistant connects through the same MCP server URL and acts inside the same workspace. The approval gate applies to each one independently.

Start free with £7 calling credit