Xmind 生成器 MCP 服务器
用于生成 Xmind 思维导图的 MCP(模型上下文协议)服务器。该服务器允许法学硕士 (LLM) 通过 MCP 协议创建结构化思维导图。
特征
生成具有分层主题结构的 Xmind 思维导图
支持主题注释、标签和标记
保存思维导图到本地文件
轻松与 Claude Desktop 和其他 MCP 客户端集成
先决条件
Node.js :需要版本 18 或更高版本
Xmind :安装Xmind桌面应用程序来打开和编辑生成的思维导图
Claude Desktop :需要使用此工具作为扩展
使用 Claude Desktop 进行设置
选项 1:使用 npx(推荐)
创建或编辑 Claude Desktop 配置文件:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
添加以下配置:
{ "mcpServers": { "xmind-generator": { "command": "npx", "args": ["xmind-generator-mcp"], "env": { "outputPath": "/path/to/save/xmind/files", "autoOpenFile": "false" } } } }重启Claude桌面
开始在对话中使用 Xmind 生成器
选项 2:本地安装
克隆存储库:
git clone https://github.com/BangyiZhang/xmind-generator-mcp.git cd xmind-generator-mcp npm install npm run build创建或编辑 Claude Desktop 配置文件:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
添加以下配置:
{ "mcpServers": { "xmind-generator": { "command": "node", "args": ["path/to/xmind-generator-mcp/dist/index.js"], "env": { "outputPath": "/path/to/save/xmind/files", "autoOpenFile": "false" } } } }将
path/to/xmind-generator-mcp替换为克隆项目的实际路径重启Claude桌面
开始在对话中使用 Xmind 生成器
注意: env部分是可选的。它允许您为服务器设置环境变量:
outputPath:Xmind 文件的默认保存目录或文件路径。此设置可以通过工具调用中的outputPath参数进行覆盖。autoOpenFile:控制生成的 Xmind 文件是否自动打开。设置为“false”表示禁用自动打开(默认为“true”)。
可用工具
生成思维导图
从主题的层次结构生成 Xmind 思维导图。
参数:
title(字符串):思维导图的标题(根主题)topics(数组):思维导图中要包含的主题数组title(字符串):主题的标题ref(字符串,可选):主题的参考 IDnote(字符串,可选):主题的注释labels(字符串数组,可选):主题的标签markers(字符串数组,可选):主题的标记(格式:“Category.name”,例如“Arrow.refresh”)children(数组,可选):子主题数组
relationships(数组,可选):主题之间的关系数组outputPath(字符串,可选):Xmind 文件的自定义输出路径。如果已设置,则覆盖环境变量。
例子
以下是如何使用generate-mind-map工具的示例:
执照
麻省理工学院
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
MCP 服务器允许 LLM 创建具有分层主题结构的结构化 Xmind 思维导图,支持注释、标签和标记等功能。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server for navigating thought processes using branches, supporting thought cross-references and priority tracking to enhance insight generation and structured idea exploration.Last updated -140MIT License
- -securityFlicense-qualityA Model Context Protocol server that allows intelligent analysis and querying of XMind mind maps, providing capabilities for searching, extracting, and analyzing content across XMind files.Last updated -3829
- AsecurityAlicenseAqualityA TypeScript Model Context Protocol (MCP) server to allow LLMs to programmatically construct mind maps to explore an idea space, with enforced "metacognitive" self-reflection.Last updated -53423MIT License
- AsecurityAlicenseAqualityAn MCP server that enables managing multiple lines of thought with features like branch navigation, cross-references between related thoughts, and insight generation from key points.Last updated -115MIT License