Skip to main content

MCP server for the VoIPbin CPaaS platform

Project description

VoIPbin MCP Server

PyPI version Python License: MIT

An MCP (Model Context Protocol) server that enables AI assistants to interact with the VoIPbin CPaaS platform. It exposes VoIPbin's communication APIs -- calls, flows, messaging, conferencing, AI, and more -- as tools that any MCP-compatible client can use to manage and automate cloud communications.

Installation

pip install voipbin-mcp

Or run directly without installing:

uvx voipbin-mcp

Configuration

Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "voipbin": {
      "command": "uvx",
      "args": ["voipbin-mcp"],
      "env": {
        "VOIPBIN_API_KEY": "your-access-key"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project directory:

{
  "mcpServers": {
    "voipbin": {
      "command": "uvx",
      "args": ["voipbin-mcp"],
      "env": {
        "VOIPBIN_API_KEY": "your-access-key"
      }
    }
  }
}

Generic MCP Client

Any MCP-compatible client can connect by running the voipbin-mcp command with the VOIPBIN_API_KEY environment variable set:

VOIPBIN_API_KEY=your-access-key voipbin-mcp

Available Tools

Resource Tools
Calls list_calls, get_call, create_call, hangup_call
Flows list_flows, get_flow, create_flow, update_flow, delete_flow
Active Flows list_activeflows, get_activeflow, stop_activeflow
Agents list_agents, get_agent
Numbers list_numbers, get_number
Contacts list_contacts, get_contact, create_contact, update_contact, delete_contact
Messages list_messages, get_message, send_message
Emails list_emails, get_email, send_email
Conversations list_conversations, get_conversation
Conferences list_conferences, get_conference, create_conference, delete_conference
Campaigns list_campaigns, get_campaign, create_campaign, update_campaign, delete_campaign
Queues list_queues, get_queue
Routes list_routes, get_route
Billings list_billings, get_billing
AIs list_ais, get_ai, create_ai
Customer get_customer
Tags list_tags, get_tag
Extensions list_extensions, get_extension

Example Usage

Once configured, you can ask your AI assistant to interact with VoIPbin directly:

List active calls:

"Show me all my active calls"

The AI uses list_calls to fetch and display your current calls.

Create a flow:

"Create a flow that answers and plays a greeting"

The AI uses create_flow to build a call flow with answer and play actions.

Check billing:

"What are my recent billing charges?"

The AI uses list_billings to retrieve your billing history.

Manage contacts:

"Add a new contact named John with phone number +1234567890"

The AI uses create_contact to create the contact in your account.

Security Note

Your VoIPbin API key is sent as a URL query parameter (accesskey=) on every request. The connection uses HTTPS, so the key is encrypted in transit. However, be aware that URL parameters may be recorded in server access logs and proxy logs. Avoid sharing unredacted debug output, and rotate your key if you suspect it has been exposed.

Getting an API Key

Sign up at voipbin.net and create an access key through the API or the admin console at admin.voipbin.net.

Development

git clone https://github.com/voipbin/mcp.git
cd mcp
uv venv
uv pip install -e ".[dev]"
uv run pytest tests/ -v

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voipbin_mcp-0.1.1.tar.gz (62.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voipbin_mcp-0.1.1-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file voipbin_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: voipbin_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for voipbin_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 859d8f06d0bcaa0bfa9656f1b6d901a706ec6009506e700723f6773f9f896270
MD5 497bec1a8e3f73d2420594d930f56e38
BLAKE2b-256 1e5bfc7d6483d0f8fd7dc1037c7b78f336396207b919ef53e560167c9dbce4e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for voipbin_mcp-0.1.1.tar.gz:

Publisher: publish.yml on voipbin/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file voipbin_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: voipbin_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for voipbin_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2274fba64d18adbfb0bb843071f421e6857ee447ea84cb0699705b8c7b9d0a
MD5 b234bf8db018ca19a2654e59ab15209e
BLAKE2b-256 e093a3ae2bd5aa31fe8dedc2ae1f942e908d0e745d599b2eaebed6ff74509cbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for voipbin_mcp-0.1.1-py3-none-any.whl:

Publisher: publish.yml on voipbin/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page