ElevenLabs Image Generation Server
FreeNot checkedGenerates images from text prompts using ElevenLabs' image generation API via browser automation, with support for multiple models and persistent authentication
About
Generates images from text prompts using ElevenLabs' image generation API via browser automation, with support for multiple models and persistent authentication.
README
An MCP (Model Context Protocol) server that generates images using ElevenLabs' Image & Video feature via Playwright browser automation.
Features
- generate_image - Generate images from text prompts using ElevenLabs
- list_models - List available image generation models
- get_session_status - Check authentication status
Available Models
| Model ID | Name | Description |
|---|---|---|
gpt-image-1.5 |
GPT Image 1.5 (default) | OpenAI - precise, high-quality generation |
gpt-image-1 |
GPT Image 1 | OpenAI - text-based creation and editing |
flux-kontext-pro |
Flux 1 Kontext Pro | Professional style control via reference images |
seedream-4 |
Seedream 4 | Multi-shot sequences with stable physics |
nano-banana |
Nano Banana (Google) | High-speed iterations |
wan-2.5 |
Wan 2.5 | Strong prompt fidelity |
Installation
# Clone the repository
git clone [email protected]:ddunford/elevenlabMCP.git
cd elevenlabMCP
# Install dependencies
npm install
# Build
npm run build
# Install Playwright browser
npx playwright install chromium
Quick Setup (One-Liner)
Add to Claude Code globally:
claude mcp add elevenlabs-image -s user -- node /path/to/elevenlabMCP/dist/index.js
Or manually add to ~/.claude.json:
{
"mcpServers": {
"elevenlabs-image": {
"type": "stdio",
"command": "node",
"args": ["/path/to/elevenlabMCP/dist/index.js"],
"env": {}
}
}
}
Usage
In Claude Code
After adding the MCP server, restart Claude Code. The tools will be available as:
mcp__elevenlabs-image__generate_imagemcp__elevenlabs-image__list_modelsmcp__elevenlabs-image__get_session_status
generate_image
Generate an image from a text prompt.
Parameters:
| Parameter | Required | Description |
|---|---|---|
prompt |
Yes | Text description of the image to generate |
model |
No | Model ID (default: gpt-image-1.5) |
savePath |
No | Directory to save image (default: assets/) |
aspectRatio |
No | e.g., "1:1", "16:9", "9:16" |
negativePrompt |
No | What to avoid in the image |
email |
No | ElevenLabs account email (for first-time auth) |
password |
No | ElevenLabs account password (for first-time auth) |
Example:
Generate an image of a cyberpunk city at night with neon lights
list_models
Returns all available image generation models with their capabilities.
get_session_status
Check if currently logged in to ElevenLabs.
Authentication
On first use, provide your ElevenLabs credentials via the email and password parameters. The session is persisted in .auth/ so subsequent calls don't require credentials.
How It Works
- Uses Playwright to automate the ElevenLabs web interface (no API available for image generation)
- Maintains a persistent browser session for authentication
- Navigates to the Image & Video page
- Enters prompts and generates images
- Downloads generated images from the History page
Project Structure
elevenlabMCP/
├── src/
│ ├── index.ts # Entry point
│ ├── server.ts # MCP server setup
│ ├── tools/ # MCP tool implementations
│ ├── browser/ # Playwright automation
│ ├── auth/ # Authentication handling
│ └── config/ # Configuration
├── dist/ # Compiled JavaScript
├── assets/ # Generated images output
└── .auth/ # Session storage (gitignored)
Environment Variables (Optional)
Create a .env file:
[email protected]
ELEVENLABS_PASSWORD=yourpassword
HEADLESS=true # Set to false for debugging
Notes
- Image generation typically takes 30-60 seconds
- Generated images are saved as WebP files
- The browser runs headless by default; set
HEADLESS=falseto see the browser
License
MIT
Installing ElevenLabs Image Generation Server
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ddunford/elevenlabMCPFAQ
Is ElevenLabs Image Generation Server MCP free?
Yes, ElevenLabs Image Generation Server MCP is free — one-click install via Unyly at no cost.
Does ElevenLabs Image Generation Server need an API key?
No, ElevenLabs Image Generation Server runs without API keys or environment variables.
Is ElevenLabs Image Generation Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install ElevenLabs Image Generation Server in Claude Desktop, Claude Code or Cursor?
Open ElevenLabs Image Generation Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Playwright
Browser automation, scraping, screenshots
by MicrosoftPuppeteer
Browser automation and web scraping.
by modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
by opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
by robhunterhlydecker/ucsc-genome-mcp
MCP server to interact with the UCSC Genome Browser API, letting you find genomes, chromosomes, and more.
by hlydecker34892002/bilibili-mcp-js
A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.
by 34892002achiya-automation/safari-mcp
Native Safari browser automation for AI agents with 80+ tools. No Chrome dependency, optimized for Apple Silicon with 60% less CPU overhead.
by achiya-automationagent-infra/mcp-server-browser
Browser automation capabilities using Puppeteer, both support local and remote browser connection.
by bytedanceaparajithn/agent-scraper-mcp
Web scraping MCP server for AI agents. 6 tools: clean content extraction, structured scraping with CSS selectors, full-page screenshots via Playwright, link ext
by aparajithnapireno/DOMShell
Browse the web using filesystem commands (ls, cd, grep, click). 38 MCP tools map Chrome's Accessibility Tree to a virtual filesystem via a Chrome Extension.
by apirenoCompare ElevenLabs Image Generation Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All browse MCPs
