NEW Browse AI tools across categories — updated daily. See what's new →

Setup API Key

Guides users through the process of setting up an ElevenLabs API key for use with ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to...

Version1.0.0
LicenseMIT
Token count~1,145
UpdatedJun 5, 2026

Guides users through the process of setting up an ElevenLabs API key for use with ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs.

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/elevenlabs/skills/tree/main/setup-api-key
Or pick agent:
npx skills add elevenlabs/skills --skill "Setup API Key" --agent claude-code
npx skills add elevenlabs/skills --skill "Setup API Key" --agent cursor
npx skills add elevenlabs/skills --skill "Setup API Key" --agent codex
npx skills add elevenlabs/skills --skill "Setup API Key" --agent opencode
npx skills add elevenlabs/skills --skill "Setup API Key" --agent github-copilot
npx skills add elevenlabs/skills --skill "Setup API Key" --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add elevenlabs/skills --skill "Setup API Key"

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/elevenlabs/skills.git
cp -r skills/setup-api-key ~/.claude/skills/
How to use: Once installed, ask your agent to "use the Setup API Key skill" or describe what you want (e.g. "Guides users through the process of setting up an ElevenLabs API key for use wit"). Requires Node.js 18+.

Setup API Key

Guides users through the process of setting up an ElevenLabs API key for use with ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs.

Setup API Keyby ElevenLabs

Guides users through the process of setting up an ElevenLabs API key for use with ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs.

npx skills add https://github.com/elevenlabs/skills --skill setup-api-keyDownload ZIPGitHub

ElevenLabs API Key Setup

Guide the user through obtaining and configuring an ElevenLabs API key.

Workflow

Step 0: Check for an existing API key first

Before asking the user for a key, check for an existing ELEVENLABS_API_KEY:

  • Check whether ELEVENLABS_API_KEY exists in the current environment.
  • If it's not in the environment, check .env for ELEVENLABS_API_KEY=<value>.
  • If an existing key is found, validate it:
`GET https://api.elevenlabs.io/v1/user
Header: xi-api-key: <existing-api-key>
`
  • If existing key validation succeeds:
  • Tell the user ElevenLabs is already configured and working
  • Skip the setup flow
  • Ask whether they want to replace/rotate the key; if not, stop
  • If existing key validation fails:
  • Tell the user the existing key appears invalid or expired
  • Continue to Step 1

Step 1: Request the API key

Tell the user:

To set up ElevenLabs, open the API keys page: https://elevenlabs.io/app/settings/api-keys

(Need an account? Create one at https://elevenlabs.io/app/sign-up first)

If you don't have an API key yet:

  • Click "Create key"
  • Name it (or use the default)
  • Set permission for your key. If you provide a key with "User" permission set to "Read" this skill will automatically verify if your key works
  • Click "Create key" to confirm
  • Copy the key immediately - it's only shown once!

Paste your API key here when ready.

For service account keys, optionally restrict usage to trusted IP addresses or CIDR ranges with
allowed_ips. Omitting it or setting it to null allows all IPs; when editing a service account
key, use clear to remove the allowlist or omit the field to leave it unchanged.

Then wait for the user's next message which should contain the API key.

Step 2: Validate and configure

Once the user provides the API key:

*
Validate the key by making a request:

`GET https://api.elevenlabs.io/v1/user
Header: xi-api-key: <the-api-key>
`

*
If validation fails:

  • Tell the user the API key appears to be invalid
  • Ask them to try again
  • Remind them of the URL: https://elevenlabs.io/app/settings/api-keys
  • If it fails a second time, display an error and exit

*
If validation succeeds, save the API key in a .env file:

`ELEVENLABS_API_KEY=<the-api-key>
`
  • If .env already has ELEVENLABS_API_KEY=..., replace that line
  • Otherwise add a new line for ELEVENLABS_API_KEY

*
Confirm success:

Done! Your key is stored as an environment variable in .env
Keep the key safe! Don't share it with anyone!

More skills from ElevenLabs

Agentsby ElevenLabsBuild voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience.Musicby ElevenLabsGenerate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music composition. Supports prompt-based generation, composition plans for granular control, and detailed output with metadata.Sound Effectsby ElevenLabsGenerate sound effects from text descriptions using ElevenLabs. Use when creating sound effects, generating audio textures, producing ambient sounds, cinematic impacts, UI sounds, or any audio that isn't speech. Supports looping, duration control, and prompt influence tuning.Speech To Textby ElevenLabsTranscribe audio to text using ElevenLabs Scribe v2. Use when converting audio/video to text, generating subtitles, transcribing meetings, or processing spoken content.Text To Speechby ElevenLabsConvert text to speech using ElevenLabs voice AI. Use when generating audio from text, creating voiceovers, building voice apps, or synthesizing speech in 70+ languages.

---

Source: https://github.com/elevenlabs/skills/tree/main/setup-api-key
Author: ElevenLabs
Discovered via: mcpservers.org

SKILL.md source

---
name: Setup API Key
description: Guides users through the process of setting up an ElevenLabs API key for use with ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to...
---

# Setup API Key

Guides users through the process of setting up an ElevenLabs API key for use with ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs.

# Setup API Keyby ElevenLabs
Guides users through the process of setting up an ElevenLabs API key for use with ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs.

`npx skills add https://github.com/elevenlabs/skills --skill setup-api-key`Download ZIPGitHub

## ElevenLabs API Key Setup

Guide the user through obtaining and configuring an ElevenLabs API key.

## Workflow

### Step 0: Check for an existing API key first

Before asking the user for a key, check for an existing `ELEVENLABS_API_KEY`:

* Check whether `ELEVENLABS_API_KEY` exists in the current environment.

* If it's not in the environment, check `.env` for `ELEVENLABS_API_KEY=<value>`.

* If an existing key is found, validate it:

```
`GET https://api.elevenlabs.io/v1/user
Header: xi-api-key: <existing-api-key>
`
```

* If existing key validation succeeds:

* Tell the user ElevenLabs is already configured and working

* Skip the setup flow

* Ask whether they want to replace/rotate the key; if not, stop

* If existing key validation fails:

* Tell the user the existing key appears invalid or expired

* Continue to Step 1

### Step 1: Request the API key

Tell the user:

To set up ElevenLabs, open the API keys page: https://elevenlabs.io/app/settings/api-keys

(Need an account? Create one at https://elevenlabs.io/app/sign-up first)

If you don't have an API key yet:

* Click "Create key"

* Name it (or use the default)

* Set permission for your key. If you provide a key with "User" permission set to "Read" this skill will automatically verify if your key works

* Click "Create key" to confirm

* Copy the key immediately - it's only shown once!

Paste your API key here when ready.

For service account keys, optionally restrict usage to trusted IP addresses or CIDR ranges with
`allowed_ips`. Omitting it or setting it to `null` allows all IPs; when editing a service account
key, use `clear` to remove the allowlist or omit the field to leave it unchanged.

Then wait for the user's next message which should contain the API key.

### Step 2: Validate and configure

Once the user provides the API key:

*
Validate the key by making a request:

```
`GET https://api.elevenlabs.io/v1/user
Header: xi-api-key: <the-api-key>
`
```

*
If validation fails:

* Tell the user the API key appears to be invalid

* Ask them to try again

* Remind them of the URL: https://elevenlabs.io/app/settings/api-keys

* If it fails a second time, display an error and exit

*
If validation succeeds, save the API key in a `.env` file:

```
`ELEVENLABS_API_KEY=<the-api-key>
`
```

* If `.env` already has `ELEVENLABS_API_KEY=...`, replace that line

* Otherwise add a new line for `ELEVENLABS_API_KEY`

*
Confirm success:

Done! Your key is stored as an environment variable in .env
Keep the key safe! Don't share it with anyone!

## More skills from ElevenLabs
Agentsby ElevenLabsBuild voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience.Musicby ElevenLabsGenerate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music composition. Supports prompt-based generation, composition plans for granular control, and detailed output with metadata.Sound Effectsby ElevenLabsGenerate sound effects from text descriptions using ElevenLabs. Use when creating sound effects, generating audio textures, producing ambient sounds, cinematic impacts, UI sounds, or any audio that isn't speech. Supports looping, duration control, and prompt influence tuning.Speech To Textby ElevenLabsTranscribe audio to text using ElevenLabs Scribe v2. Use when converting audio/video to text, generating subtitles, transcribing meetings, or processing spoken content.Text To Speechby ElevenLabsConvert text to speech using ElevenLabs voice AI. Use when generating audio from text, creating voiceovers, building voice apps, or synthesizing speech in 70+ languages.

---

**Source**: https://github.com/elevenlabs/skills/tree/main/setup-api-key
**Author**: ElevenLabs
**Discovered via**: mcpservers.org

Related skills 6

find-skills

★ Featured Official

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

vercel-labs 1.6M
APIs & Integrations

appinsights-instrumentation

★ Featured Official

Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.

microsoft 337k
APIs & Integrations

azure-messaging

★ Featured Official

Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems. WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue, message lock lost, message lock expired, lock renewal, lock renewal batch, send timeout, receiver disconnected, SDK troubleshooting, azure messaging SDK, event hub consumer, ser...

microsoft 327k
APIs & Integrations

azure-hosted-copilot-sdk

★ Featured Official

Build, deploy, and modify GitHub Copilot SDK apps on Azure. MANDATORY when codebase contains @github/copilot-sdk or CopilotClient in package.json. PREFER OVER azure-prepare when copilot-sdk markers detected. WHEN: copilot SDK, @github/copilot-sdk, copilot-powered app, build copilot app, prepare copilot app, add feature to copilot app, modify copilot app, BYOM, bring your own model, CopilotClient, createSession, sendAndWait, azd init copilot. DO NOT USE FOR: deploying already-prepared copilot-...

microsoft 310k
APIs & Integrations

lark-event

★ Featured

Lark/Feishu real-time event listening / subscribing / consuming: stream events as NDJSON via `lark-cli event consume <EventKey>` (covers IM message receive, reactions, chat member changes, etc.). Use for Lark bots, real-time message processing, long-running subscribers, streaming webhook/push handlers. Supports `--max-events` / `--timeout` bounded runs and a stderr ready-marker contract — designed for AI agents running as subprocesses.

larksuite 154k
APIs & Integrations

xget

★ Featured

Use when tasks involve Xget URL rewriting, registry/package/container/API acceleration, integrating Xget into Git, download tools, package managers, container builds, AI SDKs, CI/CD, deployment, self-hosting, or adapting commands and config from the live README `Use Cases` section into files, environments, shells, or base URLs.

xixu-me 152k
APIs & Integrations