A stable wrapper for the Mindmap MCP Server that handles stdout pollution and ensures reliable operation with Claude Code.
Many mindmap MCP servers output startup messages to stdout which breaks the MCP protocol. This wrapper:
- Filters stdout pollution
- Handles errors gracefully
- Ensures files are saved to the correct directory
- Works reliably with Claude Code CLI
# Clone and install
git clone https://github.com/galacoder/mcp-mindmap-stable.git
cd mcp-mindmap-stable
pip install -e .
# Or install directly
pip install git+https://github.com/galacoder/mcp-mindmap-stable.git# Using the wrapper script
claude mcp add mindmap "python3" "/path/to/wrapper.py" "--" "--output" "."
# Or if installed globally
claude mcp add mindmap "mindmap-mcp-stable" "--" "--output" "."The wrapper:
- Intercepts the mindmap server launch
- Filters out startup messages
- Ensures proper MCP protocol communication
- Handles errors with proper JSON-RPC responses
Works with:
@jinzcdev/markmap-mcp-server(recommended)- Other mindmap servers with stdout issues
MIT License