# ShotNode Studio

> ShotNode Studio is an agent-first video framework: agents build declarative JSON projects,
> ShotNode validates them (check gate), previews them frame-exactly, and renders deterministic
> MP4s locally with FFmpeg. CLI + local MCP server (12 tools) + agent skills + a desktop shell.
> Everything runs on the user's machine; nothing is uploaded; no telemetry.

## Start here

- [What is ShotNode Studio?](introduction.md): The product in one page — agent-built, editable, deterministic.
- [Make your first video](quickstart.md): Three paths: CLI, your AI agent over MCP, the desktop app.
- [FAQ](faq.md): Cost, agents, engines, determinism, mobile twin, licensing.

## Guides

- [The work loop](guides/work-loop.md): propose → create → assets → clips → check → preview → approve → render → verify.
- [Vertical video](guides/vertical-video.md): 9:16 social — sizing, caption bands, platform chrome.
- [Recipes](guides/recipes.md): Launch teaser, explainer and social-loop skeletons.
- [Transitions in practice](guides/transitions.md): Choosing from the 27-transition catalog; the overlap math.
- [Text and captions](guides/text-and-captions.md): Text overlays, the five presets, fonts, wrapping.
- [Audio](guides/audio.md): Music beds, fades, video-source audio, the no-normalization mix.
- [Media and assets](guides/media.md): add-asset, probing, project-relative paths, supported types.
- [Deterministic rendering](guides/determinism.md): Why the same project yields the same MP4 — and what can break it.

## Use it with your agent

- [Agent setup (Claude, Codex, Cursor, Grok, ZCode)](MCP_CLIENTS.md): Register the MCP server in any MCP client and verify end to end.
- [ZCode setup](ZCODE_MCP_SETUP.md): ZCode-specific registration walkthrough.
- [MCP server protocol](MCP.md): stdio transport, JSON-RPC surface, protocol-version negotiation.
- [MCP tool reference](reference/mcp-tools.md): All 12 `shotnode_*` tools with complete argument schemas and result shapes.
- [Agent skills](agents/skills.md): The four shipped skills and what each teaches.

## Desktop app

- [ShotNode Studio Desktop](desktop/studio-app.md): Two-engine shell: home, legacy JSON editor, embedded Studio, settings, verification hooks.

## Reference

- [Project format v1](PROJECT_FORMAT.md): The complete `project.json` schema — document, tracks, clips, styles, contiguity, determinism contract.
- [CLI reference](reference/cli.md): Every command, flag, exit code and JSON shape.
- [Patch protocol](reference/patch-protocol.md): The RFC 6901 subset every edit flows through; atomic validation.
- [The check gate](reference/validation.md): Every validation error and warning, with fixes.
- [Render engine](reference/render-engine.md): Filtergraph compilation, quality presets, the audio graph, previews.
- [Transitions catalog](reference/transitions.md): The 27 transitions + aliases, durations, rules.
- [Text tool](reference/text-tool.md): The Pillow rasterizer bridge, caching, font resolution.
- [Environment & filesystem](reference/environment.md): Every env var, the projects root, the registry.

## Developers

- [Architecture](developers/architecture.md): Module map, the shared engine, the two desktop engines, IPC surface.
- [Testing](developers/testing.md): e2e, MCP smoke, cross-agent probes; verify-before-done; publish gating.
- [Contributing](developers/contributing.md): Architecture invariants, edit protocol, skills sync rule, licensing.
- [Catalog integration (design)](CATALOG_INTEGRATION.md): Mobile catalog ⇄ Studio integration plan.

## Help

- [Troubleshooting](help.md): Fix problems by symptom: install, check failures, render failures, text, desktop.

## Tool map (MCP)

create: shotnode_create_project · read: shotnode_list_projects, shotnode_get_project, shotnode_inspect_project, shotnode_probe_media
edit: shotnode_add_asset, shotnode_add_clip, shotnode_add_text, shotnode_apply_patch
gate: shotnode_check_project · look: shotnode_preview_frame · ship: shotnode_render_project
