ElevenLabs MCP Server

by Garblesnarff

204 downloads
Not rated
GitHub

About

MCP server implementation for ElevenLabs API integration

Details

Author
Garblesnarff
Downloads
204
Categories
Other

- Converts text to speech via ElevenLabs API
- Simple RESTful endpoint (POST /text-to-speech)
- Health check endpoint (GET /health)
- Configured through environment variables
- FastAPI-based for easy deployment

Clone the repository, install dependencies with pip install -r requirements.txt, copy .env.example to .env and add your ElevenLabs API key, then run the server with python main.py. Use the POST /text-to-speech endpoint with a JSON body containing text and voice_id.

ElevenLabs MCP Server

A FastAPI-based MCP server implementation for ElevenLabs text-to-speech API integration.

Setup

1. Clone the repository
2. Install dependencies: pip install -r requirements.txt
3. Copy .env.example to .env and add your ElevenLabs API key
4. 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"
}

- GET /health: Health check endpoint

Environment Variables

- ELEVENLABS_API_KEY: Your ElevenLabs API key

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.