Labsco
MCP SERVER

XMind MCP

by mab-go

Read and rewrite local .xmind files from your assistant — 27 tools for sheets, topics, relationships and outline import, all on disk with no XMind account.

Diagrams & Charts
Summary
Structure editing, not file rewriting.

The tier layout is the useful part: search or find returns a topic ID with its ancestry, and every mutation takes that ID, so an agent edits one branch instead of regenerating the document. The outline import and export make the round trip to Markdown cheap, which is how most people will actually get a large map in.

What it is

A Go MCP server that opens `.xmind` mind map files directly on disk and edits their structure. Every tool is prefixed `xmind_` so it will not collide with other servers, and the surface is arranged in tiers: find your way around a file, locate a topic, then change it.

What you get
  • Files and sheets — `xmind_open_map` returns a structural summary, `xmind_list_sheets`, `xmind_create_map`, `xmind_add_sheet`, `xmind_delete_sheet`, `xmind_list_relationships`
  • Locating a topic before you edit it — `xmind_get_subtree`, `xmind_get_topic_properties`, `xmind_search_topics` by keyword, `xmind_find_topic` by exact title, each returning IDs plus ancestry and sibling context
  • Building the tree — `xmind_add_topic`, `xmind_add_topics_bulk` for flat or nested batches, `xmind_duplicate_topic` to deep-clone a subtree, `xmind_move_topic`, `xmind_reorder_children`, `xmind_rename_topic`, `xmind_delete_topic`
  • Metadata and decoration — `xmind_set_topic_properties` and `xmind_set_topic_properties_bulk` for notes, labels, markers and links; `xmind_add_floating_topic`, `xmind_add_relationship`, `xmind_delete_relationship`, `xmind_add_summary`, `xmind_add_boundary`
  • Round-tripping through text — `xmind_flatten_to_outline` exports a sheet as indented text or Markdown, `xmind_import_from_outline` builds one back from the same shape, `xmind_find_and_replace` renames by pattern across a sheet
  • 27 tools in total
Requirements

No account and no key — it works on files you already have. `go install github.com/mab-go/xmind-mcp/cmd/xmind-mcp@latest` fetches and builds it in one step (Go 1.26.1 or later), and the client config is a single `"command": "xmind-mcp"` line. Pre-built Linux and Windows binaries are attached to each tagged release, and `ghcr.io/mab-go/xmind-mcp` runs the same stdio server — mount your maps directory and pass container paths to the tools. Log level is set with `--log-level` or `XMIND_MCP_LOG_LEVEL`. MIT.

Setup effort

One command — go install github.com/mab-go/xmind-mcp/cmd/xmind-mcp@latest