Skip to main content
Glama
Dunefox Voice MCP Server

Dunefox Voice MCP Server

Dunefox Voice MCP server

An MCP (Model Context Protocol) server for Dunefox Voice, the AI voice calling platform from Dunefox. Dunefox Voice's AI agents call your leads, hold a real conversation in their own language (50+ languages, including English/Hindi/Marathi with mid-sentence code-switching), qualify them, book appointments, and hand the hot ones to your team, with recordings, transcripts and summaries logged automatically.

This server lets any MCP client (Claude, Claude Code, OpenAI Codex, VS Code, or any other MCP host) manage a Dunefox Voice workspace directly: create and edit AI calling agents, run outbound calling campaigns, place calls, send one-way voice messages (order updates, payment reminders, delivery notifications), read call and campaign analytics, and manage webhook endpoints. One MCP connection, the whole AI voice agent platform.

It is a thin client. Every tool is one HTTPS call to Dunefox Voice's public v1 API with the same x-api-key / x-org-id headers a curl request would use, gated by the same scopes. This server holds no data of its own and can never do more than the API key it is given.

New to Dunefox Voice? Start a trial at dunefox.io/voice. This repository is the developer-facing MCP connector for an existing workspace, not the product itself.

Requirements

Related MCP server: Rymi

Setup

  1. Get an API key. In your Dunefox Voice dashboard, go to Settings → Developer and create a key. Tick the scopes you want this MCP connection to have. dial, agents and campaigns are off by default: they spend money or change what a workspace's calls say and do, so a key doesn't get that power just by existing. The key is shown once; save it immediately. Note the workspace's org id, shown next to the key.

  2. Clone and install:

    git clone https://github.com/ingalgi-krishna/dunefox-voice-mcp.git
    cd dunefox-voice-mcp
    npm install
  3. Connect it to your MCP client. DUNEFOX_API_BASE_URL is optional in every example below and defaults to https://voice.dunefox.io; set it only if your workspace runs somewhere else (a self-hosted deploy, a staging environment).

    Edit your claude_desktop_config.json (config file locations):

    {
      "mcpServers": {
        "dunefox-voice": {
          "command": "npx",
          "args": ["tsx", "/absolute/path/to/dunefox-voice-mcp/src/index.ts"],
          "env": {
            "DUNEFOX_API_KEY": "sk_live_...",
            "DUNEFOX_ORG_ID": "your-org-id"
          }
        }
      }
    }

    Restart Claude Desktop.

    From any terminal, no config file to edit:

    claude mcp add dunefox-voice \
      --env DUNEFOX_API_KEY=sk_live_... \
      --env DUNEFOX_ORG_ID=your-org-id \
      -- npx tsx /absolute/path/to/dunefox-voice-mcp/src/index.ts

    Add a block to ~/.codex/config.toml ($CODEX_HOME/config.toml):

    [mcp_servers.dunefox-voice]
    command = "npx"
    args = ["tsx", "/absolute/path/to/dunefox-voice-mcp/src/index.ts"]
    env = { DUNEFOX_API_KEY = "sk_live_...", DUNEFOX_ORG_ID = "your-org-id" }

    Create .vscode/mcp.json in your workspace (or run MCP: Add Server from the Command Palette):

    {
      "servers": {
        "dunefox-voice": {
          "type": "stdio",
          "command": "npx",
          "args": ["tsx", "/absolute/path/to/dunefox-voice-mcp/src/index.ts"],
          "env": {
            "DUNEFOX_API_KEY": "sk_live_...",
            "DUNEFOX_ORG_ID": "your-org-id"
          }
        }
      }
    }

    To share one config across VS Code, Codex and other Copilot surfaces instead, use the portable .mcp.json format at your workspace root (top-level mcpServers, same shape as the Claude Desktop example above), see the VS Code MCP docs for the full reference.

    Point it at a stdio server: npx tsx /absolute/path/to/dunefox-voice-mcp/src/index.ts, with DUNEFOX_API_KEY and DUNEFOX_ORG_ID set in its environment. That is the entire integration surface: no ports, no auth flow, no server to keep running.

  4. Restart your MCP client. It should list the tools below.

One server, one workspace: to manage two workspaces, add two entries with two different API keys.

Tools

Tool

What it does

Scope needed

whoami

Confirms the key works, returns the workspace's name.

any key

list_agents

Agent id/name/active, for picking one to call with.

dial

get_agent / create_agent / update_agent / delete_agent

An agent's full setup, including one-way scripts.

agents

list_campaigns / get_campaign / create_campaign / update_campaign / delete_campaign

Campaign CRUD. update_campaign with status starts, pauses, resumes or cancels one.

campaigns

get_campaign_report

Outcomes, sentiment, talk time, and the numbers/names a campaign collected. csv:true for a spreadsheet export.

campaigns

place_call

Starts a real conversational AI call right now.

dial

list_calls / get_call / get_transcript

Call records and transcripts.

calls / transcripts

send_announcement / get_announcement

A one-way (script-only) call, like an order update or a reminder, far cheaper than place_call.

dial

list_leads / create_lead / get_lead_for_call

Lead records.

leads

list_webhooks / create_webhook / delete_webhook / get_webhook_samples

Outbound webhook endpoints, so your own systems hear about calls and campaigns without polling.

webhooks

Every tool returns the API's own JSON response as text, and reports isError: true when the API refused the request. The error message and code field (wallet_low, outside_hours, not_one_way, ...) are in the text, so a model reading the tool result can see exactly why.

Notes for whoever is driving this

  • place_call and send_announcement do real, billed things: a phone actually rings. update_campaign with status:"running" starts dialling a whole lead list. None of these ask for a second confirmation; that's the MCP client's job, same as any other tool with side effects.

  • delete_agent, delete_campaign and delete_webhook are permanent.

  • Nothing here bypasses the do-not-call list, calling hours, or the wallet balance check. Those are enforced by the Dunefox Voice API itself, not by this wrapper, so they hold regardless of which client is calling.

Development

npm run typecheck   # tsc --noEmit
npm start            # run the server directly against stdin/stdout, for manual testing

There's nothing to build: the server runs straight from TypeScript via tsx.

About Dunefox Voice

Dunefox Voice is the AI voice calling platform from Dunefox, the AI suite for customer support, lead management and marketing. Dunefox Voice's real-time AI phone agents answer, qualify, book appointments to your calendar, send proposals mid-call over WhatsApp or email, and hand off to a human the moment they're unsure, grounded in your own knowledge base, so they never make things up. Outbound calling campaigns dial a whole lead list with retry and suppression rules built in; every call comes back with a recording, transcript, AI summary and structured data pushed straight to your CRM.

License

MIT © Sucetas Technologies Private Limited

Available Tools

25 tools
create_agentCreate an agentA

Create a conversational (two-way) or one-way (script-only, no listening) agent. Same rules as the dashboard builder, including the plan's agent limit and provider/language restrictions. For a one-way agent, set communication:"one_way" and pass announcement:{script, useCase}. Needs the "agents" scope.

Inputs: name (required), params, prompt, announcement, +1 more.

create_campaignCreate a campaign (as a draft)A

Create an outbound campaign against a lead group or a filter. Starts as "draft" - call update_campaign with status:"running" to actually dial. Same trial block, concurrency cap and calling-hours narrowing as the dashboard. Needs the "campaigns" scope, and the workspace's campaigns entitlement.

Inputs: name (required), agentId (required), targetType, concurrency, +8 more.

create_leadCreate a leadA
Idempotent

Creates a lead, or returns the existing one with that phone number (201 created, 200 found - check the tool's isError/status if that distinction matters to you).

Inputs: phone (required), name, tags, email, +1 more.

create_webhookAdd a webhook endpointA

Subscribes a URL to one or more events (call.started, call.ended, call.analyzed, lead.created, campaign.status_changed, or "*" for all of them). Returns the signing secret ONCE - store it, it cannot be read back later.

Inputs: url (required), events, description.

delete_agentDelete an agentB
DestructiveIdempotent

Permanent. Does not touch calls it already placed - only the agent record. Needs the "agents" scope.

Inputs: agentId (required).

delete_campaignDelete a campaignB
DestructiveIdempotent

Permanent. Does not touch calls it already placed. Needs the "campaigns" scope.

Inputs: campaignId (required).

delete_webhookRemove a webhook endpointD
DestructiveIdempotent

Permanent.

Inputs: endpointId (required).

get_agentRead one agent in fullA
Read-only

An agent's full configuration: prompt, voice/model params, knowledge base, handoff rules, integrations, and its one-way script if it has one. Needs the "agents" scope.

Inputs: agentId (required).

get_announcementCheck a one-way call's delivery statusC
Read-only

queued, ringing, delivered, no-answer, busy, or a refusal code - never the phone number or the message text.

Inputs: deliveryId (required).

get_callRead one callA
Read-only

A call's full record - outcome, sentiment, summary, extracted details - with its transcript and lead merged in.

Inputs: callUuid (required).

get_campaignRead one campaignA
Read-only

A campaign's full settings and live counters (callsPlaced, callsCompleted, callsConnected). For outcomes/sentiment/the numbers it collected, use get_campaign_report instead.

Inputs: campaignId (required).

get_campaign_reportCampaign analytics: outcomes, sentiment, and what it collectedB
Read-only

Did it work, and what did it collect: per-lead outcome, sentiment, talk time, intent score, and the phone numbers/names the agent was told. Set csv:true for a spreadsheet-ready export instead of JSON.

Inputs: campaignId (required), csv.

get_lead_for_callFind the lead a call belongs toC
Read-only

The lead record linked to a given call.

Inputs: callUuid (required).

get_transcriptRead a call's transcriptC
Read-only

The turn-by-turn transcript of one call.

Inputs: callUuid (required).

get_webhook_samplesSee a sample payload for an event typeA
Read-only

Recent real events of one type, in the exact shape a live delivery POSTs - useful for building a receiver before anything has fired for real.

Inputs: event (required), limit.

list_agentsList agents (names only)A
Read-only

This workspace's AI agents: id, name, active. Enough to choose one for place_call or send_announcement. For an agent's full setup (prompt, voice, one-way script), use get_agent — it needs the separate "agents" scope.

Inputs: no named parameters.

list_callsList callsA
Read-only

This workspace's calls, newest first, with outcome/sentiment/summary once analysed. Needs the "calls" scope.

Inputs: limit, offset.

list_campaignsList campaignsB
Read-only

This workspace's outbound campaigns. Needs the "campaigns" scope.

Inputs: no named parameters.

list_leadsList leadsB
Read-only

This workspace's leads, newest first. Needs the "leads" scope.

Inputs: limit, offset.

list_webhooksList webhook endpointsA
Read-only

This workspace's outbound webhook endpoints. Needs the "webhooks" scope.

Inputs: no named parameters.

place_callPlace an AI agent call right nowA

Starts a real conversational call from this workspace's own number. Behind the same gates as the dashboard: the do-not-call list, calling hours, wallet balance and concurrency. A refusal carries a code (suppressed, outside_hours, wallet_low, ...) to branch on. Needs the "dial" scope, which no key holds by default. For a fixed script with no listening (an order update, a reminder), use send_announcement instead - it is far cheaper.

Inputs: to (required), agentId (required), leadId.

send_announcementSend a one-way message callA

Plays a one-way agent's fixed script to one number - a delivery update, a payment reminder, a COD confirmation. Text-to-speech only, no conversation, billed at the one-way rate (far cheaper than place_call). Values are formatted for speech before the call (amounts in words, dates as dates); a script field with no value is refused by name rather than skipped mid-sentence. externalId makes retries safe: the same reference answers with the first send instead of ringing again.

Inputs: to (required), agentId (required), name, variables, +1 more.

update_agentUpdate an agentB
Idempotent

Change any of an agent's fields. Send only what changes - fields left out are untouched. Needs the "agents" scope.

Inputs: agentId (required), name, active, params, +3 more.

update_campaignUpdate, start, pause, resume or cancel a campaignA

Change settings, or change status. status:"running" starts dialling (kicks the dialer right away - real calls start going out), "paused" holds it, "cancelled" stops it for good. Fires the campaign.status_changed webhook, if the workspace has one subscribed.

Inputs: campaignId (required), name, status, concurrency, +1 more.

whoamiWhich workspace is this key for?A
Read-only

Confirms the API key and org id are valid, and returns the workspace's name. Call this first if a tool starts failing with 401s.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 25 tools

    Disambiguation4/5

    Most tools have clearly distinct resource/action purposes, and descriptions actively disambiguate easily confused pairs like get_campaign vs. get_campaign_report, get_call vs. get_transcript, and place_call vs. send_announcement. Some boundaries remain slightly soft, particularly around call detail vs. transcript retrieval and agent listing vs. agent detail, but an agent can generally select correctly.

    Naming Consistency5/5

    The tool set uses a highly consistent snake_case verb_noun convention (list_calls, get_call, create_campaign, update_agent, delete_webhook, etc.). The few special cases such as whoami and get_lead_for_call are conventional and still readable, without mixing camelCase or conflicting verb styles.

    Tool Count3/5

    At 25 tools, the server is on the heavy side for the apparent scope, covering campaigns, calls, agents, leads, webhooks, and announcements. The domain is broad enough that many tools earn their place, but the surface is close to the rubric's borderline-heavy range and could benefit from consolidation.

    Completeness3/5

    Core lifecycles for campaigns and agents are well covered, including create, read, list, update, delete, and reporting. However, there are notable gaps such as lead update/delete, announcement listing or cancellation, and webhook update/detail operations, which may force workarounds for full lifecycle management.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers