ClaudeCodeMod

All shelves / MCP servers

Behavior Runtime MCP

io.github.putervision/behavior-mcp · 12 stars · TypeScript · MIT

MCP server In-browser ~60Hz behavior tree execution engine with reactive triggers and blackboard projection.

Install

The repo has no one-line install. Follow its README.

Published as

  • npm@putervision/behavior-mcpstdio

From the server's entry in the official MCP Registry.

Open the repo

Files

README.md

@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

# 1. Initialize runtime & seed default behavior trees in your workspace
npx @putervision/behavior-mcp init

# 2. Run system diagnostic and health checks
npx @putervision/behavior-mcp doctor

# 3. Inspect active executions, blackboard state, and reactive triggers
npx @putervision/behavior-mcp inspect

🛠️ 10 Core MCP Tools

Tool Actions Purpose
load_behavior load, unload, swap Inject, initialize, or hot-swap a behavior tree in browser runtime
set_parameters set, get, reset Dynamically update or query runtime execution parameters
get_status current, history, tree_state Query active status, node traversal path, tick count, duration
abort_behavior abort, pause, resume Halt, pause, or resume behavior execution safely
register_trigger register, list Configure reactive interrupt triggers with priority preemption
replay_recording capture, list Capture or inspect deterministic browser action sequences
get_metrics current, history Retrieve runtime telemetry, tick durations, and stuck events
manage_behaviors register, get, list CRUD for immutable behavior tree JSON with SHA-256 tree hashes
manage_blackboard get, set Read, write, or query shared behavior tree blackboard variables
manage_runtime_db stats, audit, snapshot, restore SQLite diagnostics, SHA-256 Merkle audit, and checkpoint rollback

🛡️ 5-Layer Safety Guardrail Stack & System 1 Invariants

  1. Fail-Closed Evaluator: Unrecognized node definitions throw fatal exceptions immediately.
  2. 60Hz Tick Invariant & Synchronous semantic_check: The loop never blocks on external network calls; semantic condition checks resolve synchronously against blackboard caches.
  3. HMAC Intention Gate Verification: Intentions dispatched to execution nodes require unexpired, cryptographically signed dispatch tokens (PENTAD_HMAC_SECRET).
  4. Action Rate Limiter & Leaf Policy Gate: Strict 60 actions/sec maximum throughput ceiling and policy guardrails blocking irreversible mutations.
  5. Emergency Kill Switch & Watchdog Heartbeat: Atomic safety latch and watchdog timers halting execution if tick stalls beyond 5,000ms.

📚 Deep Documentation Guides


🔗 Client Configuration & Environment

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "mcpServers": {
    "behavior-mcp": {
      "command": "behavior-mcp",
      "args": ["run"],
      "env": {
        "PENTAD_HMAC_SECRET": "your-secure-shared-secret-here"
      }
    }
  }
}

🧪 Testing

# Run full unit and integration test suite across 38 test files (266 tests)
npm test

📄 License

MIT © PuterVision

Facts

Kind
MCP server
Repo
putervision/behavior-mcp
Group
Uncategorized
Stars
12
License
MIT
Language
TypeScript
Last push
2026-10-03
Forks
2
MCP Registry
io.github.putervision/behavior-mcp
Homepage
behaviormcp.com
Topics
agent-behavior, agent-skills, ai-agents, behavior-tree, mcp, mcp-server, mcp-tools, model-context-protocol, behavior-mcp, putervision, agent-runtime, browser-automation, game-ai, safety-guardrails, reactive-triggers

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k