setup-api-key

Configures and validates an ElevenLabs API key for ElevenLabs MCP tools.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/X-manist/Cohmira --skill setup-api-key-x-manist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-api-key
Source: https://github.com/X-manist/Cohmira/tree/main/src/builtin-plugins/openmontage/.agents/skills/setup-api-key
Command: npx skills add https://github.com/X-manist/Cohmira --skill setup-api-key-x-manist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? ElevenLabs MCP tools fail when the ELEVENLABS_API_KEY environment variable is missing or invalid, and users often do not know where to obtain a key or how to store it correctly. This Skill walks through detecting an existing key, validating it against the ElevenLabs API, and persisting a working key to a .env file. ## Core Features & Use Cases - Existing Key Detection: Checks the environment and .env file for ELEVENLABS_API_KEY before asking the user for anything, avoiding redundant setup. - Key Validation: Verifies the key by calling GET https://api.elevenlabs.io/v1/user with the xi-api-key header, distinguishing valid keys from expired or malformed ones. - Guided Setup and Persistence: Directs the user to the ElevenLabs API keys page, then writes or replaces the ELEVENLABS_API_KEY line in .env after successful validation. - Use Case: An ElevenLabs text-to-speech tool call fails with an authentication error; invoke this Skill to confirm whether a key exists, validate it, and store a working replacement. ## Quick Start Set up my ElevenLabs API key so the ElevenLabs MCP tools can authenticate.

Frequently Asked Questions about setup-api-key

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an ElevenLabs API key for MCP tools?

Create a key at https://elevenlabs.io/app/settings/api-keys, copy it immediately since it is shown only once, and provide it when prompted. The key is validated against the ElevenLabs API and stored as ELEVENLABS_API_KEY in a .env file.

How to check if my ElevenLabs API key is already configured?

The setup flow first checks the current environment and then the .env file for ELEVENLABS_API_KEY. If found, it validates the key with a GET request to https://api.elevenlabs.io/v1/user using the xi-api-key header before doing anything else.

Why do ElevenLabs tools fail with authentication errors?

Failures typically mean ELEVENLABS_API_KEY is missing from the environment and .env, or the stored key is invalid or expired. Re-running the setup validates the existing key and replaces it if validation against the ElevenLabs API fails.

Where is the ElevenLabs API key stored after setup?

The key is saved as ELEVENLABS_API_KEY=<key> in a .env file. If that line already exists it is replaced; otherwise a new line is appended.

What permissions does the ElevenLabs API key need?

If the key has the User permission set to Read, the setup flow can automatically verify it works by calling the /v1/user endpoint. Keys without that permission cannot be validated by this flow.