跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 ElevenLabs,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
AnythingMCP 已收录在 Claude 的连接器目录中:一键添加到 Claude (在新标签页中打开),然后登录并选择 Claude 可以使用哪些 MCP 服务器。
摘要
让你的 AI 用你自己的密钥使用 ElevenLabs:在你的账户和 Voice Library 中查找声音,把文本转换为可下载的语音,转录音频和视频,把视频配音成其他语言,查看积分和历史记录,并读取你的语音代理的对话。
试试这样问
ElevenLabs 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → ElevenLabs、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
ElevenLabs + Claude
让你的 AI 用你自己的密钥使用 ElevenLabs:在你的账户和 Voice Library 中查找声音,把文本转换为可下载的语音,转录音频和视频,把视频配音成其他语言,查看积分和历史记录,并读取你的语音代理的对话。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
ELEVENLABS_API_KEY
步骤 1 — 获取凭证
- 登录
https://elevenlabs.io,打开 Settings → API Keys(https://elevenlabs.io/app/settings/api-keys)。如果希望密钥不依赖于某个人,工作区管理员可以在 Workspace settings → Service Accounts 下为服务账户创建密钥。 - 创建一个密钥。可以不设限制,或至少允许以下权限:Text to Speech 和 Flows(用于语音)、Speech to Text、Models(读取)、Voices(读取)、Add voice from Voice Library、Speech History(读取;只有删除时才需要写入)、User(读取)、Dubbing(读取和写入)以及 ElevenAgents(读取)。密钥上的积分配额会限制它最多能花多少;IP 白名单会拦截 AnythingMCP。
- 复制密钥(以
sk_开头,只显示一次),粘贴到ELEVENLABS_API_KEY,然后安装连接器。密钥只会发送给 ElevenLabs。 - 先使用
elevenlabs_get_subscription:它会显示你的套餐、已用和剩余的积分,以及积分重置的时间。
数据驻留:使用独立环境的账户有自己的主机和自己的密钥。请把连接器的基础 URL 改为 https://api.eu.residency.elevenlabs.io(欧盟)、https://api.in.residency.elevenlabs.io(印度)或 https://api.sg.residency.elevenlabs.io(新加坡)。独立环境的密钥在标准主机上会被拒绝并返回 401,反之亦然。
从你的 ElevenLabs 账户中扣费:语音、转录和配音在订阅套餐中消耗你的积分,在按量付费的 API 计费方式下则以美元计费。其他功能均免费。2026 年 10 月的大致价格:
- 语音:使用
eleven_multilingual_v2和eleven_v3时每个字符约 1 积分,使用eleven_flash_v2_5时为 0.5 积分(按量付费:每 1,000 个字符 $0.08 或 $0.04)。生成失败不收费。 - 转录:每小时音频约 $0.22。
- 配音:带水印每分钟约 $0.33,不带水印 $0.50。
先确认:在生成语音、转录较长的录音或配音之前,AI 会告诉你大致费用并等你确认。用 elevenlabs_add_library_voice 保存 Voice Library 中的声音是免费的,但会占用你的一个声音名额,所以 AI 也会先问你。elevenlabs_delete_history_item 在安装时默认关闭。
语音:elevenlabs_create_speech 根据你的文本和声音开始生成音频,并返回一个 id。几秒钟后,elevenlabs_get_speech 会给你一个可以试听或下载的 MP3 链接。该链接约一小时后失效;需要时再请求一个新链接即可。语音在后台生成,支持三种模型:
eleven_multilingual_v2(默认):自然稳定,支持 29 种语言,最多 10,000 个字符。eleven_v3:表现力最强,支持 70 多种语言和 [whispers] 等音频标签,最多 5,000 个字符。eleven_flash_v2_5:速度最快,价格减半,最多 40,000 个字符。
转录和配音通过链接完成:你传入的是文件链接,而不是上传文件。elevenlabs_transcribe 读取公开链接(也支持 YouTube 或 TikTok,文件最大 2 GB),并立即返回文本;如果区分了说话人,elevenlabs_get_transcript 会显示谁在什么时候说了什么。如果 ElevenLabs 无法打开该链接,连接器会下载最大 10 MB 的直接文件链接并上传。elevenlabs_create_dubbing 把视频或音频文件配音成另一种语言,并保留说话人的声音;AI 每 30 到 60 秒查询一次 elevenlabs_get_dubbing,直到配音完成。elevenlabs_get_dubbing_transcript 以 SRT 或 WebVTT 格式返回字幕,配音后的文件可以在 ElevenLabs 应用的 Dubbing 中观看和下载。
还能读取的内容:你的声音和公开的 Voice Library,可按性别、年龄、口音、语言或用途筛选;各模型及其限制;生成音频的历史记录(文本、声音、模型、日期);你的套餐、积分和声音名额;以及你的语音代理及其提示词、开场白、声音和 LLM,还有它们的对话记录,包括文字记录、摘要和评估。音频以下载链接的形式返回,绝不会以原始音频出现在聊天中;较早的历史记录、配音和通话录音请在 ElevenLabs 应用中播放。
常见错误:401 invalid_api_key:密钥错误、已过期或已停用,或者属于独立环境(请修改基础 URL)。400 invalid_api_key:密钥被截断或输入有误。402 insufficient_credits:本周期积分已用完,或密钥自身的配额已用完。403 insufficient_permissions:密钥无权使用该端点,或 IP 白名单拦截了请求;请编辑密钥。400 或 422:模型不接受某个参数,例如对 eleven_multilingual_v2 传入语言代码,或文本超出模型的上限。404:id 不存在;AI 会用列表工具核对。429:同时发出的请求过多;请稍等片刻后重试一次。
该连接器不支持音效和音乐、实时和流式音频、声音克隆和声音设计、语音转语音、音频分离、Studio 项目、创建或编辑代理、电话和批量呼叫,也不支持下载历史记录、配音和代理通话的音频。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Claude 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
推荐路径:在 claude.ai web 上工作,无需触碰任何配置文件。
- 在 Claude 中打开 Customize → Connectors。
- 点击 +,然后点击 Add custom connector。
- 输入名称(例如
ElevenLabs)和远程 MCP 服务器 URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后点击 Add。 - 点击 Connect,登录 AnythingMCP(OAuth)并允许访问。
下面所有工具都会出现在你的聊天中,开始输入提示。
可用工具
| Tool | What it does |
|---|---|
elevenlabs_list_voices | List the voices in the user's ElevenLabs account (premade, cloned, generated, professional and voices saved from the Voice Library), with… |
elevenlabs_get_voice | Get one voice by id: name, category, labels, description, preview link, default settings, the models it is tuned for and its verified… |
elevenlabs_search_voice_library | Search the public ElevenLabs Voice Library (voices shared by the community and professional voice actors) by words, gender, age, accent… |
elevenlabs_add_library_voice | Save a voice from the public Voice Library to the user's account under a new name, so it can be used for speech |
elevenlabs_list_models | List the ElevenLabs models with id, name, whether they do text to speech, their cost factor, maximum text length per request and supported… |
elevenlabs_create_speech | Turn text into spoken audio (MP3) with an ElevenLabs voice |
elevenlabs_get_speech | Check a speech generation started with elevenlabs_create_speech. status is pending or generating while it runs (wait a few seconds and call… |
elevenlabs_list_speech_generations | List the speech generations made through elevenlabs_create_speech (and other API calls of the same kind), newest first, with status and… |
elevenlabs_transcribe | Transcribe the speech in an audio or video file to text with ElevenLabs Scribe, optionally telling speakers apart |
elevenlabs_get_transcript | Get a transcript made with elevenlabs_transcribe by its transcription_id: the full text plus every word as [start second, speaker id… |
elevenlabs_list_history | List the audio generated in the account (text to speech, speech to speech, Studio, dubbing), newest first, with text, voice, model, date… |
elevenlabs_get_history_item | Get one generated audio item from the history: text, voice, model, settings, date, source and character usage |
elevenlabs_delete_history_item | Delete one generated audio item from the history |
elevenlabs_get_subscription | Show the account's plan and usage: tier, status, credits used (character_count) and included (character_limit) this period, when they reset… |
elevenlabs_create_dubbing | Dub a video or audio file into another language with ElevenLabs, keeping the original speakers' voices |
elevenlabs_get_dubbing | Check a dubbing project: status (dubbing while it runs, dubbed when done, failed with error), source and target languages and media details |
elevenlabs_list_dubbings | List the dubbing projects in the account, newest first, with id, name, status and languages |
elevenlabs_get_dubbing_transcript | Get the subtitles of a finished dub as SRT or WebVTT text, for a target language or for the original (language_code source) |
elevenlabs_list_agents | List the ElevenLabs voice agents (ElevenAgents, formerly Conversational AI) in the account, with id, name, tags and last call time |
elevenlabs_get_agent | Get a voice agent's setup: name, first message, language, system prompt, LLM, voice and TTS model, tags and phone numbers |
elevenlabs_list_conversations | List the conversations held by the account's voice agents, newest first: id, agent, start time, duration, number of messages, status… |
elevenlabs_get_conversation | Read one agent conversation: the transcript (who said what, at which second, and which tools the agent called), status, duration… |
示例提示
- “在 Voice Library 中找三个沉稳的英式旁白声音,并给我它们的试听链接。”
- “用我的一个声音和 eleven_multilingual_v2 朗读这份产品公告。先告诉我字符数和费用,然后给我 MP3 链接。”
- “转录这段 YouTube 访谈并区分说话人,然后总结每个人说了什么。”
- “把这段 4 分钟的视频配音成德语,不带水印。开始前告诉我费用,配音完成后通知我。”
- “我这个月还剩多少积分?昨天我们的客服代理接的那些通话结果如何?”
FAQ
Claude Code 和 Claude Desktop 一样工作吗? 是的,两者都指向 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
下一步
这份指南对你有帮助吗?