@angelogiacco/elevenlabs-mcp-server
v1.0.4
Published
An ElevenLabs MCP server
Readme
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:
Locate or create your Claude Desktop configuration file:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- On macOS:
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:
Locate or create your Claude Desktop configuration file:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- On macOS:
Add the following configuration:
{
"mcpServers": {
"ElevenLabs": {
"command": "npx",
"args": ["-y", "@angelogiacco/elevenlabs-mcp-server"],
"env": {
"ELEVENLABS_API_KEY": "your-elevenlabs-api-key-here"
}
}
}
}- Replace
your-elevenlabs-api-key-herewith your actual ElevenLabs API key.
The server is pre-configured with:
- API Base URL: https://api.elevenlabs.io/
- OpenAPI Spec: https://api.elevenlabs.io/openapi.json
- Server Name: elevenlabs-mcp-server
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 sourcenpm run clean- Removes build artifactsnpm run typecheck- Runs TypeScript type checking
Development Mode
npm run dev- Watches source files and rebuilds on changesnpm run inspect-watch- Runs the inspector with auto-reload on changes
Code Quality
npm run lint- Runs ESLintnpm run typecheck- Verifies TypeScript types
Configuration
The server can be configured through environment variables or command line arguments:
Development Workflow
- Start the development environment:
npm run inspect-watch- Make changes to the TypeScript files in
src/ - The server will automatically rebuild and restart
- Use the MCP Inspector UI to test your changes
Debugging
The server outputs debug logs to stderr. To see these logs:
- In development mode:
- Logs appear in the terminal running
inspect-watch
- Logs appear in the terminal running
- When running directly:
npm run inspect 2>debug.log
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting:
npm run typecheck npm run lint - Submit a pull request
License
MIT
