@strixgov/mcp-proxy 0.2.3 → 0.2.5
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/CHANGELOG.md +34 -0
- package/README.md +75 -25
- package/examples/controlled-launcher/README.md +33 -0
- package/examples/controlled-launcher/acceptance.mjs +337 -0
- package/examples/controlled-launcher/agent-client.mjs +18 -0
- package/examples/controlled-launcher/approval-relay.mjs +19 -0
- package/examples/controlled-launcher/approver.mjs +27 -0
- package/examples/controlled-launcher/authorizer.mjs +73 -0
- package/examples/controlled-launcher/bridge-client.mjs +8 -0
- package/examples/controlled-launcher/destination.mjs +18 -0
- package/examples/controlled-launcher/executor.mjs +74 -0
- package/examples/controlled-launcher/kernel-authority/acceptance.mjs +627 -0
- package/examples/controlled-launcher/kernel-authority/broker.mjs +83 -0
- package/examples/controlled-launcher/kernel-authority/derive.mjs +12 -0
- package/examples/controlled-launcher/kernel-authority/executor.mjs +105 -0
- package/examples/controlled-launcher/kernel-authority/reconcile.mjs +43 -0
- package/examples/controlled-launcher/kernel-authority/shim.mjs +38 -0
- package/examples/controlled-launcher/kernel-authority/signing-provider.mjs +137 -0
- package/examples/controlled-launcher/kernel-authority/strix-approver.mjs +73 -0
- package/examples/controlled-launcher/lib.mjs +63 -0
- package/examples/controlled-launcher/make-config.mjs +16 -0
- package/examples/controlled-launcher/proxy-host.mjs +19 -0
- package/examples/controlled-launcher/reconcile.mjs +30 -0
- package/examples/controlled-launcher/shim.mjs +32 -0
- package/examples/github-reference/README.md +34 -0
- package/examples/github-reference/acceptance.mjs +675 -0
- package/examples/github-reference/claims-matrix.md +34 -0
- package/examples/github-reference/demo-script.md +17 -0
- package/examples/github-reference/package-lock.json +1330 -0
- package/examples/github-reference/package.json +23 -0
- package/examples/github-reference/reuse-inventory.md +24 -0
- package/examples/synthetic-server/proxy-config.json +16 -0
- package/examples/synthetic-server/quickstart.mjs +98 -0
- package/examples/synthetic-server/server.mjs +54 -0
- package/package.json +6 -5
- package/test/package-contract.test.mjs +12 -0
- package/test/synthetic-quickstart.test.mjs +44 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.5] - unreleased
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- `examples/synthetic-server/`: a dependency-free synthetic stdio MCP server, a config that classifies its
|
|
14
|
+
three tools, and `quickstart.mjs`, a safe walkthrough (read passes, write pauses, a person decides,
|
|
15
|
+
refusals never run, signed receipts, the verify command). Covered by `test/synthetic-quickstart.test.mjs`.
|
|
16
|
+
No change to `src/` or `bin/`.
|
|
17
|
+
- README "Compatibility, as observed" table: two rows Observed, the rest Not tested or Not supported.
|
|
18
|
+
|
|
19
|
+
### Changed (documentation and package metadata)
|
|
20
|
+
- README opens with a "Choose your path" table (Guard, this proxy, the adapter, the verifier,
|
|
21
|
+
hosted/commercial) and states the boundary in two lines before any feature list.
|
|
22
|
+
- Removed "v0.2.0 (planned)" wording that outlived 0.2.0: the feature table now reads "Shipped
|
|
23
|
+
through 0.2.x" against "Not built (no date committed)". Mode 3 (capability-enforced) and the
|
|
24
|
+
HTTP transport have not shipped in any release; the README no longer implies a version for them.
|
|
25
|
+
- Requirements note that `@strixgov/guard` needs Node 20 or later while this package still supports 18.
|
|
26
|
+
- `package.json` description no longer says Mode 3 is "the v0.2.0 upgrade path".
|
|
27
|
+
- Reaches npm only when an operator publishes 0.2.5.
|
|
28
|
+
- Adds `mcpName` (`io.github.Strixgov/mcp-proxy`) to `package.json`, which the official MCP Registry
|
|
29
|
+
requires inside the published npm package to verify ownership, and a `server.json` for
|
|
30
|
+
`mcp-publisher` (validated with `mcp-publisher validate`; not shipped in the tarball).
|
|
31
|
+
The registry listing can only be published after 0.2.5 is on npm.
|
|
32
|
+
|
|
33
|
+
## [0.2.4] - 2026-11-15
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
- Pins `@strixgov/mcp-adapter` 0.1.5 (was 0.1.4), whose published package runs `npm test`.
|
|
37
|
+
- The Strix runtime dependencies (`@strixgov/tool-gateway`, `@strixgov/mcp-adapter`,
|
|
38
|
+
`@strixgov/capabilities-mcp-common`) are pinned to exact versions (0.5.2, 0.1.5 and
|
|
39
|
+
0.1.2) instead of ranges. `@strixgov/guard` launches a pinned proxy version; with
|
|
40
|
+
ranges underneath it, a new tool-gateway release still changed what every Guard
|
|
41
|
+
install ran. `@modelcontextprotocol/sdk` stays a range. A package-contract test
|
|
42
|
+
fails if a Strix dependency is given a range again.
|
|
43
|
+
|
|
10
44
|
## [0.2.3] - 2026-11-07
|
|
11
45
|
|
|
12
46
|
- `approval.requireSignedResponse` and `approval.approverKeys` (file and webhook approval types): approving responses must be signed by a listed approver key. Requires `@strixgov/tool-gateway` 0.5.1. Startup fails if signing is required without valid keys.
|
package/README.md
CHANGED
|
@@ -1,12 +1,60 @@
|
|
|
1
1
|
# @strixgov/mcp-proxy
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Put an authorization decision in front of the MCP tools your agent already uses. Point your MCP client at the proxy instead of the underlying server — every `callTool` is intercepted, evaluated against policy, and produces a signed Ed25519 receipt, whether the call was allowed or refused. Reads you classify as low-risk pass; writes and unclassified tools stop and wait for a person under Guard's defaults, or as your config says.**
|
|
4
|
+
|
|
5
|
+
## Choose your path
|
|
6
|
+
|
|
7
|
+
| You want | Use | Licence |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| The fastest start: wrap the MCP servers in Claude Code, Claude Desktop or Cursor (designed for all three; only Claude Code has been observed end to end, through Guard with unsigned approvals and with a hand-written config; signed approvals have not been exercised with a person), with signed approvals, in one command | [`npx @strixgov/guard init`](https://www.npmjs.com/package/@strixgov/guard) (Guard configures this proxy for you) | Guard: MIT |
|
|
10
|
+
| Hand-written policy for one server, a CI job, or a server Guard does not know | This package: `strix-mcp-proxy --config <file>` | Elastic-2.0 (free to use; see [`COMMERCIAL.md`](./COMMERCIAL.md)) |
|
|
11
|
+
| Governance inside your own MCP server code, no extra process | [`@strixgov/mcp-adapter`](https://www.npmjs.com/package/@strixgov/mcp-adapter) | Elastic-2.0 |
|
|
12
|
+
| To check a receipt without trusting Strix | [`@strixgov/verifier`](https://www.npmjs.com/package/@strixgov/verifier) | MIT |
|
|
13
|
+
| Hosted approvals, retention, enterprise features, a pilot | Email `sales@strixgov.com` (person-assisted today; there is no self-serve path from a local install to a hosted tenant) | Commercial |
|
|
14
|
+
|
|
15
|
+
What this gives you, and what it does not: the proxy decides by tool name and the classification you configure, and records what it decided. It does not read the SQL or message body to infer intent, it covers only the calls routed through it, and a signature authenticates a record without proving the policy was right or that the upstream tool did what it reported.
|
|
4
16
|
|
|
5
17
|
```sh
|
|
6
18
|
npm install -g @strixgov/mcp-proxy
|
|
7
19
|
strix-mcp-proxy --config ./proxy-config.json
|
|
8
20
|
```
|
|
9
21
|
|
|
22
|
+
### Try it safely first (0.2.5 and later)
|
|
23
|
+
|
|
24
|
+
A synthetic notes server ships in the package, so you can see the whole loop before routing anything real.
|
|
25
|
+
Nothing leaves your machine and no credential is involved.
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npm install @strixgov/mcp-proxy
|
|
29
|
+
node node_modules/@strixgov/mcp-proxy/examples/synthetic-server/quickstart.mjs
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
In about three seconds it shows a classified read passing, a write pausing (the notes file is unchanged while
|
|
33
|
+
it waits), a person approving it so it runs, a second write refused, a call your policy denies never running,
|
|
34
|
+
and the four signed receipts that left. It then prints the `@strixgov/verifier` command that checks them.
|
|
35
|
+
A receipt is evidence of the proxy's recorded decision; it does not by itself prove the downstream server
|
|
36
|
+
executed the action. The notes file change is what shows that in this walkthrough. To write your own
|
|
37
|
+
config, start from `examples/synthetic-server/proxy-config.json`.
|
|
38
|
+
|
|
39
|
+
### Compatibility, as observed
|
|
40
|
+
|
|
41
|
+
Only what has been run is marked Observed. Needs Node 20 or later for Guard (18 or later for the proxy alone) and an MCP server your client starts with a command.
|
|
42
|
+
|
|
43
|
+
| Client or platform | Setup | Transport | Status | Detail |
|
|
44
|
+
|---|---|---|---|---|
|
|
45
|
+
| Claude Code 2.1.330 | Hand-written proxy config via --mcp-config | stdio | Observed | Read allowed; one write held then approved; one write held then refused; receipts verified offline. 2026-11-21, Linux container, Node 22, scripted approver, unsigned file approvals. |
|
|
46
|
+
| Scripted MCP client (SDK 1.29.0) | Guard init, and the synthetic quickstart | stdio | Observed | Guard init output accepted without edits; the quickstart loop runs. 2026-11-05 and 2026-11-22. A script, not a person or a product client. |
|
|
47
|
+
| Claude Code 2.1.330 | Guard init (unsigned approvals) | stdio | Observed | Read allowed; one write held then approved with guard approve; one held then refused with guard deny; receipts verified offline. 2026-11-22, Linux container, Node 22, scripted approver. Signed approvals not exercised. |
|
|
48
|
+
| Claude Desktop | Guard init or hand-written config | stdio | Not tested | Designed for; no run. |
|
|
49
|
+
| Cursor | Guard init or hand-written config | stdio | Not tested | Designed for; no run. |
|
|
50
|
+
| Windows | Guard writes a cmd /c npx entry | stdio | Not tested | Written by design because clients start commands without a shell; no run. |
|
|
51
|
+
| macOS | Any | stdio | Not tested | No run. |
|
|
52
|
+
| Clean machine, cold install | Any | stdio | Not tested | Every run so far was on a build container with the monorepo present. |
|
|
53
|
+
| A person approving at a terminal | Signed approvals | stdio | Not tested | Approvals so far came from a script. |
|
|
54
|
+
| Hosted MCP servers (HTTPS, Streamable HTTP, SSE) | Any | HTTP | Not supported | A vendor's connector URL cannot be wrapped today. |
|
|
55
|
+
|
|
56
|
+
Real upstream server observed: the published reference filesystem server (`@modelcontextprotocol/server-filesystem`) on a scratch directory, in one Claude Code run on 2026-11-21. Evidence: `docs/evidence/mcp-proxy-real-client-2026-11-21/`. The synthetic notes server shipped for the quickstart is a demonstration, not a real upstream, and shows nothing about any other server.
|
|
57
|
+
|
|
10
58
|
Compared to `@strixgov/mcp-adapter`, which is a library you integrate into
|
|
11
59
|
your own MCP server code: the proxy is a **standalone process** you run in
|
|
12
60
|
front of any existing MCP server, with **zero changes** to your tool
|
|
@@ -29,20 +77,20 @@ For every incoming `callTool`:
|
|
|
29
77
|
2. **Evaluate** policy — `ALLOW` / `DENY` / `APPROVAL_REQUIRED`.
|
|
30
78
|
3. **Hold** for an approver when policy demands it.
|
|
31
79
|
4. **Execute** via the upstream MCP server (only on `ALLOW`).
|
|
32
|
-
5. **Sign** an Ed25519 receipt — allowed or denied — verifiable against the public
|
|
80
|
+
5. **Sign** an Ed25519 receipt — allowed or denied — verifiable offline by `@strixgov/verifier` against the proxy's own public key (`public-jwk.json`).
|
|
33
81
|
|
|
34
82
|
Tool implementations are untouched. The MCP client (Claude Desktop, mcp-cli,
|
|
35
83
|
IDE integration, your own code) doesn't need to know Strix exists — it just
|
|
36
84
|
spawns this proxy in place of the upstream server.
|
|
37
85
|
|
|
38
|
-
> **Transport scope (
|
|
86
|
+
> **Transport scope (0.2.x, unchanged since 0.1.0):** the proxy wraps MCP servers that speak
|
|
39
87
|
> the **stdio transport** — the `command` / `args` pattern in
|
|
40
88
|
> `claude_desktop_config.json`. It does **not** intercept HTTP-based
|
|
41
89
|
> hosted MCP servers (e.g. Notion's `https://mcp.notion.com/mcp`
|
|
42
90
|
> Claude Desktop "Connector" pattern). If your MCP server is reachable
|
|
43
91
|
> only over HTTPS, the proxy cannot govern it today; that's
|
|
44
92
|
> [Posture B](https://github.com/Strixgov/strix/tree/main/docs/architecture/mcp-mode-3-enforcement-v1.md)
|
|
45
|
-
> in the Mode 3 architecture and is
|
|
93
|
+
> in the Mode 3 architecture and is not built. Use
|
|
46
94
|
> the local stdio version of the upstream MCP server in the meantime.
|
|
47
95
|
|
|
48
96
|
## 5-line integration (Claude Desktop)
|
|
@@ -133,7 +181,7 @@ for a complete example.
|
|
|
133
181
|
|
|
134
182
|
### Where the upstream's secrets should live
|
|
135
183
|
|
|
136
|
-
|
|
184
|
+
The proxy does **no env-var substitution inside the config file** — there
|
|
137
185
|
is no `${NOTION_TOKEN}` template syntax. Two supported patterns for
|
|
138
186
|
upstream secrets:
|
|
139
187
|
|
|
@@ -231,22 +279,22 @@ Run `strix-mcp-proxy --help` for the full flag list.
|
|
|
231
279
|
|
|
232
280
|
## What ships with the proxy
|
|
233
281
|
|
|
234
|
-
| Feature |
|
|
282
|
+
| Feature | Shipped through 0.2.x | Not built (no date committed) |
|
|
235
283
|
|---|---|---|
|
|
236
284
|
| MCP stdio transport (consumer side) | ✓ | — |
|
|
237
285
|
| MCP stdio transport (upstream side) | ✓ | — |
|
|
238
|
-
| MCP HTTP transport (either side) | — |
|
|
286
|
+
| MCP HTTP transport (either side) | — | planned |
|
|
239
287
|
| Companion-pack classification | ✓ | — |
|
|
240
288
|
| Heuristic fallback for unknown tools | ✓ | — |
|
|
241
289
|
| Fail-closed default policy | ✓ | — |
|
|
242
290
|
| Per-capability rules + risk overrides | ✓ | — |
|
|
243
291
|
| Approval gate (any approver implementation) | ✓ | — |
|
|
244
292
|
| Local-mode signed receipts (in-memory or JSONL) | ✓ | — |
|
|
245
|
-
| Connected mode (sync receipts to `strixgov.com`) | ✓ programmatic only via `startProxy({ connectedMode })` |
|
|
293
|
+
| Connected mode (sync receipts to `strixgov.com`) | ✓ programmatic only via `startProxy({ connectedMode })` | JSON config: planned |
|
|
246
294
|
| Mode 1 (Observed) | ✓ | — |
|
|
247
|
-
| Mode 2 (Approval-Gated) | ✓ | — |
|
|
248
|
-
| **Mode 3 (Capability-Enforced) — `execution_authorization_v1` token mint + transport** | — |
|
|
249
|
-
| **Posture B reference impl (HTTP outbound enforcement)** | — |
|
|
295
|
+
| Mode 2 (Approval-Gated) | ✓ (file approvals can require an Ed25519-signed response from a listed approver key, 0.2.3+) | — |
|
|
296
|
+
| **Mode 3 (Capability-Enforced) — `execution_authorization_v1` token mint + transport** | — | planned |
|
|
297
|
+
| **Posture B reference impl (HTTP outbound enforcement)** | — | planned |
|
|
250
298
|
|
|
251
299
|
See [`docs/strategy/mcp-mode-ladder-v1.md`](https://github.com/Strixgov/strix/tree/main/docs/strategy/mcp-mode-ladder-v1.md)
|
|
252
300
|
for the framing of Mode 1 / 2 / 3 and the exact public claim available
|
|
@@ -255,21 +303,22 @@ at each enforcement strength.
|
|
|
255
303
|
## The upgrade path to Mode 3
|
|
256
304
|
|
|
257
305
|
Mode 3 — Capability-Enforced — is the upgrade, not a rewrite. The
|
|
258
|
-
|
|
259
|
-
`buildUpstreamIface()` seam in `src/proxy.mjs`.
|
|
260
|
-
(`mode: "enforced"
|
|
306
|
+
proxy already routes every outbound call through a single
|
|
307
|
+
`buildUpstreamIface()` seam in `src/proxy.mjs`. A future option
|
|
308
|
+
(`mode: "enforced"`, **not implemented in any released version, including
|
|
309
|
+
0.2.4**) is intended to wrap that seam with the
|
|
261
310
|
`execution_authorization_v1` token mint + transport step per
|
|
262
311
|
[`docs/architecture/mcp-mode-3-enforcement-v1.md`](https://github.com/Strixgov/strix/tree/main/docs/architecture/mcp-mode-3-enforcement-v1.md).
|
|
263
312
|
|
|
264
|
-
|
|
265
|
-
file
|
|
313
|
+
Once built, operators would turn on Mode 3 by adding `"mode": "enforced"`
|
|
314
|
+
to the config file, and upstream MCP servers that opt in to validation (via
|
|
266
315
|
[`@strixgov/mcp-token-validator`](https://www.npmjs.com/package/@strixgov/mcp-token-validator))
|
|
267
|
-
refuse to act on sensitive tools unless the token is present.
|
|
316
|
+
would refuse to act on sensitive tools unless the token is present.
|
|
268
317
|
|
|
269
318
|
The cryptographic primitive is already shipped — see
|
|
270
319
|
[`@strixgov/mcp-token-validator`](https://www.npmjs.com/package/@strixgov/mcp-token-validator).
|
|
271
|
-
|
|
272
|
-
make sure the *seam* exists so
|
|
320
|
+
The proxy does not mint these tokens today; what it does is
|
|
321
|
+
make sure the *seam* exists so the step can be added without a rewrite.
|
|
273
322
|
|
|
274
323
|
## Listening to receipts (programmatic embedding)
|
|
275
324
|
|
|
@@ -371,7 +420,7 @@ keys are strictly better in every dimension that isn't a one-off demo.
|
|
|
371
420
|
the library; the proxy is the standalone process. They share the
|
|
372
421
|
same governance core (`@strixgov/tool-gateway`) and produce
|
|
373
422
|
byte-identical receipts.
|
|
374
|
-
- **Not an interceptor of HTTP-transport MCP servers.**
|
|
423
|
+
- **Not an interceptor of HTTP-transport MCP servers.** The 0.x line wraps
|
|
375
424
|
the stdio transport only. Hosted HTTP MCP servers (the Claude
|
|
376
425
|
Desktop "Add Connector" URL pattern, e.g.
|
|
377
426
|
`https://mcp.notion.com/mcp`) are not in scope — the client talks
|
|
@@ -379,9 +428,10 @@ keys are strictly better in every dimension that isn't a one-off demo.
|
|
|
379
428
|
Use the upstream's local stdio server in the meantime; the
|
|
380
429
|
HTTP-transport story is Posture B in
|
|
381
430
|
[`docs/architecture/mcp-mode-3-enforcement-v1.md`](https://github.com/Strixgov/strix/tree/main/docs/architecture/mcp-mode-3-enforcement-v1.md).
|
|
382
|
-
- **Not Mode 3 today.**
|
|
383
|
-
enforcement
|
|
384
|
-
|
|
431
|
+
- **Not Mode 3 today.** Releases through 0.2.4 ship Mode 1 + Mode 2.
|
|
432
|
+
Mode 3 enforcement was first sketched as a 0.2.0 item and has not
|
|
433
|
+
shipped; it is designed for, not implemented, and carries no date.
|
|
434
|
+
Do not describe the proxy as capability-enforced.
|
|
385
435
|
- **Not a credential vault.** Upstream tokens (`NOTION_TOKEN`,
|
|
386
436
|
`GITHUB_TOKEN`, etc.) flow through `process.env` or
|
|
387
437
|
`upstream.env` and reach the upstream MCP server as-is. The
|
|
@@ -419,7 +469,7 @@ posture, including:
|
|
|
419
469
|
- **Process model** — what happens on crash / mid-approval / disk
|
|
420
470
|
full. Fail-closed at every boundary; the proxy will not start
|
|
421
471
|
without a loadable signing key.
|
|
422
|
-
- **Multi-tenant boundary** — single-tenant by design
|
|
472
|
+
- **Multi-tenant boundary** — single-tenant by design through 0.2.x;
|
|
423
473
|
run one proxy process per tenant for isolation.
|
|
424
474
|
- **What the proxy does NOT govern** — out-of-wrapper traffic, the
|
|
425
475
|
agent's internal state, the upstream's own argument handling
|
|
@@ -451,5 +501,5 @@ this license boundary.
|
|
|
451
501
|
|
|
452
502
|
## Requirements
|
|
453
503
|
|
|
454
|
-
- Node.js ≥ 18
|
|
504
|
+
- Node.js ≥ 18 for this package (`@strixgov/guard`, which configures it, needs ≥ 20)
|
|
455
505
|
- An upstream MCP server (stdio transport)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Controlled launcher: separate-identity reference topology for the published MCP proxy
|
|
2
|
+
|
|
3
|
+
Reference code under review. Not a product, not published, not Mode 3 complete. Synthetic destination, dummy credentials, localhost only. Run: `sudo node acceptance.mjs <dir-of-npm-pack-tarballs> <results-dir>` (root is required to create throwaway OS users; they are removed at the end).
|
|
4
|
+
|
|
5
|
+
## Architecture and trust boundaries
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
AGENT identity (p2agent) TRUSTED PROXY SERVICE (p2proxy) CREDENTIAL HOLDER (p2exec) DESTINATION (p2dest)
|
|
9
|
+
MCP client proxy-host.mjs executor.mjs synthetic GitHub-shaped API
|
|
10
|
+
| stdio per connection spawns the PUBLISHED holds the ONLY executor credential logs EVERY request itself
|
|
11
|
+
v @strixgov/mcp-proxy 0.2.4 with a validates execution_authorization_v1
|
|
12
|
+
bridge-client.mjs --unix socket--> root-owned config (client controls (published validator 0.1.0): ^
|
|
13
|
+
(bytes only) bytes only, not exe/config/env) signature, expiry, tenant/env/actor, | Bearer = executor credential
|
|
14
|
+
| Guard-signed approval gate EXACT payloadHash, atomic nonce burn |
|
|
15
|
+
v (approver key pinned) write-ahead attempt log (fsync) |
|
|
16
|
+
shim.mjs (credential-free upstream) signs outcome records (test key) ------+
|
|
17
|
+
| claim token for exact payload
|
|
18
|
+
v OBSERVER (p2obs): read-only credential,
|
|
19
|
+
APPROVER stand-in (p2approver) --signs exact request bytes--> AUTHORIZER (p2auth) reconciles executor-reported outcomes
|
|
20
|
+
(Guard approveSigned) registers approval; mints payload-bound token against destination state
|
|
21
|
+
with a TEST key; claim = atomic rename (once)
|
|
22
|
+
```
|
|
23
|
+
Identities: p2agent (untrusted), p2proxy (trusted service, holds no destination credential and no signing key for tokens), p2exec (sole holder of the destination credential), p2auth (holds the TEST token-signing key), p2approver (holds the approver key), p2dest, p2obs. Sockets and directories are permissioned so each arrow above is the only path; the agent has write/search access to nothing but its own bridge socket.
|
|
24
|
+
|
|
25
|
+
Trust rules: the executor trusts neither the shim nor the proxy (the token is checked at the executor). The authorizer trusts only the pinned approver public key. The approval relay copies bytes only; it cannot approve (signature over exact request bytes is required). Credentials are never passed to the proxy or the agent.
|
|
26
|
+
|
|
27
|
+
## What is the "narrow adapter"
|
|
28
|
+
|
|
29
|
+
The published proxy has no token interface. Instead of modifying it or substituting a proxy, three small reviewable pieces sit around it: `shim.mjs` (its upstream), `authorizer.mjs` (token mint from a signed approval of the exact request) and `executor.mjs` (validates). The authorizer is a TEST-KEY stand-in for the Strix kernel: it is not production custody and not a production minter.
|
|
30
|
+
|
|
31
|
+
## Results
|
|
32
|
+
|
|
33
|
+
See `docs/evidence/mcp-phase2-reference-2026-11-22/controlled-launcher/` (matrix.json, receipts, outcomes, observer reconciliations, counters, versions) and the readiness report there.
|