Enables creation and management of conversational AI agents with voice capabilities for making outbound calls to deliver tech news updates using the ElevenLabs MCP integration
Provides the backend framework for exposing agent creation and call management endpoints that interact with the ElevenLabs MCP system
Supports phone call functionality for the agent, requiring verification for calling unverified numbers as mentioned in the important notes
ElevenLabs MCP Integration - Tech News Update Agent
A FastAPI backend to create an ElevenLabs agent that makes outbound calls to deliver friendly, jargon-free tech news updates. This project demonstrates the integration of ElevenLabs MCP (Model Context Protocol) for creating conversational AI agents with voice capabilities.
š Features
Conversational AI Agent: Creates a confident, friendly tech-savvy colleague
Voice Integration: Uses ElevenLabs Alice voice for natural-sounding calls
Tech News Delivery: Provides updates about AI, programming, and cybersecurity
Simple API: Easy-to-use endpoints for agent creation and call management
MCP Integration: Leverages ElevenLabs MCP for seamless agent management
Related MCP server: OpenAPI to Model Context Protocol (MCP)
š Project Structure
š ļø Setup
Prerequisites
Python 3.8+
ElevenLabs API key
ElevenLabs phone number (for outbound calls)
Git
Installation
Clone the repository
git clone https://github.com/LEKKALAGANESH/Eleven-Labs-MCP-Integration.git cd Eleven-Labs-MCP-IntegrationInstall dependencies
pip install -r requirements.txtConfigure environment variables
cp .env.example .env # Edit .env with your actual valuesRun the server
uvicorn app.main:app --reload
š§ Configuration
Create a .env file with the following variables:
š” API Endpoints
1. Create Agent
POST /create-agent
Creates a new Tech News Update Agent with predefined personality and voice.
Response:
2. Make Outbound Call
POST /call
Initiates an outbound call to the specified phone number.
Request Body:
Response:
šÆ Usage Examples
Using curl
Create the agent:
curl -X POST "http://localhost:8000/create-agent"Make a call:
curl -X POST "http://localhost:8000/call" \ -H "Content-Type: application/json" \ -d '{"phone_number": "+1234567890"}'
Using Python requests
š¤ Agent Personality
The Tech News Update Agent is configured with:
Tone: Confident, friendly, and conversational
Voice: Alice (female voice) for natural communication
Expertise: AI, programming, and cybersecurity updates
Style: Jargon-free explanations with practical implications
Approach: Like a knowledgeable colleague sharing interesting news
ā ļø Important Notes
Phone Verification: You must have a verified or paid ElevenLabs/Twilio account to call unverified numbers
Agent ID: After creating the agent, update the
agent_idinmain.pywith the returned IDAPI Limits: Be aware of ElevenLabs API rate limits and usage quotas
Environment Variables: Never commit your actual API keys to version control
š Related Links
š License
This project is open source and available under the MIT License.
š¤ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
š Support
For support, please open an issue in the GitHub repository or contact the maintainers.
Built with ā¤ļø using ElevenLabs MCP Integration