Drive Voicebip from an AI Assistant (MCP)
Drive Voicebip from an AI Assistant (MCP)
What you build: Voicebip wired into an AI coding assistant or agent via the Model Context Protocol (MCP). Once connected, the assistant can call Voicebip’s REST surface through 46 tools — so you can say “provision a Lagos number, attach it to my support agent, and place a test call” and it happens, no curl required.
Who it’s for: developers who live in an AI IDE, teams building agentic ops tooling, and anyone who’d rather describe an outcome than hand-write API calls.
Prerequisites
- A Voicebip API key (
pk_live_…orpk_test_…). - An MCP-capable client (Claude Desktop, Cursor, or any MCP host).
- Node 20+ (the server is TypeScript/Node).
Step 1 — Configure the MCP server
Add Voicebip to your MCP client config. The server authenticates with your key via the VOICEBIP_API_KEY env var — the workspace is derived from the key, so no workspace_id is ever passed to a tool:
Restart the client; it discovers the 46 tools. Full setup (Claude Desktop, Cursor, troubleshooting) is in the MCP Server overview.
Step 2 — What the assistant can do (tool catalogue)
The tools mirror the REST API, grouped by resource:
Step 3 — A sample session
Ask the assistant in plain language; it chooses and chains tools:
You: Create a support agent grounded in kb_8sd2k1fapvq3, provision a Lagos number for it, then make a test call to +2348031234567.
The assistant runs, roughly:
Note the ordering: the agent is created first, then provision_number binds the number to it at provision time (there’s no separate “attach” step). Every tool returns structured results ({ error_code, message, suggested_fix } on failure), so the assistant can self-correct — e.g. retry with a valid E.164 if make_call rejects the number.
Step 4 — Keep it safe
- Use a
pk_test_key while iterating so the assistant operates entirely in the sandbox (₦0, no real calls). Swap topk_live_only when you mean it. - Scope the key: create a dedicated API key (
create_api_key) for the MCP client so you canrevoke_api_keyit independently. - The workspace is bound to the key — the assistant can never reach another tenant’s data.
Test it (sandbox)
With a pk_test_ key in the config, ask the assistant to “send a test webhook for a completed call” — it calls test_webhook, and your endpoint receives a real-signed synthetic event. The whole tour above runs against the sandbox with no billing.
Troubleshooting
Next steps
- Deep setup + client-specific configs → MCP Server overview.
- Build the agents the assistant will manage → Inbound support + KB.
- Prefer code? Every tool maps 1:1 to the REST API.