Skip to main content

MCP server for Elevenlabs integration

Project description

Elevenlabs MCP Server

A Model Context Protocol (MCP) server for Elevenlabs integration. This server provides tools for interacting with Elevenlabs' text-to-speech API, allowing you to generate realistic speech from text, access voice libraries, and manage your account.

Features

  • Text-to-Speech: Convert text to high-quality speech
  • Voice Management: List and get details about available voices
  • Model Selection: Access different TTS models for various use cases
  • User Management: Check subscription status and usage limits
  • History Tracking: View your generation history
  • Resources: Access metadata about Elevenlabs objects
  • Prompts: Templates for common Elevenlabs workflows

Installation

pip install mcp-elevenlabs

Configuration

Set the following environment variables:

export ELEVENLABS_API_KEY="your_api_key"
export ELEVENLABS_BASE_URL="https://api.elevenlabs.io/v1" # Optional, defaults to this value

Usage

Starting the server directly

mcp-elevenlabs

Using with Claude Desktop

Add the following to your claude_desktop_config.json file:

{
  "mcpServers": {
    "mcp-elevenlabs": {
      "command": "uvx",
      "args": [
        "mcp-elevenlabs"
      ],
      "env": {
        "ELEVENLABS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Replace the environment variables with your actual Elevenlabs credentials.

Available Tools

  • text_to_speech: Convert text to speech using Elevenlabs API
  • get_voices: Get a list of available voices
  • get_voice: Get details of a specific voice
  • get_models: Get a list of available TTS models
  • get_user_info: Get information about the current user's subscription
  • get_history: Get the user's text-to-speech generation history

Available Resources

  • elevenlabs://voices: List of all Elevenlabs voices
  • elevenlabs://models: List of all available TTS models
  • elevenlabs://user: User subscription information
  • elevenlabs://history: Generation history

Available Prompts

  • tts_generation: Template for generating text-to-speech
  • voice_selection: Guide for selecting the right voice

Example Usage

Once connected to Claude, you can use the Elevenlabs MCP server to generate speech:

Convert this text to speech: "Hello, world! This is a test of the Elevenlabs text-to-speech system."

Claude will use the text_to_speech tool to generate speech from your text.

To get information about available voices:

What voices are available in Elevenlabs?

Claude will use the get_voices tool to retrieve and display the list of voices.

Version

0.0.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_elevenlabs-0.0.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_elevenlabs-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file mcp_elevenlabs-0.0.2.tar.gz.

File metadata

  • Download URL: mcp_elevenlabs-0.0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for mcp_elevenlabs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 59bb1befdd17a691d44e257c8f8bb39c6ca32e7b6bb4f651b5eb63a435505cc8
MD5 8891470353bc8b4a937dfad775cb9461
BLAKE2b-256 2079c712d3553dcdfd6c5a634ea5b3f0535adccb07a97c134fa9e2f52132066b

See more details on using hashes here.

File details

Details for the file mcp_elevenlabs-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_elevenlabs-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81e787d7875828c39a2caa224436c1f2732f94295bbd79d99e0b1dac5a07b5e1
MD5 d8c4586e74c1245bd134cf638b04e426
BLAKE2b-256 3a4e6bd0f71acc916f785b5f0dd0138f129584a295ad32efc913c6ceb20fa143

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page