# xmind-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/mab-go/xmind-mcp  
**GitHub Stars:** 9  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xmind-mcp

## Description
An unofficial MCP server for reading and writing local XMind mind map files. Exposes 27 tools that let any MCP-compatible AI client create, navigate, and edit XMind files directly on disk.

## Tools
Capabilities this server exposes over MCP:

- **xmind_open_map** — Parse a `.xmind` file and return a structural summary (sheet names, root topics, node counts).
- **xmind_list_sheets** — Return the names and IDs of all sheets in a workbook.
- **xmind_create_map** — Create a new `.xmind` file with a single sheet and root topic.
- **xmind_add_sheet** — Add a new sheet to an existing workbook.
- **xmind_delete_sheet** — Remove a sheet from a workbook.
- **xmind_list_relationships** — List all relationships on a sheet (endpoint ids and topic titles as JSON).
- **xmind_get_subtree** — Return the full topic hierarchy rooted at a given topic (or the whole sheet); floating and summary topics are marked with `childType`.
- **xmind_get_topic_properties** — Return one topic's metadata as JSON (notes, markers, boundaries, sheet relationships for that topic, child counts); use to verify writes.
- **xmind_search_topics** — Search topics by keyword; returns matches with IDs, ancestryPath (titles from sheet root to parent of match, or null at sheet root), parent title, depth, childType, and sheet fields when searching all sheets.
- **xmind_find_topic** — Find a single topic by exact title; returns ID, ancestryPath (sheet-root chain to parent of match; null at sheet root; not relative to parent_id scope), plus parent/sibling context relative to the search scope.
- **xmind_add_topic** — Add a child under a parent; optional notes, labels, markers, link, `remove_markers` (same rules as `xmind_set_topic_properties`); success body is JSON.
- **xmind_add_topics_bulk** — Add many topics (flat or nested); each object may set the same optional metadata fields; success body is JSON.
- **xmind_duplicate_topic** — Deep-clone a topic subtree under another parent (same sheet); sheet relationships are not copied; success body is JSON.
- **xmind_rename_topic** — Change the title of an existing topic.
- **xmind_delete_topic** — Remove a topic and all its descendants, plus any relationships connected to them; summary and boundary ranges on the parent shrink to match.
- **xmind_move_topic** — Move a topic (and subtree) to a new parent; optional `position` sets insertion order (omit to append); not for summary topics; success body is JSON.
- **xmind_reorder_children** — Change the order of a topic's children without reparenting.
- **xmind_set_topic_properties** — Set or update topic metadata (notes, labels, markers, link, remove_markers); clearing rules are on the tool.
- **xmind_set_topic_properties_bulk** — Apply the same metadata updates as `xmind_set_topic_properties` to many topic IDs in one read/write.
- **xmind_add_floating_topic** — Add a detached floating topic not connected to the main hierarchy.
- **xmind_add_relationship** — Draw a labeled connector between any two topics.
- **xmind_delete_relationship** — Remove a relationship by id (from `xmind_list_relationships`).
- **xmind_add_summary** — Add a summary callout bracketing a range of sibling topics.
- **xmind_add_boundary** — Add a visual boundary enclosure around all children of a topic.
- **xmind_flatten_to_outline** — Export a sheet or subtree as indented plain text or Markdown.
- **xmind_import_from_outline** — Build a map or branch from an indented plain text or Markdown outline.
- **xmind_find_and_replace** — Replace text in topic titles (case-insensitive substring, or whole-title match with `exact_match`) on one sheet, or on all sheets when `sheet_id` is omitted; success body is JSON.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/mab-go/xmind-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
go install github.com/mab-go/xmind-mcp/cmd/xmind-mcp@latest
```

2. Install:

```sh
git clone https://github.com/mab-go/xmind-mcp.git
```

3. Run:

```sh
cd xmind-mcp
```

4. Install:

```sh
make build
```

5. Install:

```sh
docker buildx build --platform linux/amd64 --load -t xmind-mcp:test .
```

6. Install:

```sh
docker buildx build \
  --platform linux/amd64 \
  --load \
  --build-arg VERSION="$(git describe --tags --always --dirty 2>/dev/null || echo dev)" \
  --build-arg COMMIT="$(git rev-parse HEAD 2>/dev/null || echo unknown)" \
  --build-arg DATE="$(date -u +%Y-%m-%d)" \
  -t xmind-mcp:test .
```

## Documentation

## What xmind-mcp does

xmind-mcp connects MCP-compatible AI clients to local XMind workbooks. It can inspect `.xmind` files, create new maps, add or remove sheets, and navigate topic hierarchies. Editing operations cover topic creation, bulk insertion, renaming, deletion, moving, reordering, duplication, and metadata updates.

The server also handles XMind structures beyond ordinary parent-child topics. It can create floating topics, relationships between topics, summaries over sibling ranges, and boundaries around a topic's children. Search and inspection tools return structured JSON suitable for checking topic IDs, ancestry, properties, relationships, and child counts. The project is independent of the company that makes XMind and is not an official XMind integration.

## How it works

The server communicates over standard input and output using MCP. A client starts the `xmind-mcp` executable; the executable takes no command-line arguments for normal operation. Each operation receives a path to a workbook, so absolute paths are preferable when the client may choose an unexpected working directory.

For container use, mount the host directory containing the maps and pass paths as they appear inside the container. For example, a host directory mounted at `/maps` requires tool calls to use paths such as `/maps/project.xmind`.

## Setup and configuration

The recommended installation uses Go's package installer:

```bash
go install github.com/mab-go/xmind-mcp/cmd/xmind-mcp@latest
```

The project can also be cloned and built with `make build`, built directly with `go build ./cmd/xmind-mcp`, or run from the published container image. Building from source requires Go 1.26.11 or later.

Claude Desktop, Claude Code, VS Code, and Cursor can start the binary as a stdio server. The command is normally `xmind-mcp`; use its full path if the client cannot see the installation directory. Docker clients must use interactive mode with `-i`, mount the map directory, and refer to the mounted path. Containers run as root by default, so Linux users may need to provide a matching container user and group to avoid root-owned output files.

## Tools and capabilities

- Inspect workbooks with `xmind_open_map`, list sheets, retrieve subtrees, inspect topic properties, and list relationships.
- Create maps and sheets, then add, delete, duplicate, rename, move, reorder, or bulk-create topics.
- Search by keyword or exact title, including ancestry and sibling context, and perform case-insensitive title replacement.
- Set notes, labels, markers, links, and marker-removal options on one or many topics.
- Add or remove relationships, floating topics, summaries, and boundaries.
- Convert a sheet or subtree to indented text or Markdown, or build a map or branch from an outline.

## Limitations and notes

The server works with local files rather than a hosted XMind account. It requires an MCP client capable of launching a local stdio process. Relative map paths depend on the client's working directory. Topic moves do not apply to summary topics, and duplicated subtrees do not carry over sheet relationships. Docker deployments expose only directories explicitly mounted into the container.

_Full upstream README: https://allmcps.com/mcp/xmind-mcp/readme_

