
yuchenssr/mindmap-mcp-server
Developer toolsA Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.
Обзор
A Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.
README
Mindmap MCP Server
A Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.
Installation
pip install mindmap-mcp-server
Or using uvx:
uvx mindmap-mcp-server
Or using docker safer and easier.
Attention
Three installation methods have been successfully tested on macOS and Linux.
For Windows users experiencing issues with npx for this MCP, consider using the Docker method. Alternatively, if you use Visual Studio Code, the “Markmap” extension offers a potentially simpler solution than navigating command-line tools.
If you’re experiencing unresolved issues, you can use my recent system prompt as a Mindmap Assistant instead of using this MCP server.
Prerequisites
This package requires Node.js to be installed when using command python or uvx to run the server.
Usage
With Claude Desktop or other MCP clients
Add this server to your claude_desktop_config.json:
Troubleshooting
File Not Found
If your mind map file isn’t accessible:
1 Check that you’ve correctly mounted a volume to the Docker container
2 Ensure the path format is correct for your operating system
3 Make sure Docker has permission to access the directory
Docker Command Not Found
1 Verify Docker is installed and in your PATH
2 Try using the absolute path to Docker
Server Not Appearing in Claude
1 Restart Claude for Desktop after configuration changes
2 Check Claude logs for connection errors
3 Verify Docker is running
Advanced Usage
Using with Other MCP Clients
This server works with any MCP-compatible client, not just Claude for Desktop. The server implements the Model Context Protocol (MCP) version 1.0 specification.
Features
This server provides a tool for converting Markdown content to mindmaps using the markmap-cli library:
- Convert Markdown to interactive mindmap HTML
- Option to create offline-capable mindmaps
- Option to hide the toolbar
- Return either HTML content or file path
Example
In Claude, you can ask:
"give a mindmap for the following markdown code, using a mindmap tool:
# Project Planning
## Research
### Market Analysis
### Competitor Review
## Design
### Wireframes
### Mockups
## Development
### Frontend
### Backend
## Testing
### Unit Tests
### User Testing
"
if you want to save the mindmap to a file, and then open it in your browser using the iTerm MCP server:
"give a mindmap for the following markdown input_code using a mindmap tool, after that,use iterm to open the generated html file. input_code:
markdown content
"
“Think about the process of putting an elephant into a refrigerator, and provide a mind map. Open it with a terminal.”
and more
License
This project is licensed under the MIT License. For more details, please see the LICENSE file in this project repository
If this project is helpful to you, please consider giving it a Star ⭐️
The advancement of technology ought to benefit all individuals rather than exploit the general populace.
Установка
uvx mindmap-mcp-server --return-type htmlКонфигурация
{
"mcpServers": {
"mindmap": {
"command": "uvx",
"args": ["mindmap-mcp-server", "--return-type", "html"]
}
}
}