Skip to main content
Glama
BangyiZhang

Xmind Generator MCP Server

by BangyiZhang

Xmind Generator MCP Server

An MCP (Model Context Protocol) server for generating Xmind mind maps. This server allows LLMs to create structured mind maps through the MCP protocol.

Features

  • Generate Xmind mind maps with hierarchical topic structures

  • Support for topic notes, labels, markers, and relationships

  • Save mind maps to local files

  • Read existing .xmind files and export an outline as Markdown

  • Easy integration with Claude Desktop and other MCP clients

Related MCP server: MCP Thinking Server

Prerequisites

  • Node.js: Version 18 or higher is required

  • Xmind: Install Xmind desktop application to open and edit the generated mind maps

  • Claude Desktop: Required to use this tool as an extension

Setup with Claude Desktop

  1. Create or edit the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. Add the following configuration:

    {
      "mcpServers": {
        "xmind-generator": {
          "command": "npx",
          "args": ["xmind-generator-mcp"],
          "env": {
            "outputPath": "/path/to/save/xmind/files",
            "autoOpenFile": "false"
          }
        }
      }
    }
  3. Restart Claude Desktop

  4. Start using the Xmind generator in your conversations

Option 2: Local Installation

  1. Clone the repository:

    git clone https://github.com/BangyiZhang/xmind-generator-mcp.git
    cd xmind-generator-mcp
    npm install
    npm run build
  2. Create or edit the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  3. Add the following configuration:

    {
      "mcpServers": {
        "xmind-generator": {
          "command": "node",
          "args": ["path/to/xmind-generator-mcp/dist/index.js"],
          "env": {
            "outputPath": "/path/to/save/xmind/files",
            "autoOpenFile": "false"
          }
        }
      }
    }
  4. Replace path/to/xmind-generator-mcp with the actual path to your cloned project

  5. Restart Claude Desktop

  6. Start using the Xmind generator in your conversations

Note: The env section is optional. It allows you to set environment variables for the server:

  • outputPath: Default directory or file path where Xmind files will be saved. This can be overridden by the outputPath parameter in the tool call.

  • autoOpenFile: Controls whether generated Xmind files are automatically opened after creation. Set to "false" to disable auto-opening (default is "true").

Available Tools

generate-mind-map

Generates an Xmind mind map from a hierarchical structure of topics.

Parameters:

  • title (string): The title of the mind map (root topic)

  • topics (array): Array of topics to include in the mind map

    • title (string): The title of the topic

    • ref (string, optional): Reference ID for the topic

    • note (string, optional): Note for the topic

    • labels (array of strings, optional): Labels for the topic

    • markers (array of strings, optional): Markers for the topic (format: "Category.name", e.g., "Arrow.refresh")

    • children (array, optional): Array of child topics

  • relationships (array, optional): Array of relationships between topics

  • outputPath (string, optional): Custom output path for the Xmind file. This overrides the environment variable if set.

read-mind-map

Reads an existing .xmind file and exports it as a Markdown outline.

Parameters:

  • inputPath (string): Path to the .xmind file

  • style (string, optional): Markdown style. Currently supports A (outline). (B reserved for future richer exports.)

Example:

{
  "inputPath": "/path/to/file.xmind",
  "style": "A"
}

Example

Here's an example of how to use the generate-mind-map tool:

{
  "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"
        }
      ]
    }
  ]
}

License

MIT

Available Tools

1 tool
generate-mind-mapD
ParametersJSON Schema
NameRequiredDescriptionDefault
filenameYesThe filename for the XMind file (without path or extension)
outputPathNoOptional custom output path for the XMind file. If not provided, the file will be created in the temporary directory.
relationshipsNoOptional array of relationships between topics
titleYesThe title of the mind map (root topic)
topicsYesArray of topics to include in the mind map

TDQS

D1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tool has no description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

D1.8/5.0
Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'generate-mind-map' stands alone with a distinct purpose, making it impossible for an agent to misselect between multiple options.

Naming Consistency5/5

The naming is trivially consistent as there is only one tool. It follows a clear verb_noun pattern ('generate-mind-map'), and with no other tools to compare against, there is no inconsistency in naming conventions.

Tool Count2/5

A single tool is generally too few for a server's purpose, as it limits functionality and may not cover the domain adequately. For a mind map generator, one tool might suffice for basic generation, but it feels thin and could lack features like editing, saving, or retrieving maps, suggesting an under-scoped implementation.

Completeness2/5

The tool surface is severely incomplete for a mind map domain. With only a generation tool, there are obvious gaps such as no ability to retrieve, update, delete, or list existing mind maps. This will likely cause agent failures when trying to perform full lifecycle operations, as the server does not support basic CRUD functionality.

Maintenance

ActivitySlowing
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    D
    quality
    D
    maintenance
    An MCP server that enables users to generate structured XMind mind maps with hierarchical topics, notes, and labels through natural language. It features automatic file saving to the local Documents folder and can automatically open generated maps in the XMind application.
    1
    61
    1
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    MCP server that enables LLMs to create and edit draw.io diagrams using high-level intent commands, with automatic layout and styling.
    4
    17
    4
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that lets Claude or ChatGPT read, create, and edit mind maps stored in a GitHub repository, with support for local and HTTP transport.

Latest Blog Posts

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/BangyiZhang/xmind-generator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server