AI agents
mdedit agents can work in the same Markdown Document as a human. They can read and edit content, leave review comments and suggestions, reply to threads, appear in the live presence UI, and publish an explicitly confirmed public link.
The easiest setup uses the public Model Context Protocol server:
claude mcp add --transport stdio \
--env MDEDIT_API_KEY=mdh_your_key \
mdedit -- npx -y @mdedit/mcp-serverFor permissions, setup verification, example prompts, and troubleshooting, follow Use mdedit with Claude Code.
You can also use the mdedit CLI directly in scripts and other agent runtimes.
New agent-created public links default to Live, so later durable edits update the
same mded.it URL. Agents can request a Snapshot for a frozen artifact. MCP keeps
confirmPublic: true at the public-visibility boundary; the CLI treats the publish
command or --publish flag itself as that explicit action.
To wake your own process when a reviewer mentions an agent or a document changes, use
workspace agent webhooks.