Skip to content

Menu

Leonardo.Ai MCP Server logo

Leonardo.Ai MCP Server

Published

At a glance

Hosted by the vendor
https://docs.leonardo.ai/docs/connect-to-leonardoai-mcp
Watch out for
It is hosted only, so every request goes to Leonardo's servers and needs a browser sign-in to a Leonardo.Ai account.

Leonardo.Ai runs its own hosted MCP server at https://mcp.leonardo.ai/v2/mcp. It connects an AI assistant to your Leonardo.Ai account so the assistant can produce images and videos on request, or hand a creative brief to Leo Agent, Leonardo's own agent for longer creative work. There is nothing to install locally: the client talks to the endpoint over HTTP and you sign in through the browser.

The current version, MCP V2, authenticates with your Leonardo.Ai account rather than a key. That is a change from the older V1 endpoint (https://mcp.leonardo.ai/v1/mcp), which Leonardo documents in its v1.0 docs as needing an API key in an API-Key header and an API plan. If you have an old Cursor config pointing at /v1/mcp with a key in it, the V2 docs describe a different setup.

The docs cover Claude Code, Codex, Cursor, the Claude app and ChatGPT, each ending with the same browser sign-in step.

How it connects

Your AI app

An assistant or agent that supports MCP

Leonardo.Ai MCP Server

Runs as

  • Remote (HTTP)

Gives the agent

  • Image generation
  • Video generation
  • Leo Agent projects
  • Multi-step creative work
  • Personal or team credits

Leonardo.Ai

The data or system the tools act on

Your AI app talks to Leonardo.Ai MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Image generation
Ask for an image in plain language, for example a wide shot of a coastal village at sunrise, and the server generates it with your Leonardo.Ai account. The older V1 docs name the tool generate-image, with options for model, dimensions and guidance scale.
Video generation
The same connection handles video requests, such as a short clip of a scene described in the prompt.
Leo Agent projects
Leo Agent is meant for creative briefs, exploration and iterative edits. A project keeps the conversation and the generated assets, so follow-up work belongs in the same project.
Multi-step creative work
The docs give an example of starting a project for a coffee brand, exploring three packaging directions, turning one into a 15-second video, then asking for 10-second and 6-second cuts with music.
Personal or team credits
Generation draws on your personal credits by default, or on Team credits when a team is selected.

Setting it up

In Claude Code, add the server with claude mcp add --transport http leonardo-ai https://mcp.leonardo.ai/v2/mcp, then run claude mcp login leonardo-ai, finish the sign-in in your browser, and run /mcp inside Claude Code to check the connection. For Codex, run codex mcp add leonardo-ai --url https://mcp.leonardo.ai/v2/mcp, and codex mcp login leonardo-ai if sign-in does not start on its own. In Cursor, add a leonardo-ai entry to the mcpServers object in .cursor/mcp.json with "url": "https://mcp.leonardo.ai/v2/mcp" and "auth": {"CLIENT_ID": "cursor"}, then authenticate leonardo-ai from Cursor's MCP settings and use it in an Agent conversation. In the Claude app, go to Customize, choose Add custom connector, name it Leonardo.Ai, paste the URL, pick Claude's published identity (CIMD) and sign in. You need a Leonardo.Ai account and an assistant that supports MCP servers.

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Generate a hero image for a landing page from a short description while working in Claude Code.
  • Produce a short promotional video clip from a text prompt without leaving the editor.
  • Start a Leo Agent project for a brand, explore a few visual directions and keep iterating in the same project.
  • Cut one approved concept into several ad lengths, such as 15, 10 and 6 seconds.

Limitations and things to watch

  • It is hosted only, so every request goes to Leonardo's servers and needs a browser sign-in to a Leonardo.Ai account.
  • Each generation spends personal or Team credits, so an agent running in a loop can use up a balance quickly.
  • Administrators of managed Claude workspaces can restrict custom connectors, in which case the connector option may be missing.
  • Configs written for the V1 endpoint use an API-Key header and an API plan, which is a different auth model from V2's account sign-in.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…