Shotflow MCP server
io.github.JOHNZhang-ui/shotflow-mcp·v1.0.0ShotFlow MCP Server — AI分镜脚本与视频生成智能体,支持生成专业分镜、视频、镜头重生成、配额查询等能力。
0 stars20 downloads/wk
Reviews
Write oneNobody has reviewed Shotflow yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Shotflow tools (7)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_health检查ShotFlow服务运行状态、版本号、可用功能列表。
check_quota查询当前用户的免费配额剩余次数或Pro会员状态。
check_video_status查询视频生成任务的当前状态。任务完成后可获取视频文件URL。
generate_storyboard从剧本/创意描述生成专业分镜脚本。支持6种创作类型和7种视觉风格,输出包含场景-镜头层级结构、台词、声音设计、情绪标注、导演备注和AI图像提示词。这是ShotFlow的核心能力。
generate_video从分镜镜头描述或AI提示词生成短视频片段。支持多种分辨率,返回任务ID用于后续状态查询。需要Pro会员权限。
list_video_tasks列出最近的视频生成任务及状态。
regenerate_shot对分镜脚本中的单个镜头重新生成AI描述和提示词。可修改镜头类型、情绪方向等参数,其他镜头保持不变。
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 86 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Shotflow compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 7
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 20
- more than 7% of 12,191 servers with a package
What its tools let an agent do: 5 read · 2 create
Install Shotflow in Claude Code, Cursor or VS Code
Runs npx -y shotflow-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add shotflow-mcp -- npx -y shotflow-mcp-server
What the publisher says
From the Shotflow repository's README, as published. We do not edit it. Read it on GitHub
ShotFlow MCP Server
让 AI Agent 直接调用专业分镜脚本生成能力
ShotFlow MCP Server 是 ShotFlow 的 Model Context Protocol 接口实现,让任何支持 MCP 的 AI 客户端(Claude Desktop、Cursor、Cline、VS Code Copilot 等)都能直接调用专业分镜脚本与视频生成能力。
在线使用
无需安装,直接配置 URL 即可使用:
https://aishotflow.cn/mcp功能一览
快速接入
Claude Desktop
编辑配置文件(macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json,Windows: %APPDATA%\Claude\claudedesktopconfig.json):
{
"mcpServers": {
"shotflow": {
"url": "https://aishotflow.cn/mcp"
}
}
}重启 Claude Desktop,点击「Attached tools」确认 shotflow 已加载。
Cursor IDE
在项目根目录创建 .cursor/mcp.json:
{
"mcpServers": {
"shotflow": {
"url": "https://aishotflow.cn/mcp"
}
}
}VS Code(1.99+)
在项目根目录创建 .vscode/mcp.json:
{
"servers": {
"shotflow": {
"type": "http",
"url": "https://aishotflow.cn/mcp"
}
}
}Cline / Roo-Cline
编辑 ~/.cline/mcp_settings.json:
{
"mcpServers": {
"shotflow": {
"url": "https://aishotflow.cn/mcp"
}
}
}调用示例
生成短视频分镜
告诉你的 AI 客户端:
用 shotflow 的 generate_storyboard 工具,帮我生成一个短视频分镜:一个创业者熬夜做产品的故事,3个场景,温情风格,9:16竖屏
AI 会自动调用 MCP Tool,返回结构化分镜结果。
查看可用创作类型
读取 shotflow 的 creative-types 资源,告诉我有哪些创作类型可选
Agent Card(A2A 协议)
其他 AI Agent 可通过以下 URL 自动发现 ShotFlow 的能力:
https://aishotflow.cn/mcp/agent-card部署自己的实例
要求
- Node.js 18+
- ShotFlow Express Server 运行在 localhost:3003
安装
git clone https://github.com/YOUR_USERNAME/shotflow-mcp.git
cd shotflow-mcp
# 无需 npm install,零依赖启动
# 开发模式
node shotflow-mcp-server.js
# 默认端口 3004
# 生产部署(systemd)
sudo cp shotflow-mcp.service /etc/systemd/system/
sudo systemctl enable shotflow-mcp
sudo systemctl start shotflow-mcp环境变量
架构
AI Client (Claude/Cursor/...)
↓ Streamable HTTP (JSON-RPC 2.0)
Nginx :443
└── /mcp → ShotFlow MCP Server :3004
└── HTTP → ShotFlow Express :3003- 协议: MCP 1.0(Streamable HTTP + SSE)
- 传输: JSON-RPC 2.0 over HTTP
- 依赖: 零外部依赖(纯 Node.js 实现)
- SSE 支持: proxy_buffering off 配合 Nginx 实现流式进度推送
文件结构
shotflow-mcp/
├── shotflow-mcp-server.js # MCP Server 主文件
├── tool-definitions.js # 7个 Tool 的 JSON Schema 定义
├── resource-definitions.js # 2个 Resource 定义
├── prompt-builder.js # Prompt 构造与模型配置解析
├── package.json # npm 包配置
├── shotflow-mcp.service # systemd 服务文件
├── INTEGRATION.md # 详细接入文档
├── README.md # 本文件
└── test/
└── test-mcp.js # 测试套件测试
# 启动本地服务
node shotflow-mcp-server.js &
# 运行测试
node test/test-mcp.js相关链接
- ShotFlow 主站: https://aishotflow.cn
- MCP 端点: https://aishotflow.cn/mcp
- Agent Card: https://aishotflow.cn/mcp/agent-card
- MCP 协议规范: https://modelcontextprotocol.io
- ShotFlow 公众号: 扫码关注获取最新更新
许可证
MIT License — 自由使用、修改和分发。
支持
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Shotflow: common questions
- Is Shotflow MCP server safe?
- Mostly: it is graded B (75/100). Read the Shotflow safety report
- How do I install Shotflow?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Shotflow need an API key?
- Yes. The registry entry asks for
MCP_API_KEY. - Is Shotflow maintained?
- The last commit was 125 days ago (2026-07-02). The latest release is v1.0.0.
- How does Shotflow compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.