MindMeister MCP Server
MindMeister MCP 服务器
一个 MCP (Model Context Protocol) 服务器,用于将 Claude 连接到 MindMeister API v2,从而直接从 Claude Desktop 或 Claude Code 实现 AI 驱动的思维导图管理。
什么是 MCP?
MCP 是一项开放标准,允许像 Claude 这样的 AI 助手与外部工具和服务进行交互。此服务器将 MindMeister 操作公开为 MCP 工具,Claude 可以在对话期间调用这些工具。
可用工具
工具 | 描述 |
| 获取已认证用户的个人资料 |
| 获取特定导图的元数据 (JSON) |
| 分页列出导图 |
| 将导图导出为 PDF、DOCX、PPTX、RTF 或图像 |
| 获取导图的图像/缩略图 |
| 列出导图的共享权限 |
| 获取用户偏好设置 |
先决条件
Python 3.10+
拥有 API 访问权限的 MindMeister 账户
来自 MindMeister 的个人访问令牌 (Personal Access Token)
获取 API 令牌
登录 MindMeister
前往 账户 (Account) → API → 个人访问令牌 (Personal Access Tokens)
创建一个具有所需范围的新令牌:
mindmeister.readonly— 用于只读访问mindmeister— 用于完全访问
复制令牌
安装
选项 1:从源码安装
git clone https://github.com/conexaoarteiro/mindmeister-mcp.git
cd mindmeister-mcp
pip install -e .选项 2:直接从 GitHub 安装
pip install git+https://github.com/conexaoarteiro/mindmeister-mcp.git选项 3:手动设置
git clone https://github.com/conexaoarteiro/mindmeister-mcp.git
cd mindmeister-mcp
pip install -r requirements.txt配置
将您的 MindMeister API 令牌设置为环境变量:
export MINDMEISTER_API_TOKEN="your_personal_access_token_here"或者根据 .env.example 创建一个 .env 文件:
cp .env.example .env
# Edit .env and add your token在 Claude Desktop 中使用
将其添加到您的 claude_desktop_config.json 中:
{
"mcpServers": {
"mindmeister": {
"command": "python",
"args": ["-m", "mindmeister_mcp.server"],
"env": {
"MINDMEISTER_API_TOKEN": "your_personal_access_token_here"
}
}
}
}如果您使用 pip install -e . 安装,也可以使用:
{
"mcpServers": {
"mindmeister": {
"command": "mindmeister-mcp",
"env": {
"MINDMEISTER_API_TOKEN": "your_personal_access_token_here"
}
}
}
}配置文件位置
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
在 Claude Code 中使用
claude mcp add mindmeister -- python -m mindmeister_mcp.server然后在运行 Claude Code 之前设置环境变量:
export MINDMEISTER_API_TOKEN="your_token"
claude对话示例
配置完成后,您可以询问 Claude 如下内容:
“显示我的 MindMeister 导图”
“获取导图 1234567890 的详细信息”
“将导图 1234567890 导出为 PDF”
“谁有权访问导图 1234567890?”
“我的 MindMeister 账户详情是什么?”
开发
# Clone and install in dev mode
git clone https://github.com/conexaoarteiro/mindmeister-mcp.git
cd mindmeister-mcp
pip install -e ".[dev]"
# Run the server directly
python -m mindmeister_mcp.server项目结构
mindmeister-mcp/
├── README.md
├── pyproject.toml
├── requirements.txt
├── .env.example
├── .gitignore
└── src/
└── mindmeister_mcp/
├── __init__.py
├── server.py # FastMCP server with all tools
├── client.py # Async HTTP client for MindMeister API v2
└── models.py # Pydantic input validation modelsAPI 覆盖范围
此服务器针对 MindMeister API v2 (https://www.mindmeister.com/api/v2/)。涵盖了以下端点:
GET /users/me— 用户个人资料GET /maps/{id}— 导图元数据GET /maps— 列出导图GET /maps/{id}(带 Accept 标头) — 导出为 PDF/DOCX/PPTX/RTF/图像GET /map_images/{id}— 导图图像GET /maps/{id}/rights— 导图权限GET /users/me/preferences— 用户偏好设置
许可证
MIT
Available Tools
7 toolsmindmeister_export_mapARead-only
Export a MindMeister map to a specific file format.
Supported formats: pdf, docx, pptx, rtf, image, presentation. The export is fetched via GET /maps/{id} with an appropriate Accept header. Returns the binary content as a base64 string so it can be saved locally.
Args: params: ExportMapInput with map_id (str) and format (ExportFormat).
Returns: str: JSON with keys "format", "filename", "content_base64", and "size_bytes". The base64 payload can be decoded and saved as a file.
Inputs: params (required). Returns: result
mindmeister_get_mapARead-onlyIdempotent
Get metadata for a specific MindMeister map.
Retrieves the full JSON representation of a map including its title, nodes, connections, and settings via GET /maps/{id}.
Args: params: GetMapInput with map_id (str).
Returns: str: JSON with the map's complete metadata.
Inputs: params (required). Returns: result
mindmeister_get_map_imageARead-onlyIdempotent
Get the image/thumbnail for a MindMeister map.
Retrieves the map image via GET /map_images/{id}. Returns the image as base64-encoded data along with metadata.
Args: params: GetMapImageInput with map_id (str).
Returns: str: JSON with "map_id", "content_type", "content_base64", and "size_bytes".
Inputs: params (required). Returns: result
mindmeister_get_preferencesARead-onlyIdempotent
Get the authenticated user's MindMeister preferences.
Retrieves settings and preferences via GET /users/me/preferences (or equivalent endpoint).
Returns: str: JSON with user preference key-value pairs.
Inputs: no named parameters. Returns: result
mindmeister_get_userARead-onlyIdempotent
Get the authenticated MindMeister user profile.
Returns the current user's id, name, email, and account details from GET /users/me.
Returns: str: JSON with user profile fields (id, name, email, etc.)
Inputs: no named parameters. Returns: result
mindmeister_list_mapsARead-onlyIdempotent
List mind maps belonging to the authenticated user.
Supports pagination via limit/offset. The MindMeister API v2 may not expose a dedicated list-all endpoint; this tool attempts GET /maps and returns whatever the API provides. If the endpoint is not available, an appropriate error is returned.
Args: params: ListMapsInput with optional limit (int, 1-50) and offset (int, >=0).
Returns: str: JSON array of map objects with pagination metadata, or an error message if the endpoint is unavailable.
Inputs: params (required). Returns: result
mindmeister_list_rightsARead-onlyIdempotent
List sharing permissions for a MindMeister map.
Returns all collaborators and their access levels for the given map via GET /maps/{id}/rights.
Args: params: ListRightsInput with map_id (str).
Returns: str: JSON array of permission objects (user, role, etc.)
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct aspect of MindMeister: maps, user, preferences, image, export, rights. No overlap in purpose, agents can clearly differentiate.
All tools follow the mindmeister_verb_noun pattern, using snake_case consistently. The naming is uniform and predictable.
Seven tools is a well-scoped set for a mind map service, covering listing, retrieving, exporting, user info, and permissions without unnecessary bloat.
The server lacks create, update, and delete operations for maps, which are essential for full lifecycle management. The tool surface is read-only plus export, leaving agents unable to perform core editing tasks.
Related MCP Connectors
Create, edit, and organize MindMeister mind maps from your AI assistant.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
- platform7nDeprecatedtech.p7n
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to Fathom meeting recordings, transcripts, and summaries