yingce-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
yingce-mcp
影策(Yingce / open-ai-canvas)的 MCP 客户端插件。通过一个自托管的网关把图片、视频、短剧分镜、画布这些能力暴露成 MCP 工具,任何支持 MCP 的客户端(Codex、Claude Desktop、Cursor 等)都能直接调用。
前置条件
你的影策部署需要启用网关(服务端 yingce-mcp + nginx 的 /mcp 路由),并且你有一个属于自己账号的令牌。
服务器上签发令牌:
/opt/yingce-mcp/issue-token.sh <用户名> <令牌名> '["read","image","video","drama","canvas"]'它会打印一次明文令牌,之后只存哈希。吊销:
update mcp_tokens set revoked_at = now() where id = 'MCP_xxxxxxxx';Related MCP server: mcp-flow
安装
npx -y github:peipeijiang/yingce-mcp --check尚未发布到 npm,所以 npx yingce-mcp 目前不可用;也可以直接从发布页下载 tarball 安装:
npm install -g https://github.com/peipeijiang/yingce-mcp/releases/download/v0.4.0/yingce-mcp-0.4.0.tgz。
配置
两个环境变量:
变量 | 说明 |
| 你的影策地址,例如 |
| 你的 MCP 令牌( |
以 Codex 为例(~/.codex/config.toml):
[mcp_servers.yingce]
command = "npx"
args = ["-y", "yingce-mcp"]
env = { YINGCE_BASE_URL = "http://152.136.42.128:3000", YINGCE_TOKEN = "mcp_xxx" }工具
工具 | 说明 | 作用域 |
| 列出账号下的项目 | read |
| 查询生成任务状态与产物 | read |
| 提交出图任务,支持参考图与 | image |
| 提交出片任务,支持首帧/尾帧锚点、参考视频音频与 | video |
| 重试失败任务(会重新预占积分) | task |
| 取消排队或运行中的任务 | task |
| 读短剧结构(集、镜头数、阶段) | read |
| 读某一集的镜头细节 | read |
| 改镜头字段(台词/动作/提示词/时长等) | drama |
| 列画布 | read |
| 读画布节点与连线 | read |
| 读版本号与编辑租约 | read |
| 应用画布变更(自动补字段基线、租约冲突保护) | canvas |
| 把生成资源回填成画布图片节点(自动注册资产) | canvas |
| 列项目资产 | read |
| 列最近生成的资源,拿 id 当参考图 | read |
| 列短剧角色与当前形象资源 | read |
| 把图片设为角色形象(短剧回填的正确入口) | drama |
| 查看 / 创建 / 撤销画布分享链接 | canvas |
| 按网格重排画布节点 | canvas |
| 创作域通用接口,覆盖长尾(见下) | creative |
创作域通用接口
yingce_creative_api 接受 method + path(+ 可选 body),用于覆盖没有单独工具的接口。允许的路径前缀:
/projects /dramas /canvas-projects /tasks /assets /asset-folders /resources
/videos /video /audio /characters /style-profiles /timeline /agent /tools
/skills /creation-runs /ecommerce /inspiration-feed /pose-library /workbench其他前缀(/admin、/auth、/wallet、/payments、/announcements 等)会被直接拒绝。DELETE 必须显式传 confirm: true。
安全说明
重复提交保护
yingce_submit_image与yingce_submit_video都支持idempotencyKey:同一个 key 在 15 分钟内只提交一次,重复调用返回原任务并带deduped: true。不传 key 时按“项目 + 提示词 + 参数”的内容哈希去重,同样的请求重复发送也会命中缓存。
需要故意再下一单(例如重跑同一提示词)时传
allowDuplicate: true。去重表在网关进程内存里,重启后清空;跨重启的强幂等需要显式传 key 并配合业务侧核对。
角色形象重排
yingce_drama_set_cast_image 的 restyleSegments: true 会重排该角色出场的所有剧情段,可能触发批量重渲染。必须同时传 confirmRestyle: true,否则直接拒绝。
令牌只属于一个账号,服务端按令牌解析身份,工具参数里没有 userId,无法跨账号访问。
服务端把令牌换成两小时的短会话,过期自动续。
付费操作有上限与预演:单次出图最多 8 张、视频参考图最多 3 张,
dryRun: true只算不提交。首尾帧锚点与参考图互斥:同时传会被直接拒绝,避免上游 400。
许可证
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP gateway and cloud hosting for MCP servers, agents and apps like RAG, managed from your agent.
AI image & video generation MCP server (16 models, DAG projects, MCP Apps UI, OAuth 2.1).
An MCP gateway for teams deploying AI tools at scale to employee-facing and headless agents.
Open-source image, video & audio generation API gateway and MCP server (184 routes, 12 providers).
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA local MCP gateway that provides image generation and editing tools via external APIs (e.g., DALL-E) and local ComfyUI workflows, with authentication and policy enforcement.-
- AlicenseNot gradedqualityCmaintenanceSelf-hosted workspace MCP gateway that registers MCP servers, stores secrets encrypted, mints agent keys, and shares a unified tool library across multiple AI harnesses.1Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, clone and design voices, and dynamically configure API interactions.431 npmMIT
- AlicenseNot gradedqualityBmaintenanceA self-hosted MCP gateway that lets an owner register remote MCP servers, review and grant specific tools and account connections to agent clients, and issue revocable tokens with one-use approvals for protected calls.MIT