Voice Assistant MCP Server

Voice Assistant MCP Server

voice-agent-mcp-server•byprakharbhardwaj

An MCP server integrating Twilio Voice, Deepgram AI, and OpenAI to enable AI assistants to conduct voice calls for HR automation tasks.

License: Not specified•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Provides MCP tools such as conduct_interview to initiate voice calls for professional candidate interviews with specified questions.
  • •Offers a notify_interview_result tool to call candidates with interview outcomes and feedback.
  • •Includes a discuss_job_opening tool to reach out to potential candidates about new positions.
  • •Supports real-time voice processing through Deepgram and Twilio media streaming.

BEST FOR

  • •HR teams wanting an AI assistant to conduct phone interviews with candidates.
  • •Recruiters using Claude or other MCP-compatible assistants to automate candidate outreach.
  • •Organizations wanting automated voice notifications of interview results.

ABOUT VOICE-AGENT-MCP-SERVER

Voice Assistant MCP Server is cataloged as an MCP server attributed to prakharbhardwaj. An MCP server integrating Twilio Voice, Deepgram AI, and OpenAI to enable AI assistants to conduct voice calls for HR automation tasks. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Voice Assistant MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which AI assistant can use this MCP server?

It is designed for integration with Claude and other MCP-compatible AI assistants.

What technology handles speech recognition and text-to-speech?

It uses Deepgram's Voice Agent with the Nova-3 speech recognition model and Aura-2 Asteria text-to-speech voice, with OpenAI GPT-4o-mini for LLM integration.

Upstream README

View this exact version on GitHub

README.md · 140633d6e9c9 · Fetched 2026-11-13 12:22:34 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Voice Assistant MCP Server

A powerful Model Context Protocol (MCP) server that integrates Twilio Voice, Deepgram AI, and OpenAI to create intelligent voice-based HR automation tools. This system enables AI assistants like Claude to conduct phone interviews, deliver notifications, and manage HR communications through natural voice conversations.

Demo video

https://github.com/user-attachments/assets/6c47a8b7-7428-4711-bf26-00d5951ec66f

Features

Core Capabilities

  • AI-Powered Voice Interviews: Conduct professional phone interviews with candidates using AI
  • Interview Result Notifications: Automatically call candidates with interview results and feedback
  • Job Opportunity Outreach: Reach out to potential candidates about new positions
  • Real-time Voice Processing: Powered by Deepgram’s Voice Agent API
  • MCP Integration: Seamless integration with Claude and other MCP-compatible AI assistants

Technical Features

  • WebSocket-based Media Streaming: Real-time audio processing with Twilio Media Streams
  • Dynamic Prompt Injection: Contextual AI prompts based on call purpose
  • Function Call Handling: Advanced AI function calling for call management
  • Comprehensive Logging: Detailed logging for debugging and monitoring
  • Environment Configuration: Secure credential management

Architecture

sequenceDiagram
    participant Claude as MCP Client(Claude App)
    participant MCP as MCP Server
    participant Twilio as Twilio Voice
    participant Deepgram as Deepgram
    participant AI as OpenAI

    %% Step 1: Initiate interaction
    Claude->>MCP: Initiate voice action (e.g., interview, notification)
    MCP->>Twilio: Setup voice call
    Twilio-->>MCP: Call status updates

    %% Step 2: Real-time audio processing
    Twilio->>Deepgram: Start audio stream
    Deepgram-->>AI: Transcribed text
    AI->>Deepgram: LLM response
    Deepgram->>Twilio: Stream audio

Prerequisites

Before setting up the project, ensure you have:

  1. Node.js (v22 or higher)
  2. Twilio Account with:
    • Account SID
    • Auth Token
    • Phone Number (for outbound calls)
  3. Deepgram Account with API Key
  4. Public URL (ngrok or production server) for webhooks

Installation

  1. Clone the repository:

    git clone https://github.com/prakharbhardwaj/voice-agent-mcp-server.git
    cd voice-agent-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Environment Configuration: Create a .env file in the root directory:

    # Server Configuration
    PORT=3000
    SERVER_URL=your_ngrok_url_or_server_url
    
    # Twilio Credentials
    TWILIO_ACCOUNT_SID=your_twilio_account_sid
    TWILIO_AUTH_TOKEN=your_twilio_auth_token
    TWILIO_PHONE_NUMBER=+your_twilio_phone_number
    
    # Deepgram API Key
    DEEPGRAM_API_KEY=your_deepgram_api_key
    
  4. Configure MCP Server: Update mcp-config.json with your actual paths and credentials:

    {
      "mcpServers": {
        "voice-agent-mcp-server": {
          "type": "stdio",
          "command": "node",
          "args": ["/path/to/your/voice-agent-mcp-server/mcp-server.js"],
          "env": {
            "NODE_ENV": "production",
            "SERVER_URL": "your_ngrok_url_or_server_url",
            "TWILIO_ACCOUNT_SID": "your_twilio_account_sid",
            "TWILIO_AUTH_TOKEN": "your_twilio_auth_token",
            "TWILIO_PHONE_NUMBER": "+your_twilio_phone_number"
          }
        }
      }
    }
    

Usage

Start the Web Server

npm run dev

Using with Claude Desktop

  1. Add the MCP server configuration to Claude Desktop's settings:
    • For macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • For Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Restart Claude Desktop
  3. Use the available tools in your conversation with Claude

Available MCP Tools

1. conduct_interview

Initiate a voice call to conduct a professional interview with a candidate.

Parameters:

  • candidatePhone (string): Phone number in E.164 format
  • candidateName (string): Name of the candidate
  • position (string): Position they're applying for
  • interviewQuestions (array): List of questions to ask

Example:

Conduct an interview with John Doe at +1234567890 for the Software Engineer position.
Ask about their experience with React, their problem-solving approach, and their career goals.

2. notify_interview_result

Call a candidate to inform them about their interview results.

Parameters:

  • candidatePhone (string): Phone number in E.164 format
  • candidateName (string): Name of the candidate
  • position (string): Position they interviewed for
  • result (enum): "accepted", "rejected", or "next_round"
  • message (string): Additional feedback message

Example:

Call Jane Smith at +1234567890 to let her know she's been accepted for the Product Manager role.

3. discuss_job_opening

Reach out to potential candidates about job opportunities.

Parameters:

  • candidatePhone (string): Phone number in E.164 format
  • candidateName (string): Name of the potential candidate
  • position (string): Job position to discuss
  • companyInfo (string): Brief company and role information
  • nextSteps (string): Next steps if interested

4. get_call_status

Get the status of active voice calls and system health.

5. check_twilio_config

Verify Twilio configuration and service readiness.

Project Structure

├── index.js                   # Main Fastify server
├── mcp-server.js              # MCP server implementation
├── mcp-config.json            # MCP configuration
├── package.json               # Dependencies and scripts
└── src/
    ├── SettingsConfiguration.js   # Deepgram agent settings
    ├── config/
    │   └── dotenv.js              # Environment configuration
    ├── mcp/
    │   ├── logger.js              # Logging utilities
    │   ├── prompts.js             # AI prompt generators
    │   ├── server.js              # MCP server logic
    │   └── tools.js               # MCP tool definitions
    ├── routes/
    │   └── twilioRoute.js         # Twilio webhook handlers
    ├── services/
    │   ├── functionCallHandler.js # AI function call processing
    │   └── twilioService.js       # Twilio API wrapper
    └── websockets/
        └── mediaStreamHandler.js  # WebSocket media processing

Configuration Details

Deepgram Agent Settings

The system uses Deepgram's Voice Agent with:

  • Speech Recognition: Nova-3 model
  • Text-to-Speech: Aura-2 Asteria voice
  • LLM Integration: OpenAI GPT-4o-mini
  • Audio Format: μ-law encoding at 8kHz (Twilio compatible)

Twilio Integration

  • Media Streams: Real-time audio streaming via WebSocket
  • TwiML: Dynamic call routing with custom parameters
  • Call Management: Status tracking and call control

Troubleshooting

Common Issues

  1. Twilio webhook not receiving calls:

    • Ensure your SERVER_URL is publicly accessible
    • Check ngrok is running and URL is updated
    • Verify TwiML configuration
  2. Deepgram connection issues:

    • Validate DEEPGRAM_API_KEY
    • Check WebSocket connectivity
    • Review audio format compatibility
  3. MCP server not loading in Claude:

    • Verify mcp-config.json paths are absolute
    • Check all environment variables are set
    • Restart Claude Desktop after configuration changes

Debugging

Enable detailed logging by checking the console output and src/mcp/mcp-server.log file.

Development

Running in Development Mode

# Start web server with auto-reload
npm run dev

Adding New Tools

  1. Define the tool in src/mcp/tools.js
  2. Add prompt generation logic in src/mcp/prompts.js
  3. Implement tool handler in src/mcp/server.js

Security Considerations

  • Store all credentials in environment variables
  • Use HTTPS/WSS in production
  • Validate phone numbers and input data
  • Implement rate limiting for production use
  • Follow Twilio security best practices

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Known Issues

ES Module Compatibility with Claude Desktop

If you encounter SyntaxError: Unexpected identifier when using this MCP server with Claude Desktop, this is due to Claude Desktop not having access to the same PATH environment or working directory context as your terminal.

Root Cause: Claude Desktop may not find the same Node.js binary that you use in your terminal (especially with nvm), or it may not run from the project directory where it can find the package.json with "type": "module".

Solution: Use the absolute path to your Node.js binary in your Claude Desktop configuration:

{
  "mcpServers": {
    "voice-agent-mcp-server": {
      "type": "stdio",
      "command": "/Users/yourusername/.nvm/versions/node/v22.16.0/bin/node",
      "args": ["/path/to/your/project/mcp-server.js"],
      "env": {
        // ... your environment variables
      }
    }
  }
}

Key points:

  • Use absolute path to Node.js binary (find yours with which node)
  • Set cwd to your project directory so Node.js can find package.json
  • This ensures Claude Desktop uses the correct Node.js and project context

Related Issue: MCP Servers Issue #64

Support

For issues and questions:

  1. Check the troubleshooting section
  2. Review logs in src/mcp/mcp-server.log
  3. Open an issue on the repository

Built using Twilio, Deepgram, and the Model Context Protocol

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Voice Assistant MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/voice-agent-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication