@getmarrow/mcp 3.1.4 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,7 +17,15 @@ With `@getmarrow/mcp`, any MCP-compatible client can log intent before acting, i
17
17
 
18
18
  ---
19
19
 
20
- ## What's New in v3.1.4
20
+ ## What's New in v3.2.0
21
+
22
+ ### Passive Mode (v3.2.0)
23
+
24
+ Running `npx @getmarrow/mcp setup` now also installs a PostToolUse hook into your `.claude/settings.json`. After setup, every tool call your agent makes (Bash commands, file edits, MCP calls) is auto-logged to Marrow in the background — no agent discipline required. Marrow gets the decision trail whether the agent remembered to call `marrow_think` or not.
25
+
26
+ Disable via: `MARROW_AUTO_HOOK=false`
27
+
28
+ For troubleshooting hook behavior, set `MARROW_HOOK_DEBUG=true` to re-enable one-line stderr diagnostics.
21
29
 
22
30
  **Operator visibility + auto-intelligence tools.**
23
31
 
@@ -68,7 +76,7 @@ Inject Marrow instructions directly into your project's `CLAUDE.md`:
68
76
  npx @getmarrow/mcp setup
69
77
  ```
70
78
 
71
- After setup, your agent uses Marrow automatically every session — no human prompting required.
79
+ After setup, your agent uses Marrow automatically every session, and Claude Code PostToolUse hooks auto-log tool calls in the background — no human prompting required.
72
80
 
73
81
  ## Auto-Enroll by Default
74
82
  The `marrow-always-on` prompt is served to all MCP clients automatically. Set `MARROW_AUTO_ENROLL=false` to opt out.
@@ -306,7 +314,10 @@ claude mcp add marrow -e MARROW_API_KEY=mrw_your_api_key -- npx @getmarrow/mcp
306
314
  | `MARROW_API_KEY` | Yes | Your API key from getmarrow.ai (or use `--key` flag) |
307
315
  | `MARROW_BASE_URL` | No | Custom API URL (default: `https://api.getmarrow.ai`). Must use HTTPS. |
308
316
  | `MARROW_SESSION_ID` | No | Session identifier for multi-agent setups |
317
+ | `MARROW_FLEET_AGENT_ID` | No | Agent identifier sent as `X-Marrow-Agent-Id` for fleet attribution |
309
318
  | `MARROW_AUTO_ENROLL` | No | Auto-enrollment prompt (default: `true`). Set to `false` to disable. |
319
+ | `MARROW_AUTO_HOOK` | No | PostToolUse auto-logging kill switch. Set to `false` to disable the hook without editing settings. |
320
+ | `MARROW_HOOK_DEBUG` | No | When set to `true`, the hook emits one-line stderr diagnostics for invalid JSON, missing API key, and runtime failures. |
310
321
 
311
322
  ---
312
323