The Xmind Generator MCP acts as a creative bridge between artificial intelligence and visual brainstorming. This tool allows users to transform raw text or complex ideas from an AI conversation directly into professionally structured Xmind mind maps. Instead of manually copying and pasting ideas into a diagramming tool, this server enables an AI assistant to organize information into a clear, hierarchical layout that can be opened and edited immediately in the Xmind desktop application. Beyond simple branching, the server supports a rich set of features that bring depth to visual data. It handles multi-layered topic structures, allowing for the inclusion of detailed notes, descriptive labels, and specific markers like priority icons or task status symbols. It even provides the ability to define relationships between different branches, making it a powerful resource for mapping out complex project plans, research findings, or software architectures directly from a chat interface. For developers and power users, the tool integrates seamlessly with the Model Context Protocol (MCP), specifically optimized for clients like Claude Desktop. It is built on Node.js and offers flexible configuration options, such as customizable output paths and the ability to toggle automatic file opening upon generation via environment variables. By exposing a specialized `generate-mind-map` tool to the LLM, it empowers AI agents to produce valid Xmind files programmatically, turning an assistant from a simple text generator into a functional visual architect for any data-driven workflow.
Category: Design, Media & Creative
Tags: brainstorming, diagrams, mind-mapping, visualization, xmind
bash git clone https://github.com/BangyiZhang/xmind-generator-mcp.git cd xmind-generator-mcp 2. Install dependencies and build: bash npm install npm run build ---claude_desktop_config.json file: * macOS: ~/Library/Application Support/Claude/claude_desktop_config.json * Windows: %APPDATA%\Claude\claude_desktop_config.jsonjson { "mcpServers": { "xmind-generator": { "command": "npx", "args": ["xmind-generator-mcp"], "env": { "outputPath": "/path/to/save/xmind/files", "autoOpenFile": "false" } } } }json { "mcpServers": { "xmind-generator": { "command": "node", "args": ["/absolute/path/to/xmind-generator-mcp/dist/index.js"], "env": { "outputPath": "/path/to/save/xmind/files", "autoOpenFile": "false" } } } } Environment Variables (Optional): * outputPath: Default directory or file path where Xmind files will be saved. * autoOpenFile: Set to "true" (default) to open files automatically, or "false" to disable. ---generate-mind-map Generates an Xmind mind map from a hierarchical structure of topics. Parameters: * title (string, required): The title of the mind map (root topic). * topics (array, required): Array of topic objects. * title (string): Topic title. * ref (string, optional): Reference ID. * note (string, optional): Topic note. * labels (array of strings, optional): Topic labels. * markers (array of strings, optional): Markers (e.g., "Arrow.refresh"). * children (array, optional): Nested child topics. * relationships (array, optional): Array of relationships between topics. * outputPath (string, optional): Custom output path (overrides environment variable). ---json { "title": "Project Plan", "topics": [ { "title": "Research", "ref": "topic:research", "note": "Gather information about the market", "children": [ { "title": "Market Analysis", "labels": ["Priority: High"] }, { "title": "Competitor Research", "markers": ["Task.quarter"] } ] }, { "title": "Development", "children": [ { "title": "Frontend", "markers": ["Arrow.refresh"] }, { "title": "Backend" } ] } ] }generate-mind-map tool to create a root topic for "Version 1.0," sub-topics for each feature module, and uses labels like "High Priority" and "Phase 2" to categorize them visually.Part of MCP Servers