Skip to content

配置

环境变量

变量必需描述
SHOTGRID_URL您的 ShotGrid 站点 URL
SHOTGRID_SCRIPT_NAMEAPI 脚本名称
SHOTGRID_SCRIPT_KEYAPI 脚本密钥
SHOTGRID_HTTP_PROXYHTTP 代理 URL
SHOTGRID_HTTPS_PROXYHTTPS 代理 URL

配置示例

bash
# 必需
export SHOTGRID_URL="https://your-site.shotgunstudio.com"
export SHOTGRID_SCRIPT_NAME="your_script_name"
export SHOTGRID_SCRIPT_KEY="your_script_key"

# 可选 - 代理设置
export SHOTGRID_HTTP_PROXY="http://proxy:8080"
export SHOTGRID_HTTPS_PROXY="https://proxy:8080"

传输选项

stdio(默认)

最适合 Claude Desktop 和 Cursor 等本地 MCP 客户端。

bash
uvx shotgrid-mcp-server

HTTP

最适合远程访问和共享环境。

bash
uvx shotgrid-mcp-server http --host 0.0.0.0 --port 8000

ASGI

最适合使用 uvicorn 或 gunicorn 的生产部署。

bash
uvicorn shotgrid_mcp_server.asgi:app --host 0.0.0.0 --port 8000

Released under the MIT License.