M1nd

io.github.maxkle1nz由 GitHub 帳號 maxkle1nz 發布v1.5.0更新於 Oct 24, 2026

The shell around your coding agent: a neuro-symbolic code graph with calibrated trust, via MCP.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

為編碼助理提供本機程式碼圖譜,用來瀏覽儲存庫、評估變更影響,並跨工作階段回想有證據連結的發現。

可以做什麼
為儲存庫建立本機神經符號圖譜,並提供 north 進行整體定位、seek 尋找候選程式碼、impact 與 why 在編輯前檢視相鄰節點、surgical_context 取得有界的原始碼片段。memorize 以儲存庫相對路徑與來源資訊保存結論,boot_memory 與 trail_resume 可在後續工作階段回想這些結論。回應會附帶信任訊號、reverify 或 abstain 判定,以及明確的缺口。本機服務端 owner 可與接入的用戶端共用同一張圖譜,重疊警告僅供參考。
適用情境
適合在陌生儲存庫中工作、規劃跨檔案變更,或需要讓多次助理工作階段延續先前發現時使用。若只是很小的修改或精確字串查找,直接讀檔或用 ripgrep 可能就足夠。
執行需求
以本機 stdio 程序在使用者機器上執行,僅限桌面端。需要 Node.js 18+、可讀取的儲存庫,以及另行安裝的已簽署原生二進位檔。環境變數 M1ND_WORKSPACE_ROOT 用於把圖譜綁定到工作區根目錄。圖譜查詢不需要 LLM API 金鑰;安裝、更新、可選的模型下載以及聯網的文件提供者可能使用網路。
安裝前請注意
本機不等於已驗證身分:服務端 owner 拒絕非回送位址綁定,但僅靠回送位址並不能驗證其他本機程序。擷取結果是近似的,並非編譯器級語意模型,因此圖譜中的連結只是檢查程式碼的理由,不能證明變更安全。寫入操作另有預覽/提交、證明許可與權限邊界。安裝、更新以及聯網的文件提供者可能把文件傳送到已設定的端點。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 M1nd,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[m1nd]

Give your coding agent a map it can check

m1nd is a local code graph and evidence-linked memory for MCP coding agents. Find connected code, inspect the impact of a change, and carry verified findings into the next session. Answers include trust signals and explicit gaps so your agent knows what still needs checking.

Built for developers working across unfamiliar repositories, multi-file changes, or repeated agent sessions. Use your existing MCP host; the runtime is Rust and the license is MIT.

[Published npm version] [CI] [MIT license]

Get started · Workflows · Limits · Documentation

Why add it to your agent?

  • Start with the repo's structure. north combines task context, bounded source excerpts, binding trust, prior memory, and a suggested next move. seek finds candidates; impact helps inspect their neighbors before editing.
  • Keep findings attached to code. memorize stores claims with evidence paths and provenance. The next session can recall them and check whether they still apply.
  • Share context across agents. A served local owner can share one graph with attached clients. Presence and overlap warnings help agents coordinate; they are advisory, not locks.
  • See uncertainty. reverify, abstain, and insufficient_evidence are useful results. A graph connection is a reason to inspect code, not proof that a change is safe.

The graph and memory live on your machine. m1nd does not require an LLM API key for graph queries. Installation, updates, optional model downloads, and network-backed document providers can use the network or transmit documents to a configured endpoint; your MCP host has its own data policy.

Get started

Version matters: GitHub/native 1.6.5, crates.io packages, and npm 1.6.5 are published from immutable commit 363bc97f2336c73e90802916804dccd2109c5746; npm latest is 1.6.5 as of 2026-10-12. The learning-event separation merged after that release in PR580 is Unreleased, even though source package versions still say 1.6.5.

Published 1.6.5: get a first result

You need Node.js 18+ and a repository you can read. Install the signed native 1.6.5 artifact, then run this POSIX-shell recipe from your repository:

bash
export M1ND_BINARY="$HOME/.local/share/m1nd/versions/1.6.5/m1nd-mcp""$M1ND_BINARY" --version# Require native 1.6.5 at 363bc97f2336c73e90802916804dccd2109c5746.(  unset M1ND_RUNTIME_DIR M1ND_MCP_ARGS  npx -y @maxkle1nz/[email protected] agent first-minute --repo . \    --binary "$M1ND_BINARY" --query "where is configuration loaded?" --json)

first-minute discovers a covering served owner first. Otherwise, the matching wrapper/native runtime prepares only the exact launcher-granted repository in an external private cache. Source files remain inputs. Only when reusing the automatic isolated cache does the CLI refresh the declared root before retrieval. Attached-owner freshness follows the owner's own semantics; inspect that owner's version, repository binding, and freshness rather than inferring them from the selected client binary. Check runtime.boot, returned source locations, and gaps. This is not authority to create a shared brain, move a binding, or call generic ingest.

To connect an MCP host, follow the 1.6.5 quick start. Direct stdio needs an explicit workspace grant and an existing external private runtime; a shared owner has separate preparation and authority requirements. See agent autonomy.

Historical pinned 1.6.3: install, prepare, connect

You need Node.js 18+, an MCP host, and a repository. First install the signed native 1.6.3 artifact; that guide uses cosign and an exact release URL. The prebuilt 1.6.3 release covers Linux x86_64 and macOS x86_64/ARM64. Run this POSIX-shell recipe from the repository you want to use; it deliberately pins the wrapper:

bash
# After the signed installation guide, select the exact native binary.export M1ND_BINARY="$HOME/.local/share/m1nd/versions/1.6.3/m1nd-mcp""$M1ND_BINARY" --version
# Confirm this binary reports native 1.6.3 before continuing.# Bind the human ceremony and host to the same explicit repository runtime.export M1ND_RUNTIME_DIR="$(pwd -P)/.m1nd"# Run this yourself in a terminal, once for an empty runtime.npx -y @maxkle1nz/[email protected] init --birth . --binary "$M1ND_BINARY"
# Preview your host configuration before applying it.npx -y @maxkle1nz/[email protected] hosts plan --host claude --project . --binary "$M1ND_BINARY"npx -y @maxkle1nz/[email protected] hosts apply --host claude --project . --binary "$M1ND_BINARY" --yes

Replace claude with your host, such as codex or cursor. Follow the printed instructions: some host-managed configuration and hooks are printed for you to install, not written automatically. Restart or reconnect the host after configuration changes. See the host integration matrix for host-specific behavior.

Before reconnecting, add M1ND_RUNTIME_DIR to the generated MCP server environment with the same absolute path printed by echo "$M1ND_RUNTIME_DIR". Keep the generated M1ND_WORKSPACE_ROOT. hosts apply does not add the runtime selector for you; without it, a host launched elsewhere can open a different graph.

This recipe targets native 1.6.3. Pinning the npm wrapper alone does not pin update apply; that command follows the registry channel and is intentionally excluded here. If the selected binary reports a different version, check that release's setup contract before continuing. The birth command is a human terminal step, not an agent tool call. Its receipt must report brain: "owner_bound_graph", the intended born_root, the exact runtime in store_dir, and node_count > 0. If it refuses, follow its diagnostic rather than replacing another runtime or forcing ingest. For source builds, use the separate contributor path below.

Your first useful result

Ask your connected agent:

Use m1nd to orient on this repository. Find where configuration is loaded, show the relevant source locations, and tell me what you still need to verify. Do not edit files.

The agent should call north first, then use seek and source inspection as needed. Success means the response covers the correct repository and points to real code you can open. A reverify verdict is expected under the current calibration containment: inspect the evidence. A missing graph or wrong-workspace binding needs recovery; an empty result may need a different query.

Quick-start troubleshooting covers missing binaries, host configuration, and binding errors. Your first query shows the actual MCP calls.

Unreleased main: learning-event separation

For contributors testing the unreleased learning fix, select a main revision containing PR580 explicitly and use its matching wrapper and native runtime. A version string alone does not establish that the fix is present. --binary selects the executable used by the CLI, but default discovery can still attach it to an older covering owner. Use --no-attach and clear ambient runtime/attach overrides to run this exact revision in an automatic isolated cache:

bash
git clone https://github.com/maxkle1nz/m1nd.gitcd m1ndgit checkout --detach 74d0348c9a5a1e0d5d5e5b5a784ee4f3771d0808cargo build --release -p m1nd-mcp./target/release/m1nd-mcp --version(  unset M1ND_RUNTIME_DIR M1ND_MCP_ARGS M1ND_ATTACH_URL  node npm/bin/m1nd.js agent first-minute --repo /absolute/path/to/your/repo \    --binary ./target/release/m1nd-mcp --no-attach --query "map this repo" --json)

PR580's learning semantics are available on main but are absent from the sealed 1.6.5 artifacts. Automatic isolated preparation already shipped in 1.6.5; it is not a preview feature of PR580. See the launcher contract. The contributor development kit provides checkout-private state for development.

What to try next

TaskStart withCheck before acting
Understand unfamiliar codenorth → seek → surgical_contextOpen the returned source; check the workspace binding and trust envelope.
Plan a cross-file changeimpact and why on a returned nodeConfirm callers and imports with source/compiler tooling; unresolved edges are gaps.
Resume an investigationnorth, boot_memory, or trail_resumeReview evidence, author, age, and any stale flags before reusing a claim.
Preserve a verified findingmemorize with repo-relative evidence pathsStore what you actually verified, not an agent's untested conclusion.
Coordinate parallel agentsOne served owner and attached clientsTreat overlap notices as a request to coordinate; they do not prevent edits.

See worked examples, use cases, and the tool reference. The default tool menu is deliberately small. help discovers the full registry; M1ND_TOOL_TIER=full expands the advertised menu. Published 1.6.5 also offers M1ND_TOOL_TIER=investigate: the core plus five session-local snapshot tools. See the beginner and advanced recipe. Graph-linked search in 1.6.5 preserves canonical node IDs for single-file ingest roots; ambiguous file mappings are omitted. A listed or callable tool may still require authority the current session does not have.

What it does and does not prove

  • Best fit: structural navigation, change preparation, and continuity across repeated work. For a tiny edit or exact string lookup, a file read or rg may be enough.
  • Extraction is approximate. Language support varies, macro-generated and dynamic references can be missed, and external imports may remain unresolved. A graph is not a compiler's semantic model.
  • Trust is conditional. Published 1.6.5 and current main treat all v1 calibration rows as unqualified evidence: prediction abstains and the seek envelope stays at reverify or unprovable, while scores and rankings remain available. Running calibration does not enable act. Use source, compiler, tests, and runtime checks for your change. The clock repair does not establish statistical quality.
  • Unreleased learning feedback is relevance-only. On main after PR580, internal learn(correct|wrong) adjusts graph relevance weights; it records no defect, false alarm, observed co-change, or automatic antibody. Ambiguous partial feedback is refused without mutation, and zero strength is a no-op. This change is absent from sealed 1.6.5. Public learning and calibration authority floors remain blocked. See the event boundary.
  • Writes have extra boundaries. Preview/commit tools, proof permits, and authority checks are separate from read-only retrieval. Graph/static verification is not a substitute for executed tests. See write reference.
  • Local does not mean authenticated. The served owner refuses non-loopback binds; loopback alone does not authenticate other local processes. See deployment and security.
  • Advanced capabilities are not setup prerequisites. Document adapters, structural heuristics, transplant, missions, and hardware-backed authority have their own limits. PRDs describe design intent and are not evidence that a release supports every path.

Shared context, one local owner

After a person has prepared the repository's runtime, use the exact store_dir from that receipt (shown below as /absolute/path/to/project/.m1nd) to start one owner and attach clients to it:

bash
export M1ND_BINARY="$HOME/.local/share/m1nd/versions/1.6.3/m1nd-mcp""$M1ND_BINARY" --serve --no-gui --port 1337 --runtime-dir /absolute/path/to/project/.m1nd# Run each client from the repository it should query:"$M1ND_BINARY" --attach auto --stdio

The owner holds the graph; attached clients do not load another copy or take its writer lease. Auto-discovery must find an owner that already covers the caller's repository. It does not authorize a new shared brain. The served owner can also render the web UI. Follow deployment before configuring multiple repositories or persistent startup.

Evidence you can inspect

Prefer a reproduction and its boundary to an unqualified speed or savings claim:

The demo below is a historical recording of m1nd-mcp 1.4.0, not the current installation flow or a performance promise:

[Historical session: north orients, seek returns a reverify verdict, and memorize stores an evidence-linked finding]

Language coverage

Dedicated extractors cover more than twenty languages: Python and TypeScript through Elixir, Haskell and Zig, routed by file extension in m1nd-ingest. The table records call-edge and cross-file import extraction exercised in a polyglot ingest. It is not a claim of complete or compiler-grade resolution; qualified Rust calls, macros, and dynamic references can lose precision.

Languagecallscross-file imports
Rust✅✅
Python✅✅
JavaScript / TypeScript✅✅
Go✅✅
Java✅✅
C / C++✅✅
Kotlin✅✅
PHP✅✅
Scala✅✅
Ruby⏳✅
C#✅namespaces don't map 1:1 to files
Swift✅not yet

Unresolvable imports (external packages, stdlib, system headers) are left unresolved rather than guessed. Everything else falls back to a generic extractor with contains edges only.

Architecture and deeper documentation

The Cargo workspace has six crates: m1nd-core (graph engine), m1nd-ingest (extraction), m1nd-mcp (MCP owner and runtime), m1nd-control, m1nd-runnerd (execution lane), and m1nd-openclaw (bridge). The web UI and npm wrapper live outside the Rust workspace.

Translations

Português · Español · Italiano · Français · Deutsch · 中文 · 日本語

Translations have not been refreshed with this English revision and may contain outdated setup or capability claims. Use this English README for current instructions.

License

MIT. Your graph is derived from your code; memory files remain on disk. See LICENSE.

來源:README.md,提交 a300897

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.5.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分