@getmarrow/mcp 3.1.3 → 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 +31 -2
- package/dist/cli.js +1045 -1029
- package/dist/cli.js.map +1 -1
- package/dist/hook.d.ts +10 -0
- package/dist/hook.d.ts.map +1 -0
- package/dist/hook.js +282 -0
- package/dist/hook.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.
|
|
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
|
|
|
@@ -36,6 +44,24 @@ With `@getmarrow/mcp`, any MCP-compatible client can log intent before acting, i
|
|
|
36
44
|
|
|
37
45
|
Your agent should check for and use these fields — they represent collective intelligence and team-level context that wasn't available in prior versions.
|
|
38
46
|
|
|
47
|
+
### Since v3.1.0 (cumulative through v3.1.4)
|
|
48
|
+
|
|
49
|
+
**v3.1.1** — Published fixes
|
|
50
|
+
|
|
51
|
+
**v3.1.2** — Agent identity: new `MARROW_FLEET_AGENT_ID` env var adds X-Marrow-Agent-Id header to all requests so decisions tag your specific agent for fleet dashboards.
|
|
52
|
+
|
|
53
|
+
**v3.1.3** — Template marketplace tools: `marrow_list_templates` (filter by industry/category) and `marrow_install_template` (install workflow by slug). 24 pre-built templates across insurance, healthcare, ecommerce, legal, saas, fintech, media, enterprise.
|
|
54
|
+
|
|
55
|
+
**v3.1.4** — README / docs sync (this release).
|
|
56
|
+
|
|
57
|
+
Example usage in an agent:
|
|
58
|
+
```
|
|
59
|
+
marrow_list_templates({ industry: 'insurance' })
|
|
60
|
+
→ [claims-triage, fraud-review, underwriting-decision, complaint-escalation]
|
|
61
|
+
marrow_install_template({ slug: 'claims-triage' })
|
|
62
|
+
→ workflow installed in your fleet
|
|
63
|
+
```
|
|
64
|
+
|
|
39
65
|
---
|
|
40
66
|
|
|
41
67
|
## Claude Code Compatibility
|
|
@@ -50,7 +76,7 @@ Inject Marrow instructions directly into your project's `CLAUDE.md`:
|
|
|
50
76
|
npx @getmarrow/mcp setup
|
|
51
77
|
```
|
|
52
78
|
|
|
53
|
-
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.
|
|
54
80
|
|
|
55
81
|
## Auto-Enroll by Default
|
|
56
82
|
The `marrow-always-on` prompt is served to all MCP clients automatically. Set `MARROW_AUTO_ENROLL=false` to opt out.
|
|
@@ -288,7 +314,10 @@ claude mcp add marrow -e MARROW_API_KEY=mrw_your_api_key -- npx @getmarrow/mcp
|
|
|
288
314
|
| `MARROW_API_KEY` | Yes | Your API key from getmarrow.ai (or use `--key` flag) |
|
|
289
315
|
| `MARROW_BASE_URL` | No | Custom API URL (default: `https://api.getmarrow.ai`). Must use HTTPS. |
|
|
290
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 |
|
|
291
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. |
|
|
292
321
|
|
|
293
322
|
---
|
|
294
323
|
|