Skip to main content
Glama
huikku

shotgrid-mcp

by huikku

ShotGrid MCP server (lean)

A Model Context Protocol server that gives LLM agents (Claude Desktop, Claude Code, Cursor, …) full access to the ShotGrid / Autodesk Flow Production Tracking API through a small, curated, agent-first tool surface. A leaner, write-safe repackaging of loonghao/shotgrid-mcp-server (credit below).

ShotGrid is schema-driven, so a handful of generic CRUD + query tools reach every entity type. This server leans into that: 15 tools, one CRUD family, a dry_run safety gate on every write.

Built on the shoulders of loonghao/shotgrid-mcp-server

This project owes a real debt to loonghao/shotgrid-mcp-server (MIT) — the first solid, well-engineered ShotGrid MCP. We used it heavily and it works: connection pooling, a schema cache, an error_handler, and mockgun-based tests are all things it gets right, and it proved the concept. Go star it. This server isn't a replacement so much as a leaner, hardened repackaging of the same idea, tuned specifically for autonomous agents — where a tighter, safer tool surface matters more than breadth.

What we changed to make it more solid

Three changes, each aimed at making an agent's life safer and more predictable:

In the original

What we did here — and why it's more solid

~60 tools across two overlapping CRUD families (sg_find/find_one_entity, sg_create/create_entity, sg_batch/batch_operations) plus *_tool alias duplicates.

Consolidated to one CRUD familyfind / find_one / create / update / delete / revive / batch, 15 tools total. Fewer, unambiguous tools = the model picks the right one every time and spends far less context deciding.

Writes commit immediately; the only guard against an accidental delete/update is docstring text.

A dry_run flag on every write (create, update, delete, batch). dry_run=true returns exactly what would happen and commits nothing — so an agent (or a human) can preview before pulling the trigger. delete is also a reversible retire (undo with revive), documented as such.

Studio-specific tools in the core (find_vendor_users, find_vendor_versions, create_vendor_playlist) + thin canned-filter wrappers (find_recent_playlists, find_project_playlists, …) that assume one shop's schema/conventions.

Removed — anything they did is one find/create with explicit filters. No hidden assumptions about a site's status lists or naming, so it behaves identically on any ShotGrid instance.

Net: same 100% reach (both are generic over ShotGrid's schema), a fraction of the tool count, and safe-by-default writes. Where the original optimizes for human convenience and breadth, this one optimizes for an agent that needs to choose correctly and not break things.

Related MCP server: MCP-NG

The 15 tools

Generic power tools (full reach over every entity type):

  • find · find_one — query with ShotGrid filters + field projections

  • create · update · delete · revive — single-entity writes (delete = reversible retire)

  • batch — atomic multi-op create/update/delete

Schema & discovery (so the agent can learn the site first):

  • schema_entity_read — all entity types

  • schema_field_read — fields + types for one entity type

  • summarize — server-side aggregation / status roll-ups (no rows pulled)

  • text_search — global text search across entity types

High-value helpers (not just a canned filter):

  • whoami — connection + server info

  • find_projects — common entry point

  • download_thumbnail — pull an entity's thumbnail/filmstrip to disk

  • upload — attach a file / set a thumbnail / fill a media field

Every write tool takes dry_run: bool = false.

Install

pip install -r requirements.txt        # fastmcp, shotgun_api3, requests

Configure (credentials)

Create a Script in ShotGrid (Admin ▸ Scripts ▸ + Add Script) and set three env vars (or pass them in your MCP client config):

var

value

SHOTGRID_URL

https://yourstudio.shotgrid.autodesk.com

SHOTGRID_SCRIPT_NAME

the Script's name

SHOTGRID_API_KEY

that Script's Application Key

For local dev you can instead drop them in a .env next to server.py (gitignored — see .env.example).

Run / wire into a client

python3 server.py        # stdio transport

Claude Code:

claude mcp add shotgrid -- python3 /path/to/shotgrid-mcp/server.py

Claude Desktop / Cursor (mcpServers entry):

{
  "mcpServers": {
    "shotgrid": {
      "command": "python3",
      "args": ["/path/to/shotgrid-mcp/server.py"],
      "env": {
        "SHOTGRID_URL": "https://yourstudio.shotgrid.autodesk.com",
        "SHOTGRID_SCRIPT_NAME": "mcp",
        "SHOTGRID_API_KEY": "••••"
      }
    }
  }
}

Examples (what the agent calls)

# every shot In Progress on a project, with assignees
find("Shot",
     [["project","is",{"type":"Project","id":85}], ["sg_status_list","is","ip"]],
     ["code","sg_status_list","task_template"])

# status roll-up without pulling rows
summarize("Task", [["project","is",{"type":"Project","id":85}]],
          [{"field":"id","type":"count"}],
          grouping=[{"field":"sg_status_list","type":"exact","direction":"asc"}])

# preview a write before committing
create("Shot", {"project":{"type":"Project","id":85}, "code":"sh010"}, dry_run=True)

Part of a tracker-MCP trio — migrate projects between platforms

This is one of three sibling tracker MCPs, each with the same shape (generic CRUD + schema + typed convenience, with a dry_run gate): shotgrid-mcp (this repo), ftrack-mcp, and kitsu-mcp. They all speak the same production model (Project → Sequence/Asset → Shot → Task → Version/Status), so an agent with two of them loaded can migrate a project from one tracker to another — read the structure from the source MCP, recreate it via the target's create/new_* tools, no bespoke migration script. This trio grew out of copying one project across all three platforms.

Credits

  • loonghao/shotgrid-mcp-server (MIT) — the original ShotGrid MCP this builds on. The design and much of the API ergonomics here are downstream of that work; please credit and star it.

  • Autodesk's shotgun_api3 — the underlying Python API.

  • Companion to our ftrack-mcp.

MIT licensed. If the extra breadth of the original suits you better, use it — this is just the leaner, agent-hardened cut.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huikku/shotgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server