Leonardo MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Leonardo MCP
A Model Context Protocol server that exposes Leonardo.ai image generation as MCP tools over Streamable HTTP.
Features
generate_image— submit an image generation job to Leonardo.ai (v2 API).get_generation_status— poll a job and retrieve generated image URLs.Stateful Streamable HTTP transport with per-session management.
Supports GPT Image models (quality) and Phoenix models (mode).
Related MCP server: creator-factory-mcp
Requirements
Node.js 20+
A Leonardo.ai API key
Setup
npm installSet the required environment variables:
export LEONARDO_API_KEY="your-api-key"
export PORT=3001 # optional, defaults to 3001Build & Run
npm run build
npm startOr use the helper script (expects LEONARDO_API_KEY to already be exported):
./run.shThe server listens on http://0.0.0.0:3001/mcp by default.
MCP Client Configuration
Point your MCP client at the HTTP endpoint. Example:
{
"mcpServers": {
"leonardo": {
"url": "http://localhost:3001/mcp"
}
}
}Tools
generate_image
Parameter | Type | Default | Description |
| string | — | Detailed description of the image (required). |
| string | — | Elements to avoid. |
| string |
| Leonardo model ID. |
| string |
| For GPT Image models: LOW, MEDIUM, HIGH, EXTRA_HIGH, MAX. |
| string |
| For Phoenix models: FAST, QUALITY, ULTRA. |
| number |
| Width in pixels (multiple of 8). |
| number |
| Height in pixels (multiple of 8). |
| number |
| Number of images (1–8). |
| string[] | — | Optional Leonardo style UUIDs. |
Returns a generation_id to poll with get_generation_status.
get_generation_status
Parameter | Type | Description |
| string | ID returned by |
Returns the job status and, when complete, the generated image URLs.
Project Structure
src/index.ts Main Streamable HTTP MCP server
sources/index_stdio.js Reference stdio-based implementation (v1 API)
dist/ Compiled JavaScript outputLicense
MIT — see LICENSE.
Related MCP Connectors
Create and manage AI image and video generations through Quriov's fixed public MCP tools.
Generate AI images and videos from any compatible MCP client.
Generate images with any major model — one API key, one prepaid balance, one MCP.
Image infrastructure for agents. Upload, transform, and deliver images through MCP, CLI, or API.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceExposes multiple image generation backends as independent MCP tools for generating images with configurable models and parameters.MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools to submit asynchronous image generation jobs, check their status, cancel/retry them, and list or fetch generated assets, keeping prompts and outputs local unless an OpenAI provider is explicitly selected.MIT

maginary-mcpofficial
AlicenseAqualityBmaintenanceEnables MCP-compatible clients to discover Maginary's image/video generation flags, submit generation requests, and poll for results, including support for API-key and OAuth authentication.1326 PyPI1MIT- AlicenseNot gradedqualityBmaintenanceEnables image and video generation and editing through MCP tools, including image editing, upscaling, background removal, video generation, image-to-video, and video extension. Video generation runs asynchronously with job status and result retrieval.MIT