@runapi.ai/elevenlabs-mcp 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,40 +1,52 @@
1
- # @runapi.ai/elevenlabs-mcp
1
+ <h1 align="center">ElevenLabs MCP Server</h1>
2
2
 
3
- RunAPI MCP server for the **ElevenLabs** model line. Create tasks,
4
- poll their status, and check pricing through a single RunAPI API key.
3
+ <p align="center">
4
+ <strong>Create ElevenLabs AI tasks through RunAPI — 5 endpoints, 6 models — then poll status and check pricing. One MCP server, one API key.</strong>
5
+ </p>
5
6
 
6
- ## Tools
7
+ <p align="center">
8
+ <sub>Works with Claude Code, Codex, Cursor, Windsurf, VS Code, Roo Code, and any MCP-compatible host.</sub>
9
+ </p>
7
10
 
8
- - `isolate_audio` — create a ElevenLabs task (isolate audio) and (optionally) poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. Models: `audio-isolation`, `speech-to-text`, `text-to-dialogue-v3`, `sound-effect-v2`, `text-to-speech-multilingual-v2`, `text-to-speech-turbo-v2.5`.
9
- - `speech_to_text` — create a ElevenLabs task (speech to text) and (optionally) poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. Models: `audio-isolation`, `speech-to-text`, `text-to-dialogue-v3`, `sound-effect-v2`, `text-to-speech-multilingual-v2`, `text-to-speech-turbo-v2.5`.
10
- - `text_to_dialogue` — create a ElevenLabs task (text to dialogue) and (optionally) poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. Models: `audio-isolation`, `speech-to-text`, `text-to-dialogue-v3`, `sound-effect-v2`, `text-to-speech-multilingual-v2`, `text-to-speech-turbo-v2.5`.
11
- - `text_to_sound` — create a ElevenLabs task (text to sound) and (optionally) poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. Models: `audio-isolation`, `speech-to-text`, `text-to-dialogue-v3`, `sound-effect-v2`, `text-to-speech-multilingual-v2`, `text-to-speech-turbo-v2.5`.
12
- - `text_to_speech` — create a ElevenLabs task (text to speech) and (optionally) poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. Models: `audio-isolation`, `speech-to-text`, `text-to-dialogue-v3`, `sound-effect-v2`, `text-to-speech-multilingual-v2`, `text-to-speech-turbo-v2.5`.
13
- - `get_task` — fetch the current status and latest payload for a task.
14
- - `check_pricing` — look up pricing for a model in this line.
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/@runapi.ai/elevenlabs-mcp"><img src="https://img.shields.io/npm/v/%40runapi.ai/elevenlabs-mcp?style=flat-square&color=blue" alt="npm version"></a>
13
+ <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-blue?style=flat-square" alt="Apache-2.0 license"></a>
14
+ <img src="https://img.shields.io/badge/Type-MCP_Server-blue?style=flat-square" alt="MCP Server">
15
+ <img src="https://img.shields.io/badge/Models-6-green?style=flat-square" alt="6 models">
16
+ </p>
15
17
 
16
- ## Configuration
18
+ <p align="center">
19
+ <a href="#quick-start">Quick Start</a> |
20
+ <a href="#tools">Tools</a> |
21
+ <a href="#models">Models</a> |
22
+ <a href="#examples">Examples</a> |
23
+ <a href="#configuration">Configuration</a>
24
+ </p>
17
25
 
18
- Set a RunAPI API key via the `RUNAPI_API_KEY` environment variable, or write
19
- it to `~/.config/runapi/config.json`:
26
+ ---
20
27
 
21
- ```bash
22
- mkdir -p ~/.config/runapi
23
- echo '{"api_key":"YOUR_KEY"}' > ~/.config/runapi/config.json
24
- ```
28
+ ## What Is This?
29
+
30
+ `@runapi.ai/elevenlabs-mcp` is a focused MCP server for the **ElevenLabs** model line on RunAPI.
31
+ It lets an MCP-compatible assistant create ElevenLabs tasks, poll their status, and check current pricing — all through a single RunAPI API key.
32
+
33
+ `check_pricing` works without a key. Task creation and status polling require `RUNAPI_API_KEY`.
34
+ This package is a pure client; it does not run a local generation backend.
25
35
 
26
- Get an API key at https://runapi.ai. Pricing is listed at
27
- https://runapi.ai/pricing.
36
+ ---
28
37
 
29
- ## Usage
38
+ ## Quick Start
30
39
 
31
- Run the server over stdio:
40
+ Add it to Claude Code:
32
41
 
33
42
  ```bash
34
- npx -y @runapi.ai/elevenlabs-mcp
43
+ claude mcp add elevenlabs -s user -- npx -y @runapi.ai/elevenlabs-mcp
35
44
  ```
36
45
 
37
- Add it to an MCP client (see `examples/` for per-client configs):
46
+ - `-s user`: global, available in all of your projects.
47
+ - `-s project`: team-shared, written to `.mcp.json` in the current repo so it can be committed.
48
+
49
+ For other hosts, or for manual configuration, use this JSON:
38
50
 
39
51
  ```json
40
52
  {
@@ -48,6 +60,90 @@ Add it to an MCP client (see `examples/` for per-client configs):
48
60
  }
49
61
  ```
50
62
 
63
+ Create an API key at [runapi.ai](https://runapi.ai) and expose it as `RUNAPI_API_KEY`.
64
+ See `examples/` for ready-made config files for Claude, Cursor, Windsurf, VS Code, and Roo.
65
+
66
+ ---
67
+
68
+ ## Tools
69
+
70
+ | Tool | Auth | Purpose |
71
+ |---|---|---|
72
+ | `isolate_audio` | Yes | Create a ElevenLabs task (isolate audio) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
73
+ | `speech_to_text` | Yes | Create a ElevenLabs task (speech to text) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
74
+ | `text_to_dialogue` | Yes | Create a ElevenLabs task (text to dialogue) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
75
+ | `text_to_sound` | Yes | Create a ElevenLabs task (text to sound) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
76
+ | `text_to_speech` | Yes | Create a ElevenLabs task (text to speech) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
77
+ | `get_task` | Yes | Fetch the current status and latest payload for an existing task. |
78
+ | `check_pricing` | No | Look up the current price for a ElevenLabs model and endpoint. |
79
+
80
+ ---
81
+
82
+ ## Models
83
+
84
+ ElevenLabs covers 6 models across 5 endpoints. Each tool accepts the models listed for it:
85
+
86
+ | Tool | Models |
87
+ |---|---|
88
+ | `isolate_audio` | `audio-isolation` |
89
+ | `speech_to_text` | `speech-to-text` |
90
+ | `text_to_dialogue` | `text-to-dialogue-v3` |
91
+ | `text_to_sound` | `sound-effect-v2` |
92
+ | `text_to_speech` | `text-to-speech-multilingual-v2`, `text-to-speech-turbo-v2.5` |
93
+
94
+ Call `check_pricing` for the current price of any model. Model availability can change between releases.
95
+
96
+ ---
97
+
98
+ ## Examples
99
+
100
+ Ask your assistant in natural language; it uses the tools to confirm pricing and run the task.
101
+
102
+ ### Create a task
103
+
104
+ ```text
105
+ Run an ElevenLabs isolate audio task with RunAPI.
106
+ ```
107
+
108
+ The assistant calls `check_pricing` to confirm the cost, then `isolate_audio`, and returns the task id, status, and output URLs.
109
+
110
+ ### Submit without waiting
111
+
112
+ ```text
113
+ Create the task but don't wait for it to finish.
114
+ ```
115
+
116
+ The assistant calls the create tool with `wait: false` and returns the task id. Check on it later with `get_task`.
117
+
118
+ ### Check pricing
119
+
120
+ ```text
121
+ What does ElevenLabs cost?
122
+ ```
123
+
124
+ The assistant calls `check_pricing` and shows the current snapshot, or links to [runapi.ai/pricing](https://runapi.ai/pricing).
125
+
126
+ ---
127
+
128
+ ## Configuration
129
+
130
+ The server reads the API key in this order:
131
+
132
+ 1. `RUNAPI_API_KEY` environment variable
133
+ 2. `~/.config/runapi/config.json`
134
+
135
+ Example config file:
136
+
137
+ ```json
138
+ {
139
+ "apiKey": "your_runapi_key"
140
+ }
141
+ ```
142
+
143
+ Do not commit real API keys. Get one at [runapi.ai](https://runapi.ai); pricing is listed at [runapi.ai/pricing](https://runapi.ai/pricing).
144
+
145
+ ---
146
+
51
147
  ## License
52
148
 
53
- Apache-2.0
149
+ Licensed under the [Apache License, Version 2.0](LICENSE).
@@ -1,5 +1,5 @@
1
1
  export declare const META: {
2
2
  readonly name: "@runapi.ai/elevenlabs-mcp";
3
- readonly version: "0.1.0";
3
+ readonly version: "0.1.1";
4
4
  readonly lineSlug: "elevenlabs";
5
5
  };
package/dist/src/meta.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const META = {
2
2
  name: "@runapi.ai/elevenlabs-mcp",
3
- version: "0.1.0",
3
+ version: "0.1.1",
4
4
  lineSlug: "elevenlabs"
5
5
  };
6
6
  //# sourceMappingURL=meta.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@runapi.ai/elevenlabs-mcp",
3
- "version": "0.1.0",
4
- "description": "RunAPI MCP server for one model line: create tasks, poll status, and check pricing with one API key.",
3
+ "version": "0.1.1",
4
+ "description": "ElevenLabs MCP server for RunAPI create ElevenLabs AI tasks (isolate audio, speech to text, text to dialogue), poll status, and check pricing across 6 models with one API key.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
7
7
  "bin": {
@@ -27,7 +27,18 @@
27
27
  "runapi",
28
28
  "mcp",
29
29
  "model-context-protocol",
30
- "ai"
30
+ "ai",
31
+ "elevenlabs",
32
+ "elevenlabs-mcp",
33
+ "elevenlabs-ai",
34
+ "elevenlabs-api",
35
+ "audio-generation",
36
+ "ai-audio",
37
+ "isolate-audio",
38
+ "speech-to-text",
39
+ "text-to-dialogue",
40
+ "text-to-sound",
41
+ "text-to-speech"
31
42
  ],
32
43
  "author": "RunAPI",
33
44
  "license": "Apache-2.0",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/runapi-ai/elevenlabs-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.1.0",
9
+ "version": "0.1.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@runapi.ai/elevenlabs-mcp",
14
- "version": "0.1.0",
14
+ "version": "0.1.1",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },