leonardo-claude-mcp

MCP音视频

提供方 lildaddyo

音视频 未标注 API Key 社区 / 第三方 Claude

An MCP server connecting Claude to Leonardo AI, offering text-to-image, image-to-image, image-to-video, upscaling, and model discovery capabilities for AI image creation and video generation.

一句话选型结论

按资料字段整理

leonardo-claude-mcp 属于音视频类 MCP 服务器,传输方式未标注,API Key,可直接接入 Claude,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类音视频 传输方式未标注 鉴权API Key 部署方式未标注
GitHub 星标 0 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

音视频
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

Blend Deployment Image Generation AI Art TypeScript MCP Server Leonardo AI Image-to-Image Video Generation Model Discovery API Integration

支持客户端

适用场景

Blend DeploymentImage GenerationAI Art

安装与配置

未标注 API Key
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
转写与字幕

把音视频转成文字和字幕。

音视频处理

裁剪、转码、拼接素材。

内容分发

把成品发到对应平台。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 已适配 Claude,换客户端不用重新研究配置。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好API Key对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在音视频场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
leonardo-claude-mcp当前 未标注 未标注 未标注 无 2026-10-10
Ableton MCP B7b69a6a 16 stdio · 本地进程 本地部署 有 2026-05-17
Mini Max MCP 8 SSE · 服务端推送 远程部署 有 2026-05-18
LocalAI 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Youtube E0eb3510 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Voicemode MCP 未标注 stdio · 本地进程 本地部署 有 2026-05-17

服务器档案

音视频
字段来自项目仓库与公开索引,中文说明由本站标注
提供方lildaddyo上游标注的维护方 lildaddyo
分类音视频本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式API Key远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · node本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验2026-10-10上游最后核验时间

详细介绍

5.2 KB
来自项目仓库与上游目录的原文,未做删改

Leonardo AI MCP Server

MCP server connecting Claude to Leonardo AI for image generation, img2img, animation, upscaling, and model discovery. Deploys to Railway (same pattern as Higgsfield MCP).


Tools (9 total)

Tool What it does
leonardo_get_user_info Account info + API credit balance
leonardo_list_models List all platform models + IDs
leonardo_generate_image Text-to-image with polling
leonardo_get_generation Poll / fetch a generation by ID
leonardo_image_to_image img2img with init image + prompt
leonardo_upload_init_image_from_url Create S3 upload slot for init images
leonardo_image_to_video Animate an image (Leonardo Motion)
leonardo_upscale_image Upscale a generated image
leonardo_delete_generation Delete a generation

Environment Variables

Name Required Description
LEONARDO_API_KEY ✅ Your Leonardo API key
TRANSPORT ✅ http for Railway, stdio for local
PORT ✅ 3000
MCP_ACCESS_KEY ✅ for http Secret that callers must present (see Authentication). Several keys may be given comma-separated to rotate without downtime. Use a long random value, e.g. openssl rand -hex 32
MCP_REQUIRE_AUTH true = refuse every /mcp request (503) while MCP_ACCESS_KEY is unset, instead of serving it unauthenticated
LEONARDO_MAX_JOBS_PER_DAY Spend guard: max paid jobs (image, img2img, video, upscale) per UTC day. Default 200
LEONARDO_MAX_ULTRA_PER_DAY Spend guard: max Ultra image jobs per UTC day. Default 25
LEONARDO_MAX_VIDEO_PER_DAY Spend guard: max image-to-video jobs per UTC day. Default 25
LEONARDO_MAX_JOBS_PER_MINUTE Spend guard: burst rate limit for paid jobs. Default 15
LEONARDO_MIN_CREDIT_BALANCE Spend guard: refuse Ultra/video jobs when the API credit balance is below this. Default 0 (off)

The spend guard is in memory and per process: counters reset at 00:00 UTC and on restart. Setting a cap to 0 blocks that kind of job.


Authentication (HTTP transport)

Every tool spends or reads this server's own Leonardo account, so the HTTP endpoint must not be public.
With MCP_ACCESS_KEY set, a request is accepted only with one of:

  • Path token (works for claude.ai URL connectors): https:///mcp/
  • Bearer header: POST /mcp with Authorization: Bearer

Anything else gets 401. Keys are compared in constant time. GET /health stays public and reports auth: enforced · open · locked.

If MCP_ACCESS_KEY is unset the server still answers without a token (so an auto-deploy does not cut off an existing connector) and logs a
SECURITY WARNING every 10 minutes. Set MCP_REQUIRE_AUTH=true to refuse requests instead.

Switching an existing deployment to auth without downtime:
1. Generate a key and change the claude.ai connector URL to https:///mcp/ (accepted while auth is still open).
2. Set MCP_ACCESS_KEY= in Railway. After the redeploy, /health shows auth: "enforced" and plain /mcp returns 401.

The path token appears in proxy access logs, so treat those logs as sensitive and rotate the key if they leak.


Get Your API Key

  1. Go to app.leonardo.ai
  2. Left menu → API Access
  3. Click Create New Key
  4. Copy the key

Deploy to Railway (Baby Steps)

STEP 1 — Push to GitHub```bash

git init
git add .
git commit -m "leonardo mcp"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/leonardo-mcp.git
git push -u origin main


### STEP 2 — Deploy on Railway

1. Go to **railway.app** → log in
2. **New Project** → **Deploy from GitHub repo**
3. Pick `leonardo-mcp`
4. Wait ~1 minute for build

### STEP 3 — Set Environment Variables

In Railway → **Variables** tab:

| Name | Value |
|------|-------|
| `LEONARDO_API_KEY` | `your-api-key-here` |
| `TRANSPORT` | `http` |
| `PORT` | `3000` |
| `MCP_ACCESS_KEY` | output of `openssl rand -hex 32` |

### STEP 4 — Generate Domain

Railway → **Settings** → **Networking** → **Generate Domain**

You'll get a URL like: `https://-production.up.railway.app`

### STEP 5 — Connect to Claude

**claude.ai → Settings → Integrations → Add MCP server**

URL: `https://your-domain.up.railway.app/mcp/`

Keep this URL private: it contains the key.

## Tests

`npm test` builds the server and runs `test/http-smoke.mjs`: auth modes, id validation and concurrent requests, with a fake API key and no paid Leonardo calls.

---

## Test in Chat```
"Check my Leonardo AI credit balance"
"List available Leonardo models"
"Generate a cinematic pharma lab image with Leonardo, dark moody lighting, teal accents"
"Generate a product shot with Leonardo: floating VR headset on dark background, cyan holographic effect"

Use Together with Higgsfield

Claude can now orchestrate both in the same conversation:

  • Leonardo: Superior image quality, fine-tuned models, img2img, alchemy pipeline
  • Higgsfield: Cinematic video generation, DoP camera movements, lip-sync

Example flow:
1. leonardo_generate_image → get a perfect product shot
2. higgsfield_image_to_video → animate it with cinematic camera movement

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
leonardo-claude-mcp 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

leonardo-claude-mcp 怎么在 Claude 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

leonardo-claude-mcp 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

leonardo-claude-mcp 需要 API Key 吗?

资料标注需要API Key认证,使用前准备好对应凭据,并按最小权限配置。

leonardo-claude-mcp 支持哪些客户端?

资料标注支持 Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

leonardo-claude-mcp 能提供哪些能力?

资料显示能力标签包括 Blend Deployment、Image Generation、AI Art、TypeScript、MCP Server、Leonardo AI。具体工具清单以官方文档为准。

leonardo-claude-mcp 需要什么运行环境?

运行时为 node。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-10-10。