Skip to main content
Glama
Smart Voice Community MCP Server

Smart Voice Community MCP Server

by DikeInside

Smart Voice Community

A self-hosted voice agent that can answer a phone, call a contact with context, or talk to you through a browser microphone. Your team supplies the phone number, voice instructions and knowledge. An operator can review conversations in a private dashboard. An authenticated MCP client can preview and schedule individual calls.

I built the original system for Smart Technologies. This community edition is part of my AI consulting portfolio and starts with an empty database. — DikeInside

flowchart LR
    Phone[Phone] <-->|Voice| Twilio[Twilio]
    Twilio <-->|Media stream| Service[Your voice server]
    Browser[Browser microphone] <--> Service
    Service <-->|Audio| OpenAI[OpenAI Realtime API]
    Dashboard[Private dashboard] --> Service
    Client[MCP client] -->|OAuth| Service

Try it from your computer

On a Linux machine with Git and Docker Compose v2 installed, run:

git clone https://github.com/DikeInside/smart-voice-community.git
cd smart-voice-community
sh deploy/setup.sh
docker compose up -d --build

Open http://localhost:8790. Sign in with the generated ADMIN_PASSWORD from your local .env file. If Docker is running on a remote server, run the following on your own computer, replacing the SSH destination, then open the same localhost address:

ssh -N -L 8790:127.0.0.1:8790 user@your-server

The dashboard is in Italian. Under Collegamenti, save your OpenAI project API key. Under Il tuo agente, set the organization, agent name, language and instructions. Add your own material in Conoscenze aziendali. From Centrale voce, select the HD microphone test, confirm API usage and start a conversation. Microphone access requires localhost or HTTPS. This first test uses the OpenAI API and works without Twilio or a phone number.

Related MCP server: Codex Call

Connect a phone number

  1. Supply a Twilio Voice number, its Account SID and Auth Token, and an OpenAI project with access to the selected realtime model. Calling and model usage are billed by your providers.

  2. Point a DNS hostname you control to the server. To use the included HTTPS proxy, set PUBLIC_HOST in .env to that hostname and allow inbound TCP ports 80 and 443. Start the proxy and the voice service together:

    docker compose -f compose.yaml -f deploy/compose.https.yaml up -d --build

    If you already use a reverse proxy, forward HTTPS and WebSocket upgrades to 127.0.0.1:8791. Keep the operator dashboard on 8790 private.

  3. In Collegamenti, save the full public HTTPS origin and the Twilio number in international format. In the Twilio number's Voice configuration, set A call comes in to https://YOUR-HOST/incoming-call with HTTP POST, and the status callback to https://YOUR-HOST/status with HTTP POST.

  4. In Il tuo agente, enable the call directions you want. Start with a test destination you control. For outbound calls, check both the destination policy in the dashboard and your Twilio account's geographic permissions.

The phone audio path uses Twilio bidirectional Media Streams. The HD browser path also lets you compare the same conversation at phone bandwidth. Twilio Media Streams

What an operator can do

Task

Where to do it

Give an agent a name, voice, language, opening and reference material

Il tuo agente and Conoscenze aziendali. Italian, English and French are supported.

Call one contact or work through a list

Outbound accepts per-contact context and previews CSV imports. Starting the queue processes contacts one at a time.

Review a call

Chiamate e richieste shows call history. Enable audio or transcripts for future calls to review them. Recordings can be downloaded as MP3.

Receive an email after a call

Configure your SMTP service in Collegamenti and send a test message. Notifications link back to your dashboard.

Recording and transcription start disabled. When enabled, the phone flow announces capture. Set the retention period and contact permissions for your use case before enabling live calls. Protect the persistent voice-data volume and its backups: it stores the database, configured provider credentials and any retained recordings. For a consistent full backup, stop the application during a maintenance window and copy the volume before restarting.

Connect an MCP client

Save the public HTTPS origin first. During a quiet period, restart the voice service and create credentials for the owner of this installation:

docker compose restart voice-agent
docker compose exec voice-agent node src/setup-gateway.mjs

Add https://YOUR-HOST/voice/mcp to an OAuth-capable MCP client and authorize it with that owner account. It can list profiles, preview or schedule a call, read the outcome, retrieve an available recording or cancel a scheduled call. The preview lets you check the destination, language, identity and purpose before scheduling. Bearer-authenticated HTTP clients can discover the same tools at /voice/api/tools.

Development and tests

Use Node.js 24 and install FFmpeg for MP3 conversion. The tests use temporary local storage and simulated providers.

npm ci
npm test

For development outside Docker, set ADMIN_PASSWORD to a new secret of at least 16 characters and ADMIN_ORIGIN=http://localhost:8790, then run npm start. Local state defaults to the ignored data/ directory.

License and credit

The code is licensed under Apache 2.0. The Smart name and logo identify the project's origins at Smart Technologies and remain outside the code license. See the trademark notice.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables MCP clients to manage an AI voice calling workspace by creating and editing agents, running outbound campaigns, placing calls, sending one-way voice messages, reading analytics, and managing webhooks.
      25
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to place, monitor, and hang up phone calls through authenticated tools, retrieve transcripts, and exchange correlated task results with a waiting host. It supports simulated or live calling with persisted call lifecycle records, duration limits, and idempotent requests.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to manage AI voice assistants, place calls, run campaigns, handle contacts and knowledge bases, and read call transcripts. It also provides account, phone number, dialer, and analytics tools through a hosted or local MCP connection.
      25
      MIT