Are you the author? Sign in to claim
mcp-xmind-to-markdown
将 XMind 思维导图文件转换为 Markdown 格式的 MCP (Model Context Protocol) 服务。
uvx xmind-to-markdown-mcp
pip install xmind-to-markdown-mcp
在支持 MCP 的客户端(如 Claude Desktop、Cursor、Cline)中配置:
{
"mcpServers": {
"xmind-to-markdown": {
"command": "uvx",
"args": ["xmind-to-markdown-mcp"]
}
}
}
将 XMind 文件转换为 Markdown 格式。
参数:
xmind_path (必需): XMind 文件路径output_path (可选): 输出 Markdown 文件路径,不提供则自动保存到 output/ 目录include_metadata (可选): 是否包含文件元信息,默认 true示例:
{
"xmind_path": "/path/to/file.xmind",
"output_path": "/path/to/output.md",
"include_metadata": true
}
读取并返回 XMind 文件的结构化数据(JSON 格式)。
参数:
xmind_path (必需): XMind 文件路径示例:
{
"xmind_path": "/path/to/file.xmind"
}
转换后的 Markdown 采用以下层级结构:
# [中心主题]
## [一级分支1]
- 子主题1.1
- 详细内容1.1.1
- 详细内容1.1.2
- 子主题1.2
## [一级分支2]
- 子主题2.1
> 备注:这里是XMind中的备注内容
- 子主题2.2
---
**文件元信息**
- 文件名: example.xmind
- 文件大小: 15.32 KB
- 创建时间: 2025-01-01 10:00:00
- 修改时间: 2025-01-02 15:30:00
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"xmind-to-markdown": {
"command": "uvx",
"args": ["xmind-to-markdown-mcp"]
}
}
}
在项目的 .vscode/settings.json 中添加:
{
"mcp.servers": {
"xmind-to-markdown": {
"command": "uvx",
"args": ["xmind-to-markdown-mcp"]
}
}
}
在 Cline 的 MCP 设置中添加:
{
"xmind-to-markdown": {
"command": "uvx",
"args": ["xmind-to-markdown-mcp"]
}
}
git clone https://github.com/yourusername/xmind-to-markdown-mcp.git
cd xmind-to-markdown-mcp
pip install -e ".[dev]"
pytest
本项目采用 MIT 许可证 - 详见 LICENSE 文件
欢迎贡献!请随时提交 Pull Request。
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows