@putervision/behavior-mcp includes a comprehensive command-line interface for local workspace initialization, health checks, and database management.
Initializes behavior-mcp in the current project directory.
- Creates local
.behavior-mcp/<project-slug>/database directory. - Updates
.gitignoreto prevent committing SQLite WAL files. - Seeds built-in core and game behavior trees.
- Scaffolds agent instructions (
.agents/AGENTS.md,CLAUDE.md,.windsurfrules). - Scaffolds MCP configurations (
.cursor/mcp.json,.vscode/mcp.json).
behavior-mcp initRe-initializes behavior-mcp across all projects registered in the global workspace registry (~/.behavior-mcp/projects.json).
behavior-mcp init-globalRuns comprehensive environment diagnostic checks on the local project:
- Node.js runtime compatibility.
- SQLite WAL database health.
- Cryptographic SHA-256 Merkle event ledger integrity.
- Behavior definition hashes.
behavior-mcp doctorRuns doctor health diagnostics across all registered projects in the global registry.
behavior-mcp doctor-globalOutputs active behavior tree executions, blackboard state variables, and registered reactive triggers in a formatted terminal table.
behavior-mcp inspectStarts the stdio Model Context Protocol (MCP) server for integration with Cursor, Claude Code, VS Code, Gemini, or custom agent frameworks.
behavior-mcp run