Give this to your AI agent

Copy this message into your AI coding agent. The agent can read the linked Markdown guide, install the MCP bridge, and configure itself.

Please read this Markdown guide and install and configure the OpenMMD MCP bridge for me. After setup, use OpenMMD MCP tools when I ask you to create, update, or publish Markdown books in OpenMMD. Guide: https://www.openmmd.com/openmmd-agent-setup.md
Open Agent Setup Markdown
MCP + Book Publishing

OpenMMD MCP Bridge

Let AI agents write Markdown books into your local browser and publish them from OpenMMD.

How it works

OpenMMD stores projects in your browser. The MCP bridge keeps that local-first model: your AI client talks to a local npm MCP server, the Chrome extension connects to your OpenMMD tab, and the page bridge saves through OpenMMD itself.

1AI client
2@openmmd/mcp
3Chrome extension
4OpenMMD page
5IndexedDB and R2 sharing
1

Install the Chrome extension

Download the ZIP, unzip it, open chrome://extensions, enable Developer mode, choose Load unpacked, and select the extension folder.

2

Configure your MCP client

Add @openmmd/mcp through npx. The server listens locally on ws://127.0.0.1:17273 for the extension.

3

Open OpenMMD Studio

Keep the Studio tab open. The extension connects the local MCP server to the page bridge only while the page is available.

MCP config

Copy this message into your AI coding agent. The agent can read the linked Markdown guide, install the MCP bridge, and configure itself.

{
  "mcpServers": {
    "openmmd": {
      "command": "npx",
      "args": ["-y", "@openmmd/mcp"]
    }
  }
}

Available tools

Book projects only contain Markdown chapters. When an agent calls openmmd_share_book, OpenMMD uploads the book landing page, manifest, and all chapter Markdown files to R2 under a stable URL.

openmmd_ping
Check browser bridge connectivity.
openmmd_list_projects
List local OpenMMD projects.
openmmd_create_book
Create a Book project.
openmmd_list_chapters
List Markdown chapters.
openmmd_upsert_chapter
Create or update a Markdown chapter.
openmmd_reorder_chapters
Set chapter order.
openmmd_open_chapter
Open a chapter and return Markdown.
openmmd_share_book
Publish the whole book and return the share URL.