Basic information
About Leonardo AI MCP Server
MCP server for Leonardo AI API - Free daily credits for AI image generation
Leonardo AI MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by nikolausm. Supported transport: stdio. Runtime: node. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: ai-server, image-generation, leonardo-ai.
Setup
{
"mcpServers": {
"leonardo-ai": {
"command": "node",
"args": [
"/path/to/leonardo-ai-mcp-server/index.js"
],
"env": {
"LEONARDO_API_KEY": ""
}
}
}
}
{
"mcpServers": {
"leonardo-ai": {
"command": "node",
"args": [
"/path/to/leonardo-ai-mcp-server/index.js"
],
"env": {
"LEONARDO_API_KEY": ""
}
}
}
}
{
"servers": {
"leonardo-ai": {
"command": "node",
"args": [
"/path/to/leonardo-ai-mcp-server/index.js"
],
"env": {
"LEONARDO_API_KEY": ""
}
}
}
}
Leonardo AI MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"leonardo-ai": {
"command": "node",
"args": [
"/path/to/leonardo-ai-mcp-server/index.js"
],
"env": {
"LEONARDO_API_KEY": ""
}
}
}
}
Leonardo AI MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Leonardo AI MCP Server?
A Model Context Protocol server that provides access to Leonardo AI’s image generation API, offering 150 free image credits per day. It enables AI image generation directly from MCP-compatible clients like Claude Desktop.
How to use Leonardo AI MCP Server?
Clone the repository, install dependencies with npm install, set the LEONARDO_API_KEY environment variable, then add the server to your Claude Desktop configuration. Use tools like generate_image, check_credits, and list_models to create images, monitor credits, or browse available models.
Key features of Leonardo AI MCP Server
- Generate high-quality images using various AI models
- 150 free credits daily (resets at midnight UTC)
- Support for multiple art styles and models
- Batch generation (1–4 images at once)
- Save images locally or get URLs
- Check remaining credits
Use cases of Leonardo AI MCP Server
- Create children’s book illustrations with soft pastel colors
- Design educational posters with infographic-style layouts
- Generate anime or cartoon-style artwork
- Produce fantasy or dreamlike images using DreamShaper v7
- Rapidly prototype visual concepts for creative projects
Frequently asked questions
1 How do I get an API key?
Sign up at https://leonardo.ai (free), go to API settings, generate an API key, and set it as the LEONARDO_API_KEY environment variable.
2 How many free credits do I get?
150 credits daily, resetting at midnight UTC. Each image costs about 2 credits, giving roughly 75 images per day for free.
3 Which models are available?
Leonardo Diffusion XL, Leonardo Vision XL, Leonardo Anime XL, DreamShaper v7, and Realistic Vision v5.
4 Can I generate multiple images at once?
Yes. Use the num_images parameter to request 1–4 images in a single call.
5 How do I check my remaining credits?
Call the check_credits function. It returns the current credit balance.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In