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 分