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.1.tar.gz (5.2 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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcp_elevenlabs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2ed5242099c1428f43d09d825edd3131d3eac95f80a9ca7446c55fb2fdf90c77
MD5 d32ca36a705524d5823bb5d6e590ef9f
BLAKE2b-256 8953746e2e743e4e875b69cb2b8c1ce46e229efc71f2668aa8a4623982a09894

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_elevenlabs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3ee778fbe897fecd4a321b408761491b671ede69cf26dfbde2f0ebc7d5b1563
MD5 badbda266bdbc99480380509dc2d7729
BLAKE2b-256 6b6f05fdb6989cb6a28379b2a9cba7796ae57d29572f50aee5eb87f134057d36

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