@angelogiacco/elevenlabs-mcp-server

中文文档
1.0.4发布于 2025/03/10MITES Module近 30 天下载 3.9万

An ElevenLabs MCP server

原始使用文档
文档目录12 节
  1. Quick Start
  2. ElevenLabs API Configuration
  3. Available ElevenLabs API Endpoints
  4. Development Tools
  5. Building
  6. Development Mode
  7. Code Quality
  8. Configuration
  9. Development Workflow
  10. Debugging
  11. Contributing
  12. License

ElevenLabs MCP Server

A Model Context Protocol (MCP) server that exposes OpenAPI defined ElevenLabs endpoints as MCP resources.

Quick Start

You do not need to clone this repository to use this MCP server. You can simply configure it in Claude Desktop:

  1. Locate or create your Claude Desktop configuration file:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the following configuration to enable the OpenAPI MCP server:

{
  "mcpServers": {
    "ElevenLabs": {
      "command": "npx",
      "args": ["-y", "@angelogiacco/elevenlabs-mcp-server"],
      "env": {
        "ELEVENLABS_API_KEY": "your api key goes here"
      }
    }
  }
}

ElevenLabs API Configuration

This MCP server is pre-configured to work with the ElevenLabs API. To use it:

  1. Locate or create your Claude Desktop configuration file:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the following configuration:

{
  "mcpServers": {
    "ElevenLabs": {
      "command": "npx",
      "args": ["-y", "@angelogiacco/elevenlabs-mcp-server"],
      "env": {
        "ELEVENLABS_API_KEY": "your-elevenlabs-api-key-here"
      }
    }
  }
}
  1. Replace your-elevenlabs-api-key-here with your actual ElevenLabs API key.

The server is pre-configured with:

Available ElevenLabs API Endpoints

The MCP server exposes all ElevenLabs API endpoints available in the openapi spec.

To add new endpoints, just update the openapi spec.

Development Tools

This project includes several development tools to make your workflow easier:

Building

  • npm run build - Builds the TypeScript source
  • npm run clean - Removes build artifacts
  • npm run typecheck - Runs TypeScript type checking

Development Mode

  • npm run dev - Watches source files and rebuilds on changes
  • npm run inspect-watch - Runs the inspector with auto-reload on changes

Code Quality

  • npm run lint - Runs ESLint
  • npm run typecheck - Verifies TypeScript types

Configuration

The server can be configured through environment variables or command line arguments:

Development Workflow

  1. Start the development environment:
npm run inspect-watch
  1. Make changes to the TypeScript files in src/
  2. The server will automatically rebuild and restart
  3. Use the MCP Inspector UI to test your changes

Debugging

The server outputs debug logs to stderr. To see these logs:

  1. In development mode:

    • Logs appear in the terminal running inspect-watch
  2. When running directly:

    npm run inspect 2>debug.log
    

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting:
    npm run typecheck
    npm run lint
    
  5. Submit a pull request

License

MIT

版本与发布记录

@angelogiacco/elevenlabs-mcp-server 共发布 5 个版本,首次发布于 2025/03/09;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.0.4latest2025/03/101.7 年前
1.0.32025/03/101.7 年前
1.0.22025/03/091.7 年前
1.0.12025/03/091.7 年前
1.0.02025/03/091.7 年前

关于 @angelogiacco/elevenlabs-mcp-server 的常见问题

@angelogiacco/elevenlabs-mcp-server 是什么?

An ElevenLabs MCP server

如何安装 @angelogiacco/elevenlabs-mcp-server?

在项目目录运行 npm install @angelogiacco/elevenlabs-mcp-server,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 mcp-server-elevenlabs,可以用 npx mcp-server-elevenlabs 直接运行。

@angelogiacco/elevenlabs-mcp-server 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/angelogiacco__elevenlabs-mcp-server 是否存在。

@angelogiacco/elevenlabs-mcp-server 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@angelogiacco/elevenlabs-mcp-server 可以商用吗?

@angelogiacco/elevenlabs-mcp-server 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@angelogiacco/elevenlabs-mcp-server 的下载量有多少?

根据 npm 官方下载统计,@angelogiacco/elevenlabs-mcp-server 在 2026/10/06 – 2026/11/04 这 30 天内被下载 39,162 次,日均约 1,305 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@angelogiacco/elevenlabs-mcp-server 还在维护吗?

最新版本 1.0.4 发布于 2025/03/10(1.7 年前);至今共发布 5 个版本,其中过去 12 个月发布了 0 个;首次发布于 2025/03/09。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。