ElevenLabs MCP Server logo

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

What is ElevenLabs MCP Server?

This is a FastAPI server that acts as an MCP (Multi-Channel Platform) for the ElevenLabs text-to-speech API. It allows you to send text and voice ID to the ElevenLabs API and receive the generated speech.

How to use ElevenLabs MCP Server?

  1. Clone the repository. 2. Install dependencies using pip install -r requirements.txt. 3. Copy .env.example to .env and add your ElevenLabs API key. 4. Run the server using python main.py. 5. Use the provided API endpoints to convert text to speech.

Key features of ElevenLabs MCP Server

  • Text-to-speech conversion

  • ElevenLabs API integration

  • FastAPI framework

  • Health check endpoint

  • Configurable via environment variables

Use cases of ElevenLabs MCP Server

  • Automated voice generation

  • Integrating TTS into applications

  • Creating audio content from text

  • Voice prototyping

  • Accessibility features

FAQ from ElevenLabs MCP Server

What is the ELEVENLABS_API_KEY?

It is your personal API key required to authenticate with the ElevenLabs service.

How do I find my ElevenLabs voice ID?

You can find the voice ID on the ElevenLabs website in your voice settings.

What is the purpose of the /health endpoint?

The /health endpoint is used to check if the server is running and healthy.

Can I customize the voice parameters?

The current implementation only supports specifying the voice ID. Further customization might require modifications to the code.

Is this server production-ready?

This server provides a basic implementation and may require further development and security considerations before being used in a production environment.