by apeyroux
MCP XMind Server is a Model Context Protocol server designed for analyzing and querying XMind mind maps, providing powerful capabilities for searching, extracting, and analyzing content from XMind files.
MCP XMind Server is a Model Context Protocol (MCP) server that enables advanced analysis and querying of XMind mind map files. It allows users to search, extract, and analyze content within their XMind directories, making mind map data more accessible and manageable.
Installation:
npx -y @smithery/cli install @41px/mcp-xmind --client claude
npm install @modelcontextprotocol/sdk adm-zip zod
followed by npm install --save-dev typescript @types/node
Starting the Server:
node dist/index.js <allowed-directory> [additional-directories...]
Available Tools (Examples):
Q: What is Model Context Protocol (MCP)? A: MCP is a protocol that allows applications to interact with and understand the context of various data sources, in this case, XMind files.
Q: How does MCP XMind Server ensure security? A: It only allows access to specified directories, employs path normalization and validation, and includes error handling for invalid access attempts.
Q: Can I use MCP XMind Server with Claude Desktop? A: Yes, installation instructions are provided for integration with Claude Desktop, both via Smithery and manual configuration.
A Model Context Protocol server for analyzing and querying XMind mind maps. This tool provides powerful capabilities for searching, extracting, and analyzing content from XMind files.
To install XMind Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @41px/mcp-xmind --client claude
npm install @modelcontextprotocol/sdk adm-zip zod
npm install --save-dev typescript @types/node
node dist/index.js <allowed-directory> [additional-directories...]
read_xmind
get_todo_tasks
list_xmind_directory
read_multiple_xmind_files
search_xmind_files
extract_node
extract_node_by_id
search_nodes
{
"name": "search_nodes",
"arguments": {
"path": "/path/to/file.xmind",
"query": "project",
"searchIn": ["title", "notes"],
"caseSensitive": false
}
}
{
"name": "extract_node",
"arguments": {
"path": "/path/to/file.xmind",
"searchQuery": "Feature > API"
}
}
{
"name": "get_todo_tasks",
"arguments": {
"path": "/path/to/file.xmind"
}
}
Example claude_desktop_config.json
for development:
{
"xmind": {
"command": "node",
"args": [
"/Users/alex/Src/mcp-xmind/dist/index.js",
"/Users/alex/XMind"
]
}
}
Example claude_desktop_config.json
for production using npmjs:
{
"xmind": {
"command": "npx",
"args": [
"-y",
"@41px/mcp-xmind",
"/Users/alex/XMind"
]
}
}
npm run build
npm run type-check
npx @modelcontextprotocol/inspector node dist/index.js /Users/alex/XMind
Reviews feature coming soon
Stay tuned for community discussions and feedback