Mind Elixir
io.github.mind-elixir由 GitHub 账号 mind-elixir 发布v0.1.5更新于 Oct 24, 2026
Create, edit, and organize mind maps in the Mind Elixir Desktop app from any MCP client.
概览
把 stdio MCP 客户端桥接到 Mind Elixir Desktop 应用,让助手读取并编辑当前打开的思维导图。
- 可以做什么
- 这是一个本地 stdio 到 HTTP 的桥接程序,把工具调用转发到 Mind Elixir Desktop 内置的 MCP 服务器(回环地址 6595 端口)。七个工具可让助手新建空白导图、读取包含节点 ID 的完整节点树、用结构化 JSON 替换整张导图、重命名节点、添加子节点、为一段同级节点添加摘要节点,以及在两个节点之间绘制带标签的箭头。写操作返回 OK 或新节点 ID,失败时返回以 Error 开头的字符串。
- 适用场景
- 适合让助手把对话、文档或会议记录整理成结构化思维导图、拆解项目工作分解结构,或重新整理你手工制作的导图。只有确实使用该桌面应用时才有意义。
- 运行要求
- 需安装并运行 Mind Elixir Desktop,由它在 127.0.0.1:6595 上托管 MCP 服务器。需 Node.js 18 或更高版本,以便通过 npx 或全局安装运行该 npm 桥接包。需支持 stdio 的 MCP 客户端,或能直接连接 Streamable HTTP 端点的客户端。回环地址上的 6595 端口需空闲,可用 --port 或环境变量 MIND_ELIXIR_MCP_URL 覆盖。
安装
在 SourceWeft 中
- 打开 控制台中的 Mind Elixir,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Mind Elixir MCP Server
Let AI assistants build and edit real mind maps in Mind Elixir Desktop.
This is the stdio ↔ HTTP bridge that connects stdio-only MCP clients — Claude Desktop, Claude Code, Cursor, VS Code, Cline, Roo Code, Windsurf — to the MCP server built into the Mind Elixir Desktop app.
Requires Mind Elixir Desktop to be installed and running. This server is a local controller for the desktop app, not a standalone cloud service. The bridge forwards tool calls to
http://127.0.0.1:6595/mcpand streams the results back.
- Registry name:
io.github.mind-elixir/mcp - npm package:
@mind-elixir/mcp - Setup guide: https://app.mind-elixir.com/blog/use-mcp
Contents
- What you can do with it
- Requirements
- Quick start
- Client configuration
- Connecting without the bridge (HTTP)
- Tools reference
- Recommended agent workflow
- CLI reference
- How it works
- Troubleshooting
- Security and privacy
- Development
- License
What you can do with it
Seven tools let an assistant read and mutate the mind map that is currently open in the app:
- Start a fresh map, or replace the current one with a structure the model designed.
- Inspect every topic, node ID, and parent/child relationship in the current map.
- Rename nodes, add child nodes, and get back the ID of what was just created.
- Attach summary nodes that collapse a range of siblings into one idea.
- Draw labelled arrows between any two nodes to express relationships that the tree cannot.
Typical uses: turning a conversation or a document into a structured map, breaking a project down into a work breakdown structure, summarising a meeting into themes, or having an assistant reorganise notes you already made by hand.
Requirements
Quick start
Start Mind Elixir Desktop first, then verify the bridge can reach it:
A running bridge prints nothing to stdout (that channel is reserved for JSON-RPC) and stays in the foreground. Diagnostics go to stderr. Quit it with Ctrl+C.
To install the CLI globally instead:
Then configure your MCP client — see the next section.
Client configuration
Claude Desktop
Edit claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after saving.
Claude Code
Cursor
Create or edit ~/.cursor/mcp.json (or use Settings → Features → MCP → + Add New MCP Server):
VS Code (GitHub Copilot agent mode)
Add to .vscode/mcp.json in your workspace, or to your user-level mcp.json:
Cline, Roo Code, Windsurf
These extensions share the mcpServers shape used by Cursor:
Non-default port
If Mind Elixir Desktop is listening somewhere other than 6595, pass the port through:
Connecting without the bridge (HTTP)
If your client can talk Streamable HTTP directly, skip this package entirely and point it at the app:
The app exposes:
CORS is enabled for the Mind Elixir Cloud origin, so browser-hosted clients can call the local server too.
Tools reference
All tools return a plain-text result. Successful mutations answer with OK (or, for add_child, the new node's ID); failures come back as a string beginning with Error:.
Every tool has a 15-second operation budget. If the app does not report back in time, the tool returns Timeout waiting for mindmap operation to complete.
new_mindmap
Creates a new, empty mind map and navigates the app to its editor page.
No parameters.
get_all_nodes
Returns the current map as a nested node tree — every topic, its ID, and its children.
No parameters. Shape of the response:
Always call this before editing or adding to a map you did not create in this session — IDs are the only way to address nodes.
generate_mindmap
Replaces the entire current map with the structure you supply.
Requirements:
- Every node needs
topic(string) andid(string). childrenis optional.- Use hierarchical numbering (
1,1-1,1-2,2,2-1, …) so later tools can address nodes predictably.
edit_topic
Changes a node's text in place, preserving its position, children, summaries, and arrows.
Returns Error: Node not found if node_id does not exist — call get_all_nodes to refresh your view.
add_child
Adds a child node under an existing parent. The app generates the ID, so the result carries it.
Returns Done. New Node's ID is <id>. — keep that ID if you plan to edit the node later. Returns Error: Parent node not found when the parent is missing.
add_node_summary
Attaches a summary node that consolidates a contiguous range of a parent's children.
Example — summarise the first three children of node 1:
add_arrow
Draws a labelled connection between two nodes, for relationships the tree cannot express.
Recommended agent workflow
- Orient first. Call
get_all_nodesto learn the real IDs and structure before touching anything. Never assume an ID. - Decide between build and patch. For a brand-new map use
generate_mindmapwith hierarchical IDs. For incremental work on an existing map useadd_childandedit_topic. - Capture generated IDs.
add_childreturns a UUID — record it if the node will be edited again. - Do not rely on the app being on the editor page. Any tool call brings the app to the front and opens the editor; if it was not already editing a map, a new blank map is created first. So always confirm the current state with
get_all_nodesbefore a write. - Keep calls sequential. Mutations are applied in order, and there is no undo exposed over MCP.
CLI reference
The package installs two equivalent binaries: mind-elixir-mcp and mcp.
Transport selection in auto mode: if the target URL path ends with /mcp, Streamable HTTP is used; otherwise the bridge falls back to the legacy SSE transport. Force one with --transport.
How it works
- The bridge translates stdio JSON-RPC messages into HTTP requests and streams responses back verbatim.
- Startup is tolerant. If the app is still booting, messages are buffered and replayed in strict FIFO order once the connection is established. The bridge retries the connection three times, one second apart.
- Protocol version is negotiated. The bridge starts at
2024-11-05and adopts whatever version theinitializehandshake settles on, forwarding it to the app. - Failures are explicit. If the app never becomes reachable, every buffered request receives a JSON-RPC error (
-32000) readingMind Elixir Desktop is not running. Please open Mind Elixir Desktop and try again. (<url>),stderrgets a human-readable explanation, and the process exits with code1. Errors raised during an operation are returned to the caller as their original message rather than being swallowed.
Troubleshooting
Security and privacy
- The app's MCP server binds
127.0.0.1only — it is never exposed to your network, and it has no authentication. Any local process on your machine can drive the app through it, so treat port6595like any other local control surface. - The bridge is a local child process of your MCP client. It reads and writes nothing on disk; the only network traffic is the loopback HTTP call to the app.
- Everything happens on your machine. No mind map content, prompt, or telemetry is sent to a server by this package or by the desktop app's MCP endpoint.
- Grant the server the same care you would give any tool that edits your documents: it can rewrite the map you have open. Prefer clients configured to ask before running tools when you are working on something important.
Development
Requires Node.js 18+ and pnpm 11+ (the allowBuilds entry in pnpm-workspace.yaml depends on it).
The build emits a single bundled ESM file with a #!/usr/bin/env node shebang; prepublishOnly rebuilds before every npm publish.
License
MIT © Mind Elixir
来源:README.md,提交 adb7146
工具
0版本历史
1- v0.1.5最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分