BX

bangyizhang/xmind-generator-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

47 stars 10 forks Качество 76 Тренд 4MIT

bangyizhang/xmind-generator-mcp - кандидат на сервер MCP, импортированный из https://github.com/bangyizhang/xmind-generator-mcp.

Обзор

bangyizhang/xmind-generator-mcp - кандидат на сервер MCP, импортированный из https://github.com/bangyizhang/xmind-generator-mcp.

Обзор (машинный перевод)

Сервер MCP (Model Context Protocol) для создания карт разума Xmind. Этот сервер позволяет LLM создавать структурированные карты разума через протокол MCP.

Особенности

Создание карт разума Xmind с иерархическими структурами тем Поддержка тематических заметок, ярлыков, маркеров и отношений Сохранить карты памяти в локальные файлы Читайте существующие файлы .xmind и экспортируйте контур как Markdown Легкая интеграция с Claude Desktop и другими клиентами MCP

Предпосылки

Node.js: требуется версия 18 или выше Xmind: Установите настольное приложение Xmind для открытия и редактирования созданных карт памяти Claude Desktop: необходимо использовать этот инструмент в качестве расширения

Настройка с помощью Claude Desktop

Вариант 1: Использование npx (рекомендуется)

  1. Создание или редактирование файла конфигурации Claude Desktop:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Добавить следующую конфигурацию:

3 Перезагрузка Claude Desktop 4.Начните использовать генератор Xmind в ваших разговорах

Вариант 2: локальная установка

  1. Клонировать хранилище:

2.Создать или отредактировать файл конфигурации Claude Desktop:

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

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

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
Открыть полный README на GitHub

Установка

npx xmind-generator-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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