Imagor MCP配置与安装教程 (Cursor/Claude)
io.github.cshum/imagor-mcp · v0.7.9
An MCP server and a skill for imagor, compiling agent-written image layouts into one URL.
建议先在本页复制安装配置,再到上游核对文档与权限。
产品介绍
An MCP server and a skill for imagor, compiling agent-written image layouts into one URL. Imagor MCP 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供产品介绍、配置教程、安装命令与适用场景,支持 Trae、通义灵码、Cursor、Claude Code、VS Code 等。
适用场景
AgentHub Verified 可用性验证技术测试通过
自动化测试流水线已校验安装命令、传输协议与客户端兼容性
常见报错排查与运行避坑 (Troubleshooting)FAQ
针对 Imagor MCP 在 Cursor、Claude Code 中的常见连接错误与解决办法
在 Cursor / Claude Code 中配置 Imagor MCP 提示 connection closed 或 exit code 1?
通常由本地运行时环境缺失或命令路径未被 IDE 继承引起。排查步骤: 1. 确认已安装 Node.js 18+(支持 npx)或 Python 3.10+(支持 uvx); 2. 尝试在终端运行 which npx 或 which uvx,把配置文件中的 "command" 字段改为完整绝对路径; 3. 修改 mcp.json 后,必须完全重载或重启客户端窗口。
# 终端测试命令是否存在: which npx node -v
提示 spawn npx ENOENT 或 command not found?
这是因为编辑器后台进程未加载完整的终端环境变量(PATH)。解决方案:在全局安装该包(如 npm install -g 包名),或在配置文件中将 command 设置为系统的实际路径(如 Windows 下的 C:\Program Files\nodejs\npx.cmd,Mac 下的 /usr/local/bin/npx)。
提示 Missing required environment variable 或 API 认证失败?
Imagor MCP 依赖环境变量(如 IMAGOR_BASE_URL、IMAGOR_UNSAFE、IMAGOR_SECRET、IMAGOR_SIGNER_TYPE、IMAGOR_SIGNER_TRUNCATE)。请在客户端配置文件的 "env" 对象中填入有效密钥,注意不要包含多余空格或未闭合的双引号。
// .cursor/mcp.json 或 claude_desktop_config.json
{
"env": {
"API_KEY": "your_actual_key_here"
}
}免安装模拟调用 (Playground)
仿真环境Imagor MCP 核心接口调用仿真 · 无需配置本地环境,直接预览调用参数与返回格式
{
"target": "Imagor MCP",
"action": "execute",
"options": {
"mode": "standard",
"timeoutMs": 5000
}
}点击上方「模拟运行」按钮
查看该工具在 Agent 内部的返回数据格式
选型与决策建议(为什么选它?)
帮助你快速判断该资源是否契合当前项目,避免盲目折腾
- PR 自动审查
- 生成 changelog
- 跨仓库 Issue 检索
- 替代人工安全审计
- 在无授权仓库上操作
Imagor MCP + 对应场景 Prompt → 组成标准 Agent 自动化任务
MCP 实战教程:从安装到看见效果
按完整实例走一遍(含期望效果与对比验收)。装完本页资源后,用教程里的提示词核对是否真正生效。
相关资源
MarkItDown MCP Server
io.mcp-cn.markitdown-mcp-npx
MarkItDown MCP服务器,提供无Docker依赖的NPX包装器,支持直接运行Microsoft的markitdown-mcp服务器,包括自动Python环境设置和依赖管理
GitHub
io.mcp-cn.modelcontextprotocol/server-github
连接GitHub的MCP服务器,支持仓库管理、问题跟踪、代码搜索等功能
Context7
io.mcp-cn.upstash/context7-mcp
基于Upstash的向量搜索和上下文管理MCP服务
Figma
io.mcp-cn.figma-developer-mcp
连接Figma的MCP服务器,支持设计文件管理和操作
12306
io.mcp-cn.12306-mcp
12306的MCP服务器,支持12306的读取
飞书文档
io.mcp-cn.feishu-mcp
飞书的MCP服务器,支持文档管理等功能
常搭配使用
OpenSea 市场
v2.38.0
io.clawhub.opensea/opensea-marketplace
查询 NFT 与代币数据、在 Seaport 交易 NFT、通过 DEX 聚合器兑换 ERC20 代币、配置钱包签名提供方,并在 Base 上构建/注册/门控 AI 智能体工具。覆盖 CLI、MCP 服务器、shell 脚本与 SDK 的完整 OpenSea 开发者能力。先按下文路由表选定子技能,再阅读其 SKILL.md 了解操作细节。
中国大陆 AI 保险顾问
v2.4.63
io.clawhub.mnetfairy/insurance-advisor-china
中国大陆AI保险顾问。为个人和家庭提供全方位的保险咨询、产品对比、方案设计、投保指导。当用户询问保险配置、保险方案、产品对比、重疾险/医疗险/寿险/意外险/储蓄险推荐、保费计算、保障缺口分析、需求分析、核保合规、理赔等问题时使用。
AI 保险顾问(中国大陆)
v2.4.67
io.clawhub.mnetfairy/ai-insurance-advisor
中国大陆保险顾问。本 skill 仅覆盖 6 项实际实现的能力:保险需求分析(needs_analyzer.py)、产品对比(premium_calculator.py + 本地 products.json)、保费计算(premium_calculator.py)、方案设计(plan_designer.py)、保险知识问答(insurance-knowledge.md)、合规要点提示(compliance.md)。不提供核保预审、理赔代办、朋友圈/营销文案生成、培训话术、代理人展业工具等能力——这些场景请转人工或调用专业服务。
AI 时代职业规划师(中国)
v2.3.38
io.clawhub.mnetfairy/career-planner-china
AI时代职业规划师技能。专为AI时代职场变化而设计,帮助用户应对AI带来的职业冲击与机遇。当用户询问职业规划、职业建议、选专业、职场转型、未来就业方向时触发。功能包括:收集用户基本信息、霍兰德职业兴趣测评、职业价值观分析、AI时代职业影响评估(高危/中危/低危分级),并输出完整的个性化职业规划报告。关键词:职业规划、选专业、工作建议、做什么工作好、职业转型、AI时代职业、AI替代、哪些工作会被AI取代。
继续逛 AgentHub
大多数人安装前还会对比同类工具或看场景方案——下面这些能帮你少走弯路。
收录徽章:把 AgentHub 挂到你的官网
复制下面任意一段代码到项目主页、官网或 GitHub README。徽章是 SVG 热链,无需上传文件,链接指向本页,访客可由此直接找到安装方式。
<a href="https://myagenthub.cn/p/io.github.cshum/imagor-mcp" title="AgentHub 已收录:Imagor MCP" target="_blank" rel="noopener">
<img src="https://myagenthub.cn/badge/io.github.cshum/imagor-mcp" alt="AgentHub 已收录:Imagor MCP" height="20" style="border:0"/>
</a>[](https://myagenthub.cn/p/io.github.cshum/imagor-mcp)徽章由 /badge/<资源ID> 动态生成,名称与收录状态变化后自动更新;请保留链接指向,它是收录来源的判定依据。
统一 Manifest
{
"id": "io.github.cshum/imagor-mcp",
"type": "mcp-server",
"version": "0.7.9",
"displayName": "Imagor MCP",
"description": "An MCP server and a skill for imagor, compiling agent-written image layouts into one URL.",
"repository": {
"url": "https://github.com/cshum/imagor-mcp",
"source": "github"
},
"distribution": {
"packages": [
{
"registryType": "mcpb",
"identifier": "https://github.com/cshum/imagor-mcp/releases/download/v0.7.9/imagor-mcp-v0.7.9.mcpb",
"transport": "stdio",
"environmentVariables": [
{
"name": "IMAGOR_BASE_URL",
"description": "Where imagor is running, for example http://localhost:8000. Defaults to http://localhost:8000."
},
{
"name": "IMAGOR_UNSAFE",
"description": "Set to 1 when the imagor server runs in unsafe mode, for trying things out. The server will not start without IMAGOR_UNSAFE or IMAGOR_SECRET."
},
{
"name": "IMAGOR_SECRET",
"description": "The signing secret, when the imagor server is signed. The alternative to IMAGOR_UNSAFE; the server will not start without one of the two.",
"isSecret": true
},
{
"name": "IMAGOR_SIGNER_TYPE",
"description": "Signature algorithm the imagor server is configured with: sha1 (default), sha256 or sha512. Must match the server or emitted URLs will not validate."
},
{
"name": "IMAGOR_SIGNER_TRUNCATE",
"description": "Signature length in characters, when the imagor server truncates signatures. Must match the server or emitted URLs will not validate."
}
]
}
],
"remotes": []
},
"dependencies": [],
"installTargets": [
"claude-code",
"claude-desktop",
"cursor",
"vscode",
"trae",
"cherry-studio",
"lingma",
"windsurf",
"cline",
"workbuddy"
],
"keywords": [],
"provenance": {
"origin": "official-mcp-registry",
"originalId": "io.github.cshum/imagor-mcp",
"originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cshum%2Fimagor-mcp/versions/latest",
"isOfficial": true,
"status": "active"
}
}