Guides users through setting up an ElevenLabs API key for 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. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.
99
92%
Does it follow best practices?
Impact
100%
1.33xAverage score across 12 eval scenarios
Risky
Do not use without reviewing
Guide the user through obtaining and configuring an ElevenLabs API key.
Before asking the user for a key, check for an existing ELEVENLABS_API_KEY:
ELEVENLABS_API_KEY exists in the current environment..env for ELEVENLABS_API_KEY=<value>.GET https://api.elevenlabs.io/v1/user
Header: xi-api-key: <existing-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.
Then wait for the user's next message which should contain the API key.
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:
If validation succeeds, save the API key in a .env file:
ELEVENLABS_API_KEY=<the-api-key>.env already has ELEVENLABS_API_KEY=..., replace that lineELEVENLABS_API_KEYConfirm success:
Done! Your key is stored as an environment variable in .env Keep the key safe! Don't share it with anyone!
cab396c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.