hedgedoc-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hedgedoc-mcp-serverCreate a note with a Mermaid flowchart of a login process"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HedgeDoc MCP Server
MCP server for HedgeDoc 1.x — the open-source collaborative markdown editor. Create notes and Mermaid diagrams from OpenCode and other MCP-compatible AI agents.
Note: This is built for HedgeDoc 1.x (formerly CodiMD). It uses the HedgeDoc 1.x API, which differs from HedgeDoc 2.
Tools
Tool | Description |
| Create a blank note with the instance's default template |
| Create a new note with a random ID |
| Create a new note with a custom URL alias (requires FreeURL mode) |
| Create a note with a Mermaid diagram |
| Read the raw markdown content of a note |
| Get note metadata (title, description, timestamps, viewcount) |
| List all available revisions of a note |
| Get the full content of a specific revision |
| Get the published (read-only) URL of a note |
| Get the slide presentation URL of a note |
| Get the current status of the HedgeDoc instance |
Related MCP server: Joplin MCP Server
Usage
export HEDGEDOC_URL="https://hedgedoc.your-instance.com"
uvx hedgedoc-mcp-server stdioHedgeDoc 1.x does not use API tokens for note operations. Authentication is handled via session cookies (browser) or instance configuration (see Production Ready guide).
OpenCode config
{
"mcp": {
"hedgedoc": {
"type": "local",
"enabled": true,
"command": ["uvx", "hedgedoc-mcp-server", "stdio"],
"environment": {
"HEDGEDOC_URL": "https://hedgedoc.your-instance.com"
}
}
}
}Requirements
Requirement | Notes |
HedgeDoc 1.x instance | Tested on 1.x. Not compatible with HedgeDoc 2. |
Python 3.11+ | |
| Or |
API Endpoints Used
This server uses the following HedgeDoc 1.x API endpoints:
Method | Endpoint | Used by |
|
| Create a blank note |
|
| Create a note (random ID) |
|
| Create a note (custom alias) |
|
| Read raw markdown |
|
| Read metadata |
|
| List revisions |
|
| Get specific revision |
|
| Published URL |
|
| Slide URL |
|
| Instance status |
For more details, see the official API docs.
Instance Configuration
Your HedgeDoc administrator may need to configure these settings:
Setting | Impact | Docs |
| Allows note creation without login | |
| Enables custom URL aliases | |
| Max new notes per 5 minutes (default: 20) | |
| Max note length in chars (default: 100k) | |
| If true, no notes can be created |
Development
git clone https://github.com/Jyzus/kaymer-hedgedoc-mcp
cd kaymer-hedgedoc-mcp
uv venv && uv pip install -e .
HEDGEDOC_URL="https://hedgedoc.your-instance.com" uv run hedgedoc-mcp-serverLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI assistants to interact with Joplin notes, notebooks, and tags through a standardized MCP interface, supporting CRUD operations, search, and organization.19158MIT
- Alicense-qualityCmaintenanceEnables AI assistants to interact with Joplin notes and notebooks, including searching, reading, and listing notebooks through natural language commands via the MCP protocol.12948MIT
- Flicense-qualityDmaintenanceEnables managing and searching markdown notes with semantic search, question answering, and note generation, and provides an MCP server for GitHub Copilot integration.4
- Alicense-qualityBmaintenanceEnables AI agents to interact with a local Mermaid diagram editor via MCP, allowing them to get and set diagrams programmatically.13,450,75912Apache 2.0
Related MCP Connectors
MCP-native collaborative markdown editor with real-time AI document editing
Read and write your Fresh Jots notes from Claude, Cursor, and any MCP client.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jyzus/kaymer-hedgedoc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server