MarkDocs Documentation
MarkDocs is a collaborative markdown editor with real-time multiplayer editing, comments, suggestions, and AI agent integration via MCP.
Getting Started
- Sign up at markdocs.sh using your email or social login.
- Create your first document from the dashboard.
- Share the document URL with collaborators for real-time editing.
Features
- Real-time collaboration — Multiple users can edit simultaneously with live cursors and presence indicators.
- Markdown-first — Write in markdown with syntax highlighting, live preview, and GFM support.
- Comments — Select text and leave inline comments. Resolve them when addressed.
- Suggestions — Propose text changes that can be accepted or rejected by editors.
- Edit history — Track who changed what and when.
- Organizations — Multi-tenant workspaces with role-based access (owner, admin, member, viewer).
Integrations
CLI
Manage documents, comments, and suggestions from the terminal.
MCP Server
Connect AI agents (Claude, GPT, etc.) to MarkDocs via Model Context Protocol.
Authentication
MarkDocs supports two authentication methods:
- Browser sessions — Handled automatically when you sign in.
- API keys — For CLI and MCP access. Generate a key from Settings, then set it as an environment variable.
Setting up API access
- Go to Settings in your dashboard.
- Click New Key and copy the generated key.
- Add it to your shell environment:
export MARKDOCS_API_KEY=mdk_your_key_here
export MARKDOCS_URL=https://markdocs.sh