{
"mcpServers": {
"mcp-server-imagine": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 15 days ago.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
mcp-server-imagine 是一个 Go 实现的独立 MCP Server,面向图像生成、图像编辑和图像导入场景,统一通过 POST /mcp 提供协议入口。
当前服务支持:
initializetools/listtools/call模型能力通过 MCP 可发现:
tools/list 返回工具入口image.models.list 返回所有已配置图像模型,以及每个模型每个 operation 的精确 inputSchema仓库当前同时支持两类交付方式:
make run、make docker-upmake release1.26+cp .env.example .env
至少准备一个非 example 的 provider 配置:
cp configs/provider.example.yml configs/provider.yml
make run
默认入口:
http://localhost:11962/mcp
make test
make verify-models
联调命令会:
data/image.models.list 做 discoveryedit 模型的统一输入data/verification/<run-id>/summary.mddata/verification/<run-id>/curl/*.mdPoe 的代理优先来自 configs/poe.yml 顶层的 endpoint.proxyUrl,因此可以只让 Poe 走代理而不影响其他 provider。HTTP_PROXY / HTTPS_PROXY 仍可作为整进程代理的补充方案,NO_PROXY 建议至少包含 localhost,127.0.0.1。
curl -X POST http://localhost:11962/mcp \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "models-1",
"method": "tools/call",
"params": {
"name": "image.models.list",
"arguments": {
"operation": "generate"
},
"_meta": {
"chatId": "11111111-1111-4111-8111-111111111111"
}
}
}'
响应中的 result.structuredContent.models[*].operations[*].inputSchema 就是执行时应遵守的参数契约。
curl -X POST http://localhost:11962/mcp \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "poe-generate-1",
"method": "tools/call",
"params": {
"name": "image.generate",
"arguments": {
"model": "GPT-Image-1",
"prompt": "冬天到春天交界时,冰雪消融、嫩芽破土、阳光洒落的希望场景",
"size": "1024x1024",
"quality": "high"
},
"_meta": {
"chatId": "11111111-1111-4111-8111-111111111111"
}
}
}'
返回结果中的 result.structuredContent.asset.relativePath 表示图片已保存到当前 chat 目录,可据此读取生成文件。
如果上游超时,错误文本会带上 model、requestKind、endpoint 和 timeoutMs,用于区分参数问题与供应商超时。
.env.example 用于服务运行参数示例configs/*.yml 会在启动时自动加载,*.example.yml 仅作模板展示internal/config/application.ymlCONFIG_PATH 可追加覆盖进程级配置VERSION配置优先级:
代码默认值 < internal/config/application.yml < configs/*.yml < CONFIG_PATH 指向 yml < 环境变量
关键约束:
configs/*.yml 本地配置,否则启动失败configs/*.yml 只描述一个 provider 文件分组nameendpoint.baseUrlauth.apiKeynamecapabilities.generate 和/或 capabilities.editendpoint.baseUrlendpoint.proxyUrlauth.apiKeyinputSchemarequest.kindrequest.sizeModeresponse.defaultFormatresponse.parserByFormatarguments 是唯一参与 schema 校验的对象,_meta 不参与 schema 校验endpoint/auth,provider 顶层缺省”的写法已不再支持release bundle 只分发模板配置,不分发当前本地 configs/*.yml。部署端应自行从 configs/provider.example.yml 复制出真实配置文件。
name: your-provider
endpoint:
baseUrl: https://api.example.com/v1
proxyUrl: http://127.0.0.1:8001
auth:
apiKey: your-api-key
models:
- name: your-model
capabilities:
generate:
inputSchema:
type: object
properties:
model:
type: string
prompt:
type: string
size:
type: string
required: [model, prompt, size]
additionalProperties: false
request:
kind: chat_completions
sizeMode: ratio
aspectField: aspect
response:
defaultFormat: url
allowedFormats: []
... [View full README on GitHub](https://github.com/linlay/mcp-server-imagine#readme)
No automated test available for this server. Check the GitHub README for setup instructions.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationNo known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Hash-verified file editing MCP server with token efficiency hook. 11 tools for AI coding agents.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Imagine and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.