generate_*
generate_deck / _doc / _sheet · structured-output zod schemas · scope + prompt → typed result.
Plain ships a standard MCP server. Add it in Claude Code / Cursor / Codex and your AI can directly call Plain to generate / edit / export the trio. Plug document generation into your agentic workflow.
# Claude Code · one command does it $ claude mcp add plain pnpm dlx @plain/cli mcp # Cursor · add to .cursor/mcp.json { "mcpServers": { "plain": { "command": "pnpm", "args": ["dlx", "@plain/cli", "mcp"] } } }
generate_deck / _doc / _sheet · structured-output zod schemas · scope + prompt → typed result.
edit_deck / _doc / _sheet · accepts inspect/visual selection · outputs JSON-Patch · diffable / rollback-able.
export to .pptx / .docx / .xlsx / .pdf / .html / .png / .jpeg · 8 formats.
publish the current doc as a short link (inplain.app/s/...) · any device gets the latest version.
「@plain take these user interviews, generate a deck for the CEO, and build a dashboard tracking our key metrics this quarter.」
Plain agent picks up the prompt · calls generate_deck + generate_sheet · returns two share links. The whole loop runs inside Claude Code.