Markmap MCP Server
@jinzcdev
An MCP server for converting Markdown to interactive mind maps with export support (PNG/JPG/SVG).
Overview
What is Markmap MCP Server?
Markmap MCP Server is an MCP‑based tool that converts Markdown text into interactive mind maps with one click. Built on the open‑source markmap library, it supports zooming, expanding/collapsing nodes, and exporting mind maps as PNG, JPG, or SVG images.
How to use Markmap MCP Server?
Install the package globally via npm install @jinzcdev/markmap-mcp-server -g or run directly with npx -y @jinzcdev/markmap-mcp-server. Configure your MCP client with a stdio server entry using that command. The tool provides one command – markdown-to-mindmap – which requires a markdown string and accepts an optional open boolean to automatically preview the mind map in a browser. Output directory can be set with the --output argument or the MARKMAP_DIR environment variable.
Key features of Markmap MCP Server
- Converts Markdown text to interactive mind maps
- Exports mind maps as PNG, JPG, and SVG images
- Supports zoom, expand, and collapse interactions
- One‑click copy of the original Markdown content
- Option to automatically open mind maps in the browser
Use cases of Markmap MCP Server
- Turn Markdown notes into visual mind maps for brainstorming
- Export mind maps as images for presentations or reports
- Quickly preview hierarchical Markdown content in an interactive format
- Embed mind map generation into MCP‑compatible workflows
FAQ from Markmap MCP Server
What are the prerequisites?
Node.js v20 or above is required.
How do I configure the output directory?
Set the --output command‑line argument or the MARKMAP_DIR environment variable. If both are provided, the command‑line argument takes precedence. The default location is the system temporary directory.
What parameters does the markdown-to-mindmap tool accept?
It requires a markdown string. An optional boolean open (default false) controls whether the generated mind map opens automatically in the browser.
How is the server connected to an MCP client?
It uses the stdio transport. The client configuration should specify "type": "stdio" with the command npx -y @jinzcdev/markmap-mcp-server.
Is the project open source?
Yes, it is licensed under the MIT License.