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仅桌面效率与工作流知识与记忆

概览

AI 生成的概览

把 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 覆盖。
安装前请注意
应用的 MCP 端点仅绑定回环地址且没有身份验证,本机任何进程都能通过它操作该应用。工具会写入当前打开的导图:可整张替换、重命名节点,以及添加节点、摘要和箭头,且 MCP 未提供撤销。调用工具会把应用切到前台,若当时不在编辑页还会新建一张空白导图。建议先读取导图,并优先使用执行工具前会询问的客户端。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mind Elixir,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Mind Elixir MCP Server

[npm version] [license]

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/mcp and streams the results back.


Contents


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

RequirementDetail
Mind Elixir DesktopInstalled and running. The app hosts the actual MCP server on 127.0.0.1:6595.
Node.js18 or newer — only needed to run the bridge via npx, npm i -g, or a local install.
MCP clientAny client that speaks MCP over stdio, or one that can connect directly to a Streamable HTTP endpoint.
Port6595 must be free on loopback. Override with --port if it is not.

Quick start

Start Mind Elixir Desktop first, then verify the bridge can reach it:

bash
npx -y @mind-elixir/mcp@latest

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:

bash
npm install -g @mind-elixir/mcpmind-elixir-mcp

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
json
{  "mcpServers": {    "mind-elixir": {      "command": "npx",      "args": ["-y", "@mind-elixir/mcp@latest"]    }  }}

Restart Claude Desktop after saving.

Claude Code

bash
claude mcp add mind-elixir -- npx -y @mind-elixir/mcp@latest

Cursor

Create or edit ~/.cursor/mcp.json (or use Settings → Features → MCP → + Add New MCP Server):

json
{  "mcpServers": {    "mind-elixir": {      "command": "npx",      "args": ["-y", "@mind-elixir/mcp@latest"]    }  }}

VS Code (GitHub Copilot agent mode)

Add to .vscode/mcp.json in your workspace, or to your user-level mcp.json:

json
{  "servers": {    "mind-elixir": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@mind-elixir/mcp@latest"]    }  }}

Cline, Roo Code, Windsurf

These extensions share the mcpServers shape used by Cursor:

json
{  "mcpServers": {    "mind-elixir": {      "command": "npx",      "args": ["-y", "@mind-elixir/mcp@latest"]    }  }}

Non-default port

If Mind Elixir Desktop is listening somewhere other than 6595, pass the port through:

json
{  "mcpServers": {    "mind-elixir": {      "command": "npx",      "args": ["-y", "@mind-elixir/mcp@latest", "--port", "7000"]    }  }}

Connecting without the bridge (HTTP)

If your client can talk Streamable HTTP directly, skip this package entirely and point it at the app:

json
{  "mcpServers": {    "mind-elixir": {      "type": "http",      "url": "http://127.0.0.1:6595/mcp"    }  }}

The app exposes:

EndpointMethodPurpose
/mcpPOST / GETMCP Streamable HTTP endpoint (the one you want).
/pingGETLiveness probe; returns pong.

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:.

ToolPurposeReturns
new_mindmapCreate a blank map and switch the app to the editorOK
get_all_nodesRead the whole current mapNode tree JSON
generate_mindmapReplace the current map from structured dataOK
edit_topicRename a nodeOK
add_childAdd a child nodeDone. New Node's ID is <id>.
add_node_summarySummarise a range of siblingsOK
add_arrowConnect two nodes with a labelled arrowOK

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:

json
{  "topic": "Root Topic",  "id": "1",  "children": [    { "topic": "Child Topic", "id": "b3f1c0e2-…", "children": [] }  ]}

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.

ParameterTypeDescription
mindmap_datastringA JSON string with a nodeData root object.
json
{  "nodeData": {    "topic": "Root Topic",    "id": "1",    "children": [      { "topic": "Child Topic 1", "id": "1-1", "children": [] },      { "topic": "Child Topic 2", "id": "1-2" }    ]  }}

Requirements:

  • Every node needs topic (string) and id (string).
  • children is 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.

ParameterTypeDescription
node_idstringID of the node to rename, e.g. 1, 1-1, or a UUID.
topicstringThe new topic text.

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.

ParameterTypeDescription
parent_idstringID of the parent node.
topicstringTopic text for the new child.

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.

ParameterTypeDescription
textstringThe summary text.
parentstringID of the parent whose children are being summarised.
startintegerZero-based index of the first child to include.
endintegerZero-based index of the last child to include (inclusive).

Example — summarise the first three children of node 1:

json
{ "text": "These three all concern onboarding", "parent": "1", "start": 0, "end": 2 }

add_arrow

Draws a labelled connection between two nodes, for relationships the tree cannot express.

ParameterTypeDescription
labelstringText shown on or near the arrow, e.g. leads to, depends on.
fromstringID of the source node.
tostringID of the target node.
bidirectionalbooleantrue for ↔, false for →.

Recommended agent workflow

  1. Orient first. Call get_all_nodes to learn the real IDs and structure before touching anything. Never assume an ID.
  2. Decide between build and patch. For a brand-new map use generate_mindmap with hierarchical IDs. For incremental work on an existing map use add_child and edit_topic.
  3. Capture generated IDs. add_child returns a UUID — record it if the node will be edited again.
  4. 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_nodes before a write.
  5. Keep calls sequential. Mutations are applied in order, and there is no undo exposed over MCP.

CLI reference

text
USAGE:  npx -y @mind-elixir/mcp [options]
OPTIONS:  -u, --url <url>            Target Mind Elixir MCP URL (default: http://127.0.0.1:6595/mcp)  -p, --port <port>          Change target port (default: 6595)  -t, --transport <sse|http> Force transport mode ('sse' or 'http', default: auto)  -v, --version              Show version  -h, --help                 Show this help message
ENVIRONMENT VARIABLES:  MIND_ELIXIR_MCP_URL        Target URL to connect to

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

text
+--------------------------+| Claude Desktop / Cursor  |+------------+-------------+             | stdio (stdin / stdout), JSON-RPC             v+------------+-------------+|    @mind-elixir/mcp      |   bridge process+------------+-------------+             | Streamable HTTP -> http://127.0.0.1:6595/mcp             v+------------+-------------+|  Mind Elixir Desktop     |   Tauri app, owns the tools+--------------------------+
  1. The bridge translates stdio JSON-RPC messages into HTTP requests and streams responses back verbatim.
  2. 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.
  3. Protocol version is negotiated. The bridge starts at 2024-11-05 and adopts whatever version the initialize handshake settles on, forwarding it to the app.
  4. Failures are explicit. If the app never becomes reachable, every buffered request receives a JSON-RPC error (-32000) reading Mind Elixir Desktop is not running. Please open Mind Elixir Desktop and try again. (<url>), stderr gets a human-readable explanation, and the process exits with code 1. Errors raised during an operation are returned to the caller as their original message rather than being swallowed.

Troubleshooting

SymptomCause and fix
Mind Elixir Desktop is not runningLaunch the desktop app, then reconnect the MCP server in your client.
Tool call returns Timeout waiting for mindmap operation to completeThe app did not respond within 15 s — usually a modal dialog or a busy window. Bring the app to the front and retry.
Connection refused on 6595The port is taken by another process, or the app is on a different port. Restart the app, or pass --port <port> / set MIND_ELIXIR_MCP_URL.
The client lists no toolsConfirm the bridge starts by running npx -y @mind-elixir/mcp@latest in a terminal, then restart the client so it re-reads its MCP config.
A blank map appeared unexpectedlyThe app was not on an editor page when a tool ran, so it created one. Read the map with get_all_nodes before writing.
Error: Node not found / Error: Parent node not foundThe ID is stale or comes from a different map. Re-read with get_all_nodes.
Nothing appears in the client's logAll bridge diagnostics go to stderr; stdout carries protocol traffic only.

Security and privacy

  • The app's MCP server binds 127.0.0.1 only — 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 port 6595 like 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).

bash
pnpm installpnpm build     # tsup -> dist/index.jspnpm dev       # tsup --watch

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
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.5最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分