ElevenLabs MCP Server
by Garblesnarff
A FastAPI-based server for integrating with the ElevenLabs text-to-speech API. It provides an easy way to convert text to speech using the ElevenLabs service.
View on GitHub
Last updated: N/A
ElevenLabs MCP Server
A FastAPI-based MCP server implementation for ElevenLabs text-to-speech API integration.
Setup
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Copy
.env.exampleto.envand add your ElevenLabs API key - Run the server:
python main.py
API Endpoints
POST /text-to-speech: Convert text to speech using ElevenLabs API- Request body:
{ "text": "Text to convert to speech", "voice_id": "ElevenLabs voice ID" }
- Request body:
GET /health: Health check endpoint
Environment Variables
ELEVENLABS_API_KEY: Your ElevenLabs API key