mcp-xmind

The MCP XMind Server analyzes and queries XMind mind maps, offering features like smart search, task management, hierarchical navigation, and secure directory access for comprehensive content extraction. The MCP XMind

28
1

MCP XMind Server

smithery badge

The MCP XMind Server is a tool designed for analyzing and querying XMind mind maps, providing capabilities for searching, extracting, and analyzing content from XMind files.

Features

  • Smart fuzzy search across mind maps.
  • Task management and tracking.
  • Hierarchical content navigation.
  • Link and reference extraction.
  • Multi-file analysis.
  • Label and tag support.
  • Directory scanning.
  • Secure directory access.

Installation

Installing via Smithery

To install XMind Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @41px/mcp-xmind --client claude

Manual Installation

npm install @modelcontextprotocol/sdk adm-zip zod
npm install --save-dev typescript @types/node

Usage

Starting the Server

node dist/index.js <allowed-directory> [additional-directories...]

Examples

Search for Nodes

{
    "name": "search_nodes",
    "arguments": {
        "path": "/path/to/file.xmind",
        "query": "project",
        "searchIn": ["title", "notes"],
        "caseSensitive": false
    }
}

Extract Node

{
    "name": "extract_node",
    "arguments": {
        "path": "/path/to/file.xmind",
        "searchQuery": "Feature > API"
    }
}

List Tasks

{
    "name": "get_todo_tasks",
    "arguments": {
        "path": "/path/to/file.xmind"
    }
}

Configuration

Development Configuration

Example claude_desktop_config.json for development:

{
  "xmind": {
    "command": "node",
    "args": [
      "/Users/alex/Src/mcp-xmind/dist/index.js",
      "/Users/alex/XMind"
    ]
  }
}

Production Configuration

Example claude_desktop_config.json for production using npmjs:

{
  "xmind": {
    "command": "npx",
    "args": [
      "-y",
      "@41px/mcp-xmind",
      "/Users/alex/XMind"
    ]
  }
}

Security

  • Only allows access to specified directories.
  • Path normalization and validation.
  • Error handling for invalid access attempts.

Development

Building

npm run build

Type Checking

npm run type-check

MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js /Users/alex/XMind

Repository

AP
apeyroux

apeyroux/mcp-xmind

Created

December 12, 2024

Updated

March 28, 2025

Language

JavaScript

Category

Developer Tools