Repository navigation
Building Decks with Agents
formdeck's engine is an MCP server with 34 tools, over HTTP at http://127.0.0.1:8197/mcp and over stdio with ./formdeck mcp. An agent works on the same deck you see: its edits arrive in the open window as they happen.
| Client | How |
|---|---|
| All at once |
./formdeck agents install writes .mcp.json, .codex/config.toml and .cursor/mcp.json (here and in the folder you ran it from), adds formdeck to Antigravity's ~/.gemini/config/mcp_config.json and installs the skills |
| Claude Code | claude mcp add --transport http formdeck http://127.0.0.1:8197/mcp |
| Codex |
[mcp_servers.formdeck] with url = "http://127.0.0.1:8197/mcp" in ~/.codex/config.toml
|
| Cursor |
{"mcpServers": {"formdeck": {"url": "http://127.0.0.1:8197/mcp"}}} in ~/.cursor/mcp.json
|
| Claude Desktop | {"mcpServers": {"formdeck": {"command": "/path/to/formdeck/formdeck", "args": ["mcp"]}}} |
The Agents dialog in the app shows the same snippets with Copy buttons and copies a starter prompt.
-
get_context, thenlist_templatesif no template was chosen. -
ingestthe person's files (absolute paths),get_sourceonly for what the digest leaves out. -
draft_specfor a first slide script, rewrite it into the story, thenbuild_deck. -
render_slides(contact sheets drawn by the window) andlint_deck(overflow, overlap, contrast, alt text, measured in the real DOM); fix withupdate_slide,set_textoredit_elements. - Leave slides in Review; never approve them for the person.
The other tools: add_slides, get_deck, apply_ops, slides, apply_template, set_theme, add_media, remove_background, export_deck, open_file, comments, review, undo and pdf. remove_background cuts a picture out with the local U2-Net model, which downloads once (176 MB); ask the person before passing install: true.
The agent dock opens on Claude Code, or on a shell with the install command when Claude Code is missing, and remembers the tab the person picks. With the status bar's Follow agent switch on (Alt+Shift+F, off by default), the window goes to the slide the agent is editing: it selects the slide in Normal view and highlights and scrolls to it in Slide Sorter. Agents should therefore edit slide by slide in reading order and name slide numbers in the handoff note. The live message the engine sends is described in AGENT_FOCUS.md.
Agents can always read. The first change an outside agent tries asks the person in the window: "Allow Claude Code to edit your decks?" (the title names the agent), with Allow and Not now. The choices are Ask (the switch is off, the default: the next edit asks), Allowed (the switch is on: no more questions) and Not now (nothing changes, and that agent's edits are refused for two minutes before the next one asks again). Turning the switch off goes back to Ask, not to a block. Only the window can change the choice, and the app's own command line (./formdeck cli) counts as an outside agent that follows it. The switch lives in Preferences, the Agents dialog and the Agent tab. A turn is every change an agent makes within 90 seconds of the one before; Edit > Undo Agent Turn takes the whole turn back in one step, and the agent's own undo tool does the same.
formdeck-harness (building decks: director, intake reader, story architect, slide-script author, template curator, visual QA, review handoff, layout ideas) and formdeck-skillset (developing formdeck). The MCP resource formdeck://guide is the short version, and the server offers a build-deck prompt.
./formdeck build-deck notes.md q3.pdf shots/ --template aurora --brief "investor update" --out update.pptx. Options are in the manual.