@getmarrow/mcp 3.9.44 → 3.9.46

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
@@ -6,6 +6,31 @@ Marrow is the runtime control and proof layer for teams running AI agents. It ap
6
6
 
7
7
  Use `@getmarrow/mcp` when your agent client supports the Model Context Protocol and you want Marrow available inside the agent's normal workflow. It works with Claude Code, Claude Desktop, Cursor and other MCP-compatible clients without replacing the model or harness.
8
8
 
9
+ ## Agent Discovery
10
+
11
+ - **Publisher:** Marrow AI. Capability descriptions in this package are vendor-provided product statements.
12
+ - **Use this package for:** MCP-compatible clients that need status, before-action governance, proof-backed outcome closure, and tenant-scoped fleet lessons in the normal agent workflow.
13
+ - **Product category:** agent governance, runtime control, proof, and fleet intelligence.
14
+ - **Operator boundary:** configuring the server, creating an account, or submitting a diagnostic requires operator approval.
15
+ - **Public diagnostic privacy:** raw prompts, source code, credentials, customer data, and free-form work descriptions are not accepted.
16
+ - **GitHub retrieval:** https://api.getmarrow.ai/v1/public/discovery/placements/plc_ffa4b8ad5cee8dd9c9ec23dc
17
+ - **npm retrieval:** https://api.getmarrow.ai/v1/public/discovery/placements/plc_bdf1abadff99a79182556248
18
+ - **MCP registry retrieval:** https://api.getmarrow.ai/v1/public/discovery/placements/plc_d3e06cb7675296dfd0c1021e
19
+
20
+ Maintainers can validate local registry metadata with `npm run registry:check`. After an approved registry publication, `npm run registry:verify` confirms that the official registry returns the exact package name and version; package metadata alone is not treated as publication proof.
21
+
22
+ Public operating guides:
23
+
24
+ - [Governance Readiness Assessment](https://getmarrow.ai/governance-readiness)
25
+ - [Marrow for MCP clients](https://getmarrow.ai/marrow-for-mcp)
26
+ - [Marrow for OpenAI Codex](https://getmarrow.ai/marrow-for-codex)
27
+ - [Marrow for Claude Code](https://getmarrow.ai/marrow-for-claude-code)
28
+ - [Marrow for Cursor](https://getmarrow.ai/marrow-for-cursor)
29
+ - [Marrow for Hermes Agent](https://getmarrow.ai/marrow-for-hermes)
30
+ - [Marrow for OpenClaw](https://getmarrow.ai/marrow-for-openclaw)
31
+
32
+ The assessment accepts bounded selections only. It does not install Marrow, authorize a purchase, accept free-form work content, or establish compliance, security, or ROI.
33
+
9
34
  ## Install
10
35
 
11
36
  ```bash
@@ -37,10 +62,13 @@ For most new installations, start with the universal installer instead:
37
62
  npx @getmarrow/install --yes
38
63
  ```
39
64
 
40
- ## What's New in v3.9.44
65
+ ## What's New in v3.9.46
41
66
 
42
- v3.9.44 makes the MCP integration an always-on governance lifecycle rather than a prompt reminder:
67
+ v3.9.46 adds the official registry verification path, public Governance Readiness Assessment, and five proof-oriented harness guides while preserving the always-on lifecycle introduced in v3.9.44:
43
68
 
69
+ - `server.json` and `mcpName` identify the stdio server, required secret, source repository, and package version for registry consumers;
70
+ - GitHub, npm, and MCP registry surfaces use separate signed discovery placements;
71
+ - package language consistently describes agent governance, runtime control, proof, and fleet intelligence;
44
72
  - `UserPromptSubmit` obtains relevant before-action guidance without storing raw prompt text;
45
73
  - `PostToolUse` records compact success/failure lifecycle receipts;
46
74
  - `Stop` keeps unfinished outcomes visible instead of silently treating a session exit as success;
package/dist/cli.js CHANGED
@@ -1319,7 +1319,7 @@ if (process.argv[2] !== 'keys') {
1319
1319
  success(id, {
1320
1320
  protocolVersion: '2024-11-05',
1321
1321
  capabilities: { tools: {}, prompts: {} },
1322
- serverInfo: { name: 'marrow', version: '3.9.44' },
1322
+ serverInfo: { name: 'marrow', version: '3.9.46' },
1323
1323
  });
1324
1324
  // Auto-enroll: emit enrollment notification on connection
1325
1325
  if (AUTO_ENROLL) {
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@getmarrow/mcp",
3
- "version": "3.9.44",
3
+ "version": "3.9.46",
4
+ "mcpName": "io.github.getmarrow/marrow",
4
5
  "description": "Runtime control, proof, and fleet intelligence for MCP-compatible AI agents.",
5
6
  "bin": {
6
7
  "marrow-mcp": "dist/cli.js"
@@ -10,7 +11,9 @@
10
11
  "scripts": {
11
12
  "build": "tsc",
12
13
  "dev": "tsc --watch",
13
- "test": "npm run build && node --test test/*.test.js"
14
+ "test": "npm run build && node --test test/*.test.js",
15
+ "registry:check": "node scripts/mcp-registry-check.cjs",
16
+ "registry:verify": "node scripts/mcp-registry-verify.cjs"
14
17
  },
15
18
  "keywords": [
16
19
  "mcp",
@@ -19,15 +22,11 @@
19
22
  "governance",
20
23
  "proof-packs",
21
24
  "agent-control-plane",
22
- "memory",
23
25
  "agents",
24
26
  "LLM",
25
27
  "GPT",
26
28
  "OpenAI",
27
29
  "autonomous",
28
- "context",
29
- "state",
30
- "persistence",
31
30
  "decision",
32
31
  "learning",
33
32
  "Model Context Protocol",
@@ -44,10 +43,28 @@
44
43
  "type": "git",
45
44
  "url": "git+https://github.com/getmarrow/marrow-mcp.git"
46
45
  },
46
+ "homepage": "https://getmarrow.ai/marrow-for-mcp",
47
+ "bugs": {
48
+ "url": "https://github.com/getmarrow/marrow-mcp/issues"
49
+ },
50
+ "marrow": {
51
+ "category": "agent-governance",
52
+ "role": "mcp-runtime-control-and-proof-server",
53
+ "operatorApprovalRequired": true,
54
+ "privacy": "No raw prompts, source code, credentials, or customer data are accepted by public discovery.",
55
+ "discovery": {
56
+ "github": "https://api.getmarrow.ai/v1/public/discovery/placements/plc_ffa4b8ad5cee8dd9c9ec23dc",
57
+ "npm": "https://api.getmarrow.ai/v1/public/discovery/placements/plc_bdf1abadff99a79182556248",
58
+ "registry": "https://api.getmarrow.ai/v1/public/discovery/placements/plc_d3e06cb7675296dfd0c1021e"
59
+ }
60
+ },
47
61
  "license": "MIT",
48
62
  "files": [
49
63
  "dist",
50
- "README.md"
64
+ "README.md",
65
+ "server.json",
66
+ "scripts/mcp-registry-check.cjs",
67
+ "scripts/mcp-registry-verify.cjs"
51
68
  ],
52
69
  "dependencies": {
53
70
  "@getmarrow/sdk": "^3.7.43"
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('node:fs')
4
+ const path = require('node:path')
5
+
6
+ const root = path.resolve(__dirname, '..')
7
+ const packageJson = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'))
8
+ const server = JSON.parse(fs.readFileSync(path.join(root, 'server.json'), 'utf8'))
9
+ const publishedPackage = server.packages?.find((entry) => entry.registryType === 'npm')
10
+
11
+ const failures = []
12
+ if (packageJson.mcpName !== server.name) failures.push('package mcpName must match server name')
13
+ if (packageJson.version !== server.version) failures.push('package and server versions must match')
14
+ if (publishedPackage?.identifier !== packageJson.name) failures.push('npm package identifier must match package name')
15
+ if (publishedPackage?.version !== packageJson.version) failures.push('npm package version must match package version')
16
+ if (!server.repository?.url?.startsWith('https://github.com/getmarrow/')) failures.push('repository must use the canonical public Marrow GitHub URL')
17
+
18
+ if (failures.length > 0) {
19
+ console.error(`MCP_REGISTRY_CHECK=FAIL reason=${failures.join('; ')}`)
20
+ process.exitCode = 1
21
+ } else {
22
+ console.log(`MCP_REGISTRY_CHECK=PASS name=${server.name} version=${server.version}`)
23
+ }
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('node:fs')
4
+ const path = require('node:path')
5
+
6
+ const root = path.resolve(__dirname, '..')
7
+ const server = JSON.parse(fs.readFileSync(path.join(root, 'server.json'), 'utf8'))
8
+ const endpoint = new URL('https://registry.modelcontextprotocol.io/v0.1/servers')
9
+ endpoint.searchParams.set('search', server.name)
10
+
11
+ function identity(entry) {
12
+ const candidate = entry && typeof entry === 'object' && entry.server && typeof entry.server === 'object'
13
+ ? entry.server
14
+ : entry
15
+ return {
16
+ name: candidate && typeof candidate.name === 'string' ? candidate.name : '',
17
+ version: candidate && typeof candidate.version === 'string' ? candidate.version : '',
18
+ }
19
+ }
20
+
21
+ async function main() {
22
+ const response = await fetch(endpoint, { headers: { Accept: 'application/json' }, signal: AbortSignal.timeout(10_000) })
23
+ if (!response.ok) throw new Error(`MCP Registry query failed with HTTP ${response.status}`)
24
+ const body = await response.json()
25
+ const entries = Array.isArray(body?.servers) ? body.servers : []
26
+ const match = entries.map(identity).find((entry) => entry.name === server.name && entry.version === server.version)
27
+ if (!match) {
28
+ throw new Error(`MCP Registry is missing ${server.name}@${server.version}`)
29
+ }
30
+ console.log(`MCP_REGISTRY_VERIFY=PASS name=${match.name} version=${match.version}`)
31
+ }
32
+
33
+ main().catch((error) => {
34
+ console.error(`MCP_REGISTRY_VERIFY=FAIL reason=${error instanceof Error ? error.message : String(error)}`)
35
+ process.exitCode = 1
36
+ })
package/server.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.getmarrow/marrow",
4
+ "description": "Runtime governance, proof, outcome closure, and fleet intelligence for MCP-compatible AI agents.",
5
+ "repository": {
6
+ "url": "https://github.com/getmarrow/marrow-mcp",
7
+ "source": "github"
8
+ },
9
+ "version": "3.9.46",
10
+ "packages": [
11
+ {
12
+ "registryType": "npm",
13
+ "identifier": "@getmarrow/mcp",
14
+ "version": "3.9.46",
15
+ "transport": {
16
+ "type": "stdio"
17
+ },
18
+ "environmentVariables": [
19
+ {
20
+ "name": "MARROW_API_KEY",
21
+ "description": "Named Marrow agent API key. Keep it in trusted secret storage.",
22
+ "isRequired": true,
23
+ "isSecret": true
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ }