Knolo

io.github.HiveForensics-AI由 GitHub 帳號 HiveForensics-AI 發布v0.1.0更新於 Oct 25, 2026

Verified, local-first retrieval over pinned Knolo Knowledge Images.

已驗證STDIO僅桌面檔案與儲存知識與記憶

概覽

AI 產生的概覽

一個唯讀的本機 MCP 伺服器,讓助理在已固定的 Knolo 知識映像中搜尋、取得並驗證內容。

可以做什麼
在已固定的 Knolo 知識映像中搜尋並回傳符合的結果,每次搜尋在回傳結果前寫入查詢回執(knolo_search)。從已掛載的映像取得指定內容(knolo_get)。依固定值、狀態根與政策驗證映像(knolo_verify)。查看伺服器與掛載狀態(knolo_status)。
適用情境
適用於已在本機安裝並固定 Knolo V5 知識映像、希望助理在既定政策下查詢並保留每次搜尋稽核紀錄的情境。它面向本機檢索,而非一般網頁或文件搜尋。
執行需求
透過 npx 以本機 stdio 程序執行,需要 Node 20 或更新版本以及 @knolo/core ^6.0.0。需要設定 JSON 的絕對路徑,透過 --config 參數或 KNOLO_MCP_CONFIG 環境變數傳入。設定須包含 agentId、auditDir,以及帶絕對路徑、sha256、stateRoot、policyPath、agents 與 principal 的掛載項目。啟動前須安裝並固定映像;不符會以非零狀態結束。
安裝前請注意
伺服器為唯讀,但每次搜尋都會寫入回執到 auditDir;若該目錄無法寫入,搜尋會以 AUDIT_UNAVAILABLE 失敗且不回傳結果。呼叫方身分取自設定中的 agentId,且必須列在掛載項目的 agents 陣列中;用戶端回報的名稱僅存為 sessionId,不用於授權。變更固定值需重新啟動程序,不支援熱重載。README 說明 0.1.0 版本尚未發布到 npm 或 MCP Registry。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@knolo/mcp

@knolo/mcp is a read-only MCP server for pinned Knolo V5 Knowledge Images. It exposes the same four tools as @knolo/openclaw: knolo_search, knolo_get, knolo_verify, and knolo_status. Pins, policy checks, and query receipts come from @knolo/tools. When at least one mount includes a kar block, the server also exposes knolo_kar_evaluate, knolo_kar_verify, and knolo_cortex_verify.

The server speaks stdio only. It does not download images, open a runtime network connection, write or compile knowledge, or expose MCP resources or prompts. Install and pin each image before starting it. A hash, state-root, or policy-root mismatch exits non-zero before the MCP connection starts.

Caller identity is agentId in the config file, default mcp. That id must be listed in the mount's agents array. Tool arguments cannot set it. The MCP client's clientInfo.name is stored on the receipt as sessionId and is not used for authorization. One principal per mount is what policy evaluation sees.

Every search writes an openclaw-knolo-query-v1 receipt before it returns hits. An unwritable auditDir returns AUDIT_UNAVAILABLE and no hits. Restart the process to change pins. There is no hot reload.

@knolo/[email protected] is the in-tree server. This change does not publish it to npm or the MCP Registry. The registry name in server.json is io.github.HiveForensics-AI/knolo. Published @knolo/[email protected] remains the four-tool server.

Config

Paths are absolute. sha256 is 64 lowercase hex characters. stateRoot is sha256- plus 64 lowercase hex characters.

json
{  "agentId": "mcp",  "auditDir": "/var/lib/knolo/receipts",  "mounts": [    {      "id": "handbook",      "path": "/opt/knolo/handbook.knolo",      "sha256": "<64 hex>",      "stateRoot": "sha256-<64 hex>",      "policyPath": "/opt/knolo/handbook.policy.json",      "agents": ["mcp"],      "principal": "<policy principal>",      "kar": {        "graphPath": "/opt/knolo/handbook.kar.json",        "graphSha256": "<64 hex>"      }    }  ]}

kar is optional. graphSha256 is the raw file SHA-256, 64 lowercase hex characters, without a sha256- prefix. The server hashes that file and binds it to the mount before it accepts a connection. A hash or binding mismatch exits before MCP starts. A call for a mount that has no kar block fails closed when the three tools are enabled by another mount.

knolo_kar_evaluate takes mountId, proposition, and an inline plan object of at most 65536 UTF-8 bytes. SATISFIED means evidence requirements were met. It does not mean a claim is proven. UNSATISFIED_EVIDENCE_REQUIREMENTS is a completed evaluation. The plan is parsed by the KAR plan parser. Domain Pack template names are not accepted.

knolo_kar_verify takes the same mount, proposition, and plan, plus exactly one of result or dossier. knolo_cortex_verify takes mountId, an answer trace, and an optional question. It uses the pinned graph when the trace references KAR. These tools do not call a model and do not run askCortex.

Query receipts stay openclaw-knolo-query-v1. KAR and Cortex tools write knolo-mcp-evidence-receipt-v1 in auditDir before they return a result. An unwritable audit directory returns AUDIT_UNAVAILABLE and no result.

Start it with knolo-mcp --config /absolute/knolo-mcp.json or KNOLO_MCP_CONFIG. Logs go to stderr. Stdout is JSON-RPC only.

Clients

Claude Desktop, Claude Code, and Cursor:

json
{  "mcpServers": {    "knolo": {      "command": "npx",      "args": ["-y", "@knolo/mcp", "--config", "/absolute/knolo-mcp.json"]    }  }}

Claude Code CLI:

sh
claude mcp add knolo -- npx -y @knolo/mcp --config /absolute/knolo-mcp.json

VS Code (.vscode/mcp.json):

json
{  "servers": {    "knolo": {      "type": "stdio",      "command": "npx",      "args": [        "-y",        "@knolo/mcp",        "--config",        "${workspaceFolder}/knolo-mcp.json"      ]    }  }}

The package requires Node 20 or newer, @knolo/core ^6.2.0, and @knolo/tools ^0.2.0. Coverage, composition, and authoring stay outside this server. Verification checks integrity. It does not decide that a claim or an answer is true.

來源:packages/mcp/README.md,提交 1149f56

工具

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

版本歷史

1
  1. v0.1.0最新Oct 13, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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