
bangyizhang/xmind-generator-mcp 是从 https://github.com/bangyizhang/xmind-generator-mcp. 导入的 MCP 服务器候选
概览
bangyizhang/xmind-generator-mcp 是从 https://github.com/bangyizhang/xmind-generator-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一个用于生成Xmind思维导图的MCP(模型上下文协议)服务器。该服务器允许大型语言模型通过MCP协议创建结构化思维导图。
特色
- 生成具有层级主题结构的Xmind思维导图
- 支持主题注释、标签、标记和关系
- 将思维导图保存到本地文件中
- 阅读现有的.xmind文件并导出大纲为Markdown
- 与 Claude Desktop 及其他 MCP 客户端的便捷集成
先修条件
- Node.js:需要版本18及以上
- Xmind:安装Xmind桌面应用以打开并编辑生成的思维导图
- Claude Desktop:作为扩展使用该工具必不可少
使用 Claude Desktop 设置
选项1:使用NPX(推荐)
- 创建或编辑 Claude Desktop 配置文件:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - 窗口:
%APPDATA%\Claude\claude_desktop_config.json
-
添加以下构型:
-
重启 Claude Desktop
-
开始在你的对话中使用Xmind生成器
选项2:本地安装
-
克隆仓库:
-
创建或编辑 Claude Desktop 配置文件:
本页由 AI 翻译,技术细节请以原文为准。
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
Option 1: Using npx (Recommended)
-
Create or edit the Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the following configuration:
{ "mcpServers": { "xmind-generator": { "command": "npx", "args": ["xmind-generator-mcp"], "env": { "outputPath": "/path/to/save/xmind/files", "autoOpenFile": "false" } } } } -
Restart Claude Desktop
-
Start using the Xmind generator in your conversations
Option 2: Local Installation
-
Clone the repository:
git clone https://github.com/BangyiZhang/xmind-generator-mcp.git cd xmind-generator-mcp npm install npm run build -
Create or edit the Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
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" } } } } -
Replace
path/to/xmind-generator-mcpwith the actual path to your cloned project -
Restart Claude Desktop
-
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 theoutputPathparameter 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 maptitle(string): The title of the topic
安装
npx xmind-generator-mcp配置
{
"mcpServers": {
"xmind-generator": {
"command": "npx",
"args": ["xmind-generator-mcp"],
"env": {
"outputPath": "/path/to/save/xmind/files",
"autoOpenFile": "false"
}
}
}
}