MCP · MODEL CONTEXT PROTOCOL

Let your AI use Plain.

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.

ONE LINE TO CONNECT
# 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"]
    }
  }
}
PLAIN EXPOSES 4 TOOL FAMILIES

generate_*

generate_deck / _doc / _sheet · structured-output zod schemas · scope + prompt → typed result.

edit_*

edit_deck / _doc / _sheet · accepts inspect/visual selection · outputs JSON-Patch · diffable / rollback-able.

export_*

export to .pptx / .docx / .xlsx / .pdf / .html / .png / .jpeg · 8 formats.

share_link

publish the current doc as a short link (inplain.app/s/...) · any device gets the latest version.

TYPICAL PROMPT

@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.