Skip to main content
Glama
LEKKALAGANESH

Tech News Update Agent

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: API Aggregator MCP Server

šŸ“ Project Structure

ElevenLabs/
ā”œā”€ā”€ app/
│   ā”œā”€ā”€ main.py              # FastAPI application with endpoints
│   ā”œā”€ā”€ elevenlabs_client.py # ElevenLabs API client functions
│   └── config.py            # Configuration and environment variables
ā”œā”€ā”€ requirements.txt         # Python dependencies
ā”œā”€ā”€ .env.example            # Environment variables template
ā”œā”€ā”€ .gitignore              # Git ignore rules
└── README.md               # Project documentation

šŸ› ļø Setup

Prerequisites

  • Python 3.8+

  • ElevenLabs API key

  • ElevenLabs phone number (for outbound calls)

  • Git

Installation

  1. Clone the repository

    git clone https://github.com/LEKKALAGANESH/Eleven-Labs-MCP-Integration.git
    cd Eleven-Labs-MCP-Integration
  2. Install dependencies

    pip install -r requirements.txt
  3. Configure environment variables

    cp .env.example .env
    # Edit .env with your actual values
  4. Run the server

    uvicorn app.main:app --reload

šŸ”§ Configuration

Create a .env file with the following variables:

ELEVENLABS_API_KEY=your_elevenlabs_api_key
ELEVENLABS_BASE_URL=https://api.elevenlabs.io/v1
AGENT_VOICE_ID=Xb7hH8MSUJpSbSDYk0k2
AGENT_PHONE_NUMBER_ID=your_phone_number_id

šŸ“” API Endpoints

1. Create Agent

POST /create-agent

Creates a new Tech News Update Agent with predefined personality and voice.

Response:

{
  "agent": {
    "agent_id": "agent_5701k1capwtse9fske3xgefspyra",
    "name": "Tech News Update Agent",
    "voice_id": "Xb7hH8MSUJpSbSDYk0k2"
  }
}

2. Make Outbound Call

POST /call

Initiates an outbound call to the specified phone number.

Request Body:

{
  "phone_number": "+1234567890"
}

Response:

{
  "result": {
    "conversation_id": "conv_3401k1casackffe9emj08wgf9zsd",
    "call_sid": "CA12265951d92ca816f1f15693d7efd6a2",
    "status": "success"
  }
}

šŸŽÆ Usage Examples

Using curl

  1. Create the agent:

    curl -X POST "http://localhost:8000/create-agent"
  2. Make a call:

    curl -X POST "http://localhost:8000/call" \
         -H "Content-Type: application/json" \
         -d '{"phone_number": "+1234567890"}'

Using Python requests

import requests

# Create agent
response = requests.post("http://localhost:8000/create-agent")
agent_data = response.json()
agent_id = agent_data["agent"]["agent_id"]

# Make call
call_data = {"phone_number": "+1234567890"}
response = requests.post("http://localhost:8000/call", json=call_data)
print(response.json())

šŸ¤– 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_id in main.py with the returned ID

  • API Limits: Be aware of ElevenLabs API rate limits and usage quotas

  • Environment Variables: Never commit your actual API keys to version control

šŸ“ 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

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A FastAPI MCP server that provides access to NewsAPI.org for fetching top headlines, searching articles, trending stories, and listing news sources.
    Last updated
  • F
    license
    -
    quality
    C
    maintenance
    Enterprise-grade MCP server providing daily cricket updates via FastAPI and SSE transport, integrating with Claude Remote MCP Connector.
    Last updated

View all related MCP servers

Related MCP Connectors

  • Phone, SMS & email for AI agents — one remote MCP endpoint, OAuth login, zero install.

  • Give your AI agent a phone: place calls, navigate IVRs, wait on hold, get structured answers.

  • Voice and chat for AI agents — Discord, Teams, Meet, Slack, Zoom, Telegram, WhatsApp, NC Talk, SIP

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LEKKALAGANESH/Eleven-Labs-MCP-Integration'

If you have feedback or need assistance with the MCP directory API, please join our Discord server