kelivo-image-mcp
Generates images using OpenAI-compatible image models such as gpt-image, dall-e, and flux through a relay API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kelivo-image-mcpGenerate an image of a serene mountain lake at sunset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kelivo-image-mcp
一个远程 MCP 服务,让 Kelivo 里的普通聊天模型通过调用工具来生图。图片会被服务自己托管一份,并以 Markdown 直链返回,这样模型可以把它写进回复正文,客户端就能直接铺开显示,而不是折叠在「工具调用」卡片里。
两套后端:
后端 | 工具 | 说明 |
OpenAI 兼容中转站 |
| grok-imagine / gpt-image / dall-e / flux 等,快,不消耗点数 |
Nai2API 工作台 |
| NovelAI 4.5,质量高,按画幅消耗点数 |
同时实现两种传输方式,兼容大多数 MCP 客户端:
旧版 HTTP+SSE:
GET /sse+POST /messagesStreamable HTTP:
POST /mcp
实际上 /、/mcp、/sse 三个路径都能用,GET 当 SSE、POST 当 Streamable HTTP,自动判断。
环境变量
变量 | 必填 | 说明 |
| 是 | 自定义密码,防止别人拿到 URL 白嫖你的额度 |
| 用中转站生图则必填 | 中转站 key |
| 否 | 默认 |
| 否 | 默认 |
| 用 NAI 生图则必填 |
|
| 否 | 默认 |
| 否 | 设为 |
| 否 | 覆盖自动识别的对外地址 |
Related MCP server: imagegen-mcp
部署(Render,手机可完成)
部署完得到形如 https://kelivo-image-mcp.onrender.com 的地址。访问根路径可以看到版本号和各项配置是否就绪。
在 Kelivo 里接入
添加远程 MCP,URL 填:
https://<你的域名>.onrender.com/mcp?token=<你的 MCP_AUTH_TOKEN>然后用一个支持工具调用的聊天模型,开启这个 MCP。
NAI 生图的选项流程
nai_generate 的参数都有默认值,但站点选项较多,推荐让模型先调 nai_options 把选项列成编号列表给用户挑:
风格预设 preset:
fresh韩漫小清新 /anime动漫同人 /2.5d2.5D唯美 /galgameGalGame风 /custom自定义画幅 size:竖图 / 横图 / 方图(各 1 点),2K 系列 15 点,4K 系列 25 点
采样器 sampler:
k_dpmpp_2m_sde等 6 种参数:steps 1-28、scale 1-20、cfg 0-1
数量 n:1 / 2 / 4
单次消耗超过 4 点时,nai_generate 不会直接扣费,而是返回一条提示要求模型先向用户说明总消耗,用户同意后再带 confirmed=true 调用。中文描述可以先用 nai_prompt_convert 转成英文 tag,这一步不消耗点数。
说明
所有 key 只放在环境变量里,不写进代码。
不设
MCP_AUTH_TOKEN的话,任何拿到 URL 的人都能调用并消耗你的额度。图片存在内存里,最多 60 张、保留 12 小时;Render 免费实例休眠或重新部署后图片链接会失效,想长期保存请及时下载。
Render 免费实例闲置 15 分钟休眠,唤醒约需 1 分钟,所以第一次生图可能偏慢。
仓库里的
main.ts是早期的 Deno 版本,功能较旧,仅作保留。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceAn MCP tool server that enables generating and editing images through OpenAI's image models, supporting text-to-image generation and advanced image editing (inpainting, outpainting) across various MCP-compatible clients.110MIT
- Alicense-qualityDmaintenanceMCP server that wraps OpenAI's image generation and editing APIs, enabling text-to-image and image-to-image operations via tools.20138ISC
- Alicense-qualityAmaintenanceMCP server for generating, editing, and processing images via multiple providers including Kilo, OpenRouter, OpenAI, and Gemini, with local tools for background removal, resizing, and cropping.142MIT
- Flicense-qualityDmaintenanceAn MCP server for AI-powered image processing (generate, edit, vary, analyze) supporting OpenAI, Gemini, Ideogram, and custom relay endpoints.
Related MCP Connectors
MCP server for Flux AI image generation
MCP server for Hailuo (MiniMax) AI video generation
MCP server for NanoBanana AI image generation and editing
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/1906777392-star/kelivo-image-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server