DocBlocks CLI and MCP

Documents that work at the command line and with agents.

Build Markdown into web pages, preview a folder locally, convert between formats, and render video. AI agents get a local MCP server that can touch only the folders you allow.

npm install -g @bendyline/docblocks-cli docblocks --help

You decide what it can touch

Run it yourself, or hand it to an agent.

Commands you run read and write files like any other command-line tool. The MCP server starts with no access to your files: it holds results for the session and writes to disk only when asked to save, inside folders you allowed when you started it.

Build and preview

Turn a folder of Markdown into standalone web pages, or preview it on a local server that serves only supported file types from inside that folder.

Convert and render

Convert one source into Word, PowerPoint, PDF, HTML, DBK, and other supported targets, or render Markdown and imported documents as MP4 or GIF.

Work with AI agents

Agents can convert text or Markdown, inspect and preview the result, and compare versions. They read and save files only in the folders you grant.

See every format it reads and writes.

Check which formats open as well as export, and what each one is for.

Explore formats