mcpField
🎯
🎯 ShotGrid MCP Server

🎯 ShotGrid MCP Server

本地服务
loonghao.github.io生产力671 周前更新

关于 🎯 ShotGrid MCP Server

这是一个 Autodesk ShotGrid(Flow Production Tracking)的 MCP 服务,提供完整的增删改查及批量数据操作能力。它面向使用 ShotGrid 管理制作流程的团队,让 AI 助手直接访问生产追踪数据。

主要功能

  1. 0140 余种工具覆盖增删改查
  2. 02批量创建、更新与删除实体
  3. 03缩略图、备注与播放列表操作
  4. 04支持 stdio 与 HTTP 传输方式
  5. 05内置交互式状态仪表板 MCP App

适用场景

  1. 01查询项目中近期更新的镜头
  2. 02批量创建资产并分配任务
  3. 03统计工时并生成可视化报表

MCP 相关

该项目是 MCP 服务,将 ShotGrid 的实体数据和操作以工具形式暴露给 Claude Desktop、Cursor、VS Code 等 MCP 客户端,并支持远程 HTTP 访问。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

暂未收录安装方式

我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。

代码仓库

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

ShotGrid MCP 服务 Logo

ShotGrid MCP 服务

一个 Model Context Protocol (MCP) 服务,可让 AI 助手无缝访问 Autodesk ShotGrid (Flow Production Tracking)

English | 简体中文

Python Version PyPI version License codecov Downloads Downloads Downloads

📖 文档 | 中文文档

概述

ShotGrid MCP Server 可让 Claude、Cursor 和 VS Code Copilot 等 AI 助手直接与您的 ShotGrid (Flow Production Tracking) 数据交互。它基于 FastMCP 构建,为 AI 工具和制作跟踪工作流提供高性能桥接。

演示
0. 在代码编辑器中配置 ShotGrid MCP

在代码编辑器中配置 ShotGrid MCP

1. 查询任务日程并可视化工作量

查询任务日程并可视化工作量

提示词: Query the team's task schedule for the past week, calculate workload rate based on 8 hours per day, and visualize it in web format

2. 批量创建资产并分配任务

批量创建资产并分配任务

提示词: Batch create the recommended hero characters in the shotgrid Demo:Animation project, categorize them as characters, use the FilmVFX-CharacterAsset task template, assign tasks to Yang Zhuo, with start and end dates set to next week

3. 工时日志统计与可视化

工时日志统计与可视化

提示词: Query timelog data from shotgrid and visualize it in web format

4. 部门效率统计并发送至 WeCom

部门效率统计并发送至 WeCom

提示词: Calculate department efficiency and send the data to WeCom. Efficiency formula: Efficiency = Task bid / Timelog hours

更多示例

ShotGrid MCP 服务演示

功能特性

类别亮点
40+ 个工具完整的增删改查操作、批处理、缩略图、备注、播放列表
传输方式stdio(本地)、HTTP(远程)、ASGI(生产环境)
性能连接池、架构缓存、延迟初始化
技能通过 MCP 提供打包的 Agent Skills (io.modelcontextprotocol/skills)
部署FastMCP Cloud、Docker、uvicorn/gunicorn,以及任何 ASGI 服务
平台Windows、macOS、Linux

快速开始

安装
# Using uv (recommended)
uv pip install shotgrid-mcp-server

# Or using pip
pip install shotgrid-mcp-server
配置

设置您的 ShotGrid 凭据:

export SHOTGRID_URL="https://your-site.shotgunstudio.com"
export SHOTGRID_SCRIPT_NAME="your_script_name"
export SHOTGRID_SCRIPT_KEY="your_script_key"
使用方法
stdio 传输(默认)— 适用于 Claude Desktop、Cursor 等
uvx shotgrid-mcp-server
HTTP 传输 — 用于远程访问
uvx shotgrid-mcp-server http --host 0.0.0.0 --port 8000

MCP 客户端配置

将服务添加到 MCP 客户端配置中:

Claude Desktop
{
  "mcpServers": {
    "shotgrid": {
      "command": "uvx",
      "args": ["shotgrid-mcp-server"],
      "env": {
        "SHOTGRID_URL": "https://your-site.shotgunstudio.com",
        "SHOTGRID_SCRIPT_NAME": "your_script_name",
        "SHOTGRID_SCRIPT_KEY": "your_script_key"
      }
    }
  }
}
Cursor / VS Code / 其他 MCP 客户端
{
  "mcpServers": {
    "shotgrid": {
      "command": "uvx",
      "args": ["shotgrid-mcp-server"],
      "env": {
        "SHOTGRID_URL": "https://your-site.shotgunstudio.com",
        "SHOTGRID_SCRIPT_NAME": "your_script_name",
        "SHOTGRID_SCRIPT_KEY": "your_script_key"
      }
    }
  }
}
HTTP 传输(远程)
{
  "mcpServers": {
    "shotgrid": {
      "type": "http",
      "url": "http://your-server:8000/mcp"
    }
  }
}

部署

方法命令 / 设置
FastMCP Cloud通过 fastmcp.cloud 使用 fastmcp_entry.py 部署
ASGIuvicorn shotgrid_mcp_server.asgi:app --host 0.0.0.0 --port 8000
Docker请参阅部署指南

详细说明请参阅部署指南。

可用工具

此服务提供 40+ 个工具,用于与 ShotGrid 交互:

类别工具
CRUDcreate_entity、find_one_entity、search_entities、update_entity、delete_entity
批量操作batch_create、batch_update、batch_delete
媒体download_thumbnail、upload_thumbnail
注释shotgrid.note.create、shotgrid.note.read、shotgrid.note.update
播放列表create_playlist、find_playlists
MCP Appsshotgrid_dashboard(交互式状态仪表板)
直接 APIsg.find、sg.create、sg.update、sg.batch 等……

MCP Apps

shotgrid_dashboard 是一个 MCP App:它会返回数据和交互式 UI。该工具会在其 _meta.ui.resourceUri 中声明 ui://shotgrid/dashboard,宿主会在沙盒 iframe 中呈现该资源。

不支持 MCP Apps 的宿主会自动收到相同的摘要纯文本。

UI 已打包为单个独立 HTML 文件,因此生产环境无需 Node 运行时。有关线格式和重建说明,请参阅 MCP Apps 指南。

python scripts/verify_mcp_app.py

示例提示词

连接后,你可以向 AI 助手提问:

  • “查找 Project X 中上周更新的所有镜头”
  • “创建一个包含昨天灯光渲染的播放列表”
  • “为 SHOT_010 添加一条关于背景灯光的注释”
  • “汇总动画部门本月的工时记录”
  • “显示 Project X 的任务状态仪表板”

开发

# Clone and install
git clone https://github.com/loonghao/shotgrid-mcp-server.git
cd shotgrid-mcp-server
pip install -r requirements-dev.txt

# Run tests
nox -s tests

# Development server with hot reload
uv run fastmcp dev src/shotgrid_mcp_server/server.py:mcp

# Verify the Skills extension against a live HTTP server
uv run python scripts/verify_skills_extension.py

文档

详细文档请参阅 /docs 目录。

贡献

欢迎贡献!请遵循 Google Python 风格指南,编写测试,并使用 Conventional Commits——提交消息会影响版本号和更新日志。有关如何发布版本,请参阅 RELEASE.md。

许可证

MIT

架构

flowchart TB
    subgraph Clients["🤖 MCP Clients"]
        direction LR
        CLAUDE["Claude Desktop"]
        CURSOR["Cursor"]
        VSCODE["VS Code"]
        AI["Other AI"]
    end

    subgraph MCP["⚡ ShotGrid MCP Server"]
        direction LR
        TOOLS["40+ Tools"]
        POOL["Connection Pool"]
        SCHEMA["Schema Cache"]
    end

    subgraph ShotGrid["🎬 ShotGrid API"]
        direction LR
        P["Projects"]
        S["Shots"]
        A["Assets"]
        T["Tasks"]
        N["Notes"]
    end

    Clients -->|"MCP Protocol<br/>stdio / http"| MCP
    MCP -->|"REST API"| ShotGrid

    style Clients fill:#2ecc71,stroke:#27ae60,color:#fff
    style MCP fill:#3498db,stroke:#2980b9,color:#fff
    style ShotGrid fill:#e74c3c,stroke:#c0392b,color:#fff

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。