Behavior Runtime MCP
io.github.putervision由 GitHub 帳號 putervision 發布v0.4.1更新於 Oct 24, 2026
In-browser ~60Hz behavior tree execution engine with reactive triggers and blackboard projection.
概覽
一個本機 MCP 伺服器,在瀏覽器執行環境中以約 60Hz 執行確定性行為樹,讓助理載入、控制、檢查並稽核這些行為樹。
- 可以做什麼
- 在瀏覽器執行環境中載入、熱切換和卸載行為樹,並註冊、取得或列出帶 SHA-256 雜湊的不可變行為樹 JSON。設定、查詢和重設執行階段參數,讀取目前狀態、歷史、樹狀態、tick 次數和時長。中止、暫停或恢復執行,並註冊或列出帶優先級搶佔的反應式中斷觸發器。擷取和列出確定性的瀏覽器動作錄製,讀取目前或歷史遙測、tick 時長和卡住事件。讀寫共用黑板變數,並執行 SQLite 診斷、SHA-256 Merkle 稽核、快照和檢查點回復。
- 適用情境
- 適合需要助理驅動或監督瀏覽器中高頻、確定性行為樹邏輯的情境,例如類遊戲的代理行為、反應式觸發器處理,或回放和稽核已錄製的動作序列。
- 執行需求
- 以本機程序透過 stdio 執行,從 npm 套件安裝並以 run 指令啟動。README 的用戶端設定會設定 PENTAD_HMAC_SECRET 環境變數,用於簽章的調度權杖。README 也說明了用於初始化、診斷和檢查的 CLI 指令。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Behavior Runtime MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@putervision/behavior-mcp
[npm version] [version] [CI] [Node] [License: MIT]
High-Frequency (~60Hz) In-Browser Behavior Tree Tactical Runtime Engine for AI Agents
@putervision/behavior-mcp is a Model Context Protocol (MCP) server that executes deterministic behavior trees directly in browser runtimes at ~60Hz with reactive trigger preemption, frame recordings, SHA-256 Merkle audit chains, and a 5-layer safety guardrail stack.
🌐 Official Documentation: putervision.com • Interactive Web Docs
⚡ 15-Second Quick Start
🛠️ 10 Core MCP Tools
🛡️ 5-Layer Safety Guardrail Stack & System 1 Invariants
- Fail-Closed Evaluator: Unrecognized node definitions throw fatal exceptions immediately.
- 60Hz Tick Invariant & Synchronous
semantic_check: The loop never blocks on external network calls; semantic condition checks resolve synchronously against blackboard caches. - HMAC Intention Gate Verification: Intentions dispatched to execution nodes require unexpired, cryptographically signed dispatch tokens (
PENTAD_HMAC_SECRET). - Action Rate Limiter & Leaf Policy Gate: Strict 60 actions/sec maximum throughput ceiling and policy guardrails blocking irreversible mutations.
- Emergency Kill Switch & Watchdog Heartbeat: Atomic safety latch and watchdog timers halting execution if tick stalls beyond 5,000ms.
📚 Deep Documentation Guides
- 📖 Formal API Reference: Full parameter tables, type definitions, and tool schemas.
- 💡 Core Architecture & Concepts: Behavior tree execution model, ~60Hz loop, and trigger lifecycle.
- 🖥️ CLI Usage Guide: Complete CLI command reference (
init,doctor,inspect,run). - 💾 Database Schema: SQLite table structures, indexes, and Merkle audit ledger.
- ⚙️ Configuration Reference:
.behavior-mcp.jsonparameters and environment variables.
🔗 Client Configuration & Environment
Add to .cursor/mcp.json or .vscode/mcp.json:
🧪 Testing
📄 License
MIT © PuterVision
來源:README.md,提交 b86e6d7
工具
0版本歷史
5- v0.4.1最新Oct 3, 2026
- v0.4.0Oct 2, 2026
- v0.3.1Sep 29, 2026
- v0.3.0Sep 26, 2026
- v0.2.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分