Labsco
199-mcp logo

ElevenLabs MCP Enhanced

β˜… 8

from 199-mcp

Text-to-speech generation with conversation history features using the ElevenLabs API.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedPaid serviceAdvanced setup

ElevenLabs MCP Enhanced

<div class="title-block" style="text-align: center;" align="center">

npm version npm downloads Discord Community License

</div> <p align="center"> <strong>Enhanced fork of the official ElevenLabs MCP server</strong> with additional conversational AI features including conversation history and transcript retrieval. </p> <p align="center"> This enhanced version is developed and maintained by <strong>Boris Djordjevic</strong> and the <strong>199 Longevity</strong> team. </p>

πŸ“‘ Table of Contents

πŸš€ What's New in This Fork

This enhanced version adds critical conversational AI features missing from the original:

πŸ€– AI-Friendly Improvements (v1.0.0)

  • βœ… Official v3 API: Now uses official ElevenLabs endpoints - no proxy needed!
  • 🎯 Smart Voice Defaults: search_voices() now returns common working voices instantly
  • πŸ“š Educational Error Messages: Errors guide AI agents to success with examples
  • πŸ’‘ Clear Tool Guidance: No more confusion about single vs multi-speaker tools
  • 🎀 Accurate v3 Voice IDs: All 20 v3-optimized voices now have correct IDs and descriptions
  • 🏯 Auto-Split Long Dialogues: Automatically splits dialogues over 3000 chars into multiple files
  • 🎯 Auto-Adjust Stability: Invalid stability values auto-round to nearest valid option (0.0, 0.5, 1.0)
  • 🏷️ Smart Tag Simplification: Complex tags auto-convert to valid v3 tags for better quality
  • ⏱️ Dynamic Timeouts: Prevents timeouts on complex dialogues by calculating appropriate wait times

πŸ†• ElevenLabs v3 Model Support (Official)

  • 🎭 Enhanced Expressiveness: Use the official v3 model with model="v3" parameter
  • 🎀 Audio Tags: Add emotions and sound effects like [thoughtful], [crying], [laughing], [piano]
  • πŸ‘₯ Multi-Speaker Dialogue: Generate natural conversations between multiple speakers
  • ✨ Dialogue Enhancement: Automatically enhance your dialogue with proper formatting and tags
  • 🌍 70+ Languages: v3 supports multilingual synthesis with emotional control
  • βœ… Official API: Now uses the official ElevenLabs text-to-dialogue endpoint

πŸŽ™οΈ Conversational AI Features

  • Conversation History: Retrieve full conversation details including transcripts
  • πŸ“ Transcript Access: Get conversation transcripts in multiple formats (plain, timestamps, JSON)
  • ⏳ Real-time Monitoring: Wait for ongoing conversations to complete and retrieve results
  • πŸ” Conversation Search: List and filter conversations by agent, status, and more
  • 🎨 Improved Formatting: Consistent formatting across all list operations

About

This is an enhanced fork of the official ElevenLabs <a href="https://github.com/modelcontextprotocol">Model Context Protocol (MCP)</a> server that enables interaction with powerful Text to Speech and audio processing APIs. This server allows MCP clients like <a href="https://www.anthropic.com/claude">Claude Desktop</a>, <a href="https://www.cursor.so">Cursor</a>, <a href="https://codeium.com/windsurf">Windsurf</a>, <a href="https://github.com/openai/openai-agents-python">OpenAI Agents</a> and others to generate speech, clone voices, transcribe audio, manage conversational AI agents, and now retrieve conversation history.

Other MCP clients

Using npm/npx:

For other clients like Cursor and Windsurf, you can run the server directly:

npx elevenlabs-mcp-enhanced --api-key YOUR_API_KEY

Using Python:

  1. pip install elevenlabs-mcp
  2. python -m elevenlabs_mcp --api-key={{PUT_YOUR_API_KEY_HERE}} --print to get the configuration. Paste it into appropriate configuration directory specified by your MCP client.

That's it. Your MCP client can now interact with ElevenLabs through these tools:

Optional features

You can add the ELEVENLABS_MCP_BASE_PATH environment variable to the claude_desktop_config.json to specify the base path MCP server should look for and output files specified with relative paths.

βœ… v3 Model - Now Officially Available!

The v3 model is now officially available through the ElevenLabs API! No proxy or special access needed - just use your regular API key.

What's New:

  • Official eleven_v3 model ID
  • Text-to-dialogue endpoint at /v1/text-to-dialogue
  • 70+ language support
  • 3,000 character limit per request
  • Enhanced emotional expressiveness

Usage: Simply set model="v3" in text_to_speech() or use text_to_dialogue() for multi-speaker content. The server now uses the official API endpoints.