@strixgov/mcp-proxy 0.2.4 → 0.3.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/CHANGELOG.md +92 -1
- package/README.md +277 -38
- package/bin/strix-mcp-proxy.mjs +100 -5
- 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 +1 -1
- package/examples/github-reference/acceptance.mjs +10 -3
- package/examples/github-reference/claims-matrix.md +3 -3
- package/examples/github-reference/package-lock.json +48 -44
- package/examples/github-reference/package.json +4 -4
- package/examples/github-reference/reuse-inventory.md +4 -4
- 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 +5 -4
- package/src/config.mjs +152 -2
- package/src/content-guard.mjs +432 -0
- package/src/http-upstream.mjs +431 -0
- package/src/index.mjs +11 -2
- package/src/proxy.mjs +241 -33
- package/src/tool-guard.mjs +183 -0
- package/src/types.d.ts +83 -1
- package/test/content-guard-hardening.test.mjs +159 -0
- package/test/content-guard.test.mjs +387 -0
- package/test/http-upstream-config.test.mjs +115 -0
- package/test/http-upstream-e2e.test.mjs +279 -0
- package/test/http-upstream.test.mjs +304 -0
- package/test/synthetic-quickstart.test.mjs +44 -0
- package/test/tool-guard.test.mjs +243 -0
- package/test/validate-cli.test.mjs +171 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Independent observer (separate OS identity, read-only credential). Reconciles executor-reported outcomes
|
|
3
|
+
// against destination state. Reports each attempt separately; it never infers success from a receipt.
|
|
4
|
+
import fs from "node:fs";
|
|
5
|
+
import path from "node:path";
|
|
6
|
+
import crypto from "node:crypto";
|
|
7
|
+
import { canonicalizeJSON } from "./lib.mjs";
|
|
8
|
+
const [stateDir, destUrl, out] = process.argv.slice(2);
|
|
9
|
+
const jl = (f) => (fs.existsSync(f) ? fs.readFileSync(f, "utf8").trim().split("\n").filter(Boolean).map(JSON.parse) : []);
|
|
10
|
+
const jwk = JSON.parse(fs.readFileSync(path.join(stateDir, "outcome-jwks.json"), "utf8")).keys[0];
|
|
11
|
+
const pub = crypto.createPublicKey({ key: jwk, format: "jwk" });
|
|
12
|
+
const attempts = jl(path.join(stateDir, "attempts.jsonl")), outcomes = jl(path.join(stateDir, "outcomes.jsonl"));
|
|
13
|
+
const r = await fetch(destUrl + "/repos/synthetic/fixture/branches", { headers: { authorization: "Bearer " + process.env.OBSERVER_TOKEN } });
|
|
14
|
+
const observed = (await r.json()).branches ?? [];
|
|
15
|
+
const rows = [];
|
|
16
|
+
for (const a of attempts.filter((x) => x.state === "STARTED")) {
|
|
17
|
+
const o = outcomes.filter((x) => x.attemptId === a.attemptId).at(-1);
|
|
18
|
+
let sigOk = null;
|
|
19
|
+
if (o) { const { signingKeyId, signature, ...payload } = o; sigOk = crypto.verify(null, Buffer.from(canonicalizeJSON(payload), "utf8"), pub, Buffer.from(signature, "base64url")); }
|
|
20
|
+
const present = observed.includes(a.ref);
|
|
21
|
+
const reported = o?.status ?? "NO_OUTCOME_RECORDED";
|
|
22
|
+
let verdict;
|
|
23
|
+
if (reported === "SUCCEEDED") verdict = present ? "RECONCILED_CONSISTENT" : "INCONSISTENT_REPORTED_SUCCESS_NOT_OBSERVED";
|
|
24
|
+
else if (reported === "UNKNOWN" || reported === "NO_OUTCOME_RECORDED") verdict = present ? "RESOLVED_BY_OBSERVATION_EXECUTED" : "RESOLVED_BY_OBSERVATION_NOT_EXECUTED";
|
|
25
|
+
else verdict = present ? "INCONSISTENT_REPORTED_FAILURE_BUT_OBSERVED" : "RECONCILED_CONSISTENT";
|
|
26
|
+
rows.push({ attemptId: a.attemptId, authorizationId: a.authorizationId, ref: a.ref, executorReported: reported, outcomeSignatureValid: sigOk, destinationObservedRefPresent: present, verdict });
|
|
27
|
+
}
|
|
28
|
+
const unattributed = observed.filter((b) => b !== "main" && !attempts.some((a) => a.ref === b));
|
|
29
|
+
fs.writeFileSync(out, JSON.stringify({ observedAt: new Date().toISOString(), observedBranches: observed, attempts: rows, destinationBranchesWithNoAttemptRecord: unattributed }, null, 1));
|
|
30
|
+
console.log(JSON.stringify({ attempts: rows.length, inconsistent: rows.filter((x) => x.verdict.startsWith("INCONSISTENT")).length, unattributed }));
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Credential-free MCP upstream used by the published proxy. Holds NO downstream credential and NO signing key.
|
|
3
|
+
// For writes it claims a token for the exact payload from the authorizer and forwards to the executor.
|
|
4
|
+
// If it is subverted it can only ask the executor, which still requires a valid exact-payload token.
|
|
5
|
+
import readline from "node:readline";
|
|
6
|
+
import { call, payloadHash } from "./lib.mjs";
|
|
7
|
+
const [execSock, claimSock] = process.argv.slice(2);
|
|
8
|
+
const tools = [
|
|
9
|
+
{ name: "get_file_contents", description: "Read repository contents (synthetic).", inputSchema: { type: "object", properties: {} } },
|
|
10
|
+
{ name: "list_branches", description: "List branches.", inputSchema: { type: "object", properties: {} } },
|
|
11
|
+
{ name: "create_branch", description: "Create a branch.", inputSchema: { type: "object", properties: { owner: { type: "string" }, repo: { type: "string" }, branch: { type: "string" }, from_branch: { type: "string" } }, required: ["owner", "repo", "branch"] } },
|
|
12
|
+
{ name: "merge_pull_request", description: "Merge a pull request.", inputSchema: { type: "object", properties: { owner: { type: "string" }, repo: { type: "string" }, pull_number: { type: "number" } }, required: ["owner", "repo", "pull_number"] } },
|
|
13
|
+
];
|
|
14
|
+
const send = (m) => process.stdout.write(JSON.stringify(m) + "\n");
|
|
15
|
+
const text = (t, isError = false) => ({ content: [{ type: "text", text: t }], ...(isError ? { isError } : {}) });
|
|
16
|
+
async function toolCall(name, args = {}) {
|
|
17
|
+
let token;
|
|
18
|
+
if (name === "create_branch") {
|
|
19
|
+
const c = await call(claimSock, { op: "claim", payloadHash: payloadHash(args), capabilityId: "mcp.github.create_branch" }).catch((e) => ({ ok: false, error: String(e.message) }));
|
|
20
|
+
token = c.ok ? c.token : undefined;
|
|
21
|
+
}
|
|
22
|
+
const r = await call(execSock, { tool: name, args, token }).catch((e) => ({ ok: false, error: "EXECUTOR_UNREACHABLE", detail: e.message }));
|
|
23
|
+
return r.ok ? { content: r.content, ...(r.isError ? { isError: true } : {}) } : text(`refused: ${r.error}${r.detail ? " (" + r.detail + ")" : ""}`, true);
|
|
24
|
+
}
|
|
25
|
+
readline.createInterface({ input: process.stdin }).on("line", async (line) => {
|
|
26
|
+
let m; try { m = JSON.parse(line); } catch { return; }
|
|
27
|
+
if (m.id === undefined) return;
|
|
28
|
+
if (m.method === "initialize") return send({ jsonrpc: "2.0", id: m.id, result: { protocolVersion: m.params?.protocolVersion ?? "2024-11-05", capabilities: { tools: {} }, serverInfo: { name: "controlled-launcher-shim", version: "0.0.1" } } });
|
|
29
|
+
if (m.method === "tools/list") return send({ jsonrpc: "2.0", id: m.id, result: { tools } });
|
|
30
|
+
if (m.method === "tools/call") return send({ jsonrpc: "2.0", id: m.id, result: await toolCall(m.params?.name, m.params?.arguments) });
|
|
31
|
+
send({ jsonrpc: "2.0", id: m.id, error: { code: -32601, message: "method not found" } });
|
|
32
|
+
});
|
|
@@ -23,7 +23,7 @@ STRIX_EVIDENCE_DIR="$REPO/docs/evidence/github-mcp-reference-demo/run" npm test
|
|
|
23
23
|
|
|
24
24
|
`npm ci` installs the exact versions in the lockfile. The run writes sanitized scenario results, published package versions, policy and capability revisions, exact approval requests and signed responses, consumption status, signed proxy receipts and execution outcomes, the public verification JWK, fixture invocation/outcome logs, independent verifier output/exit codes, and SHA-256 sums under `STRIX_EVIDENCE_DIR`. Private keys and the temporary Guard approver key stay under a temporary OS directory and are deleted after the run. The actual run should be performed from a temporary consumer, not by installing into the repository workspace.
|
|
25
25
|
|
|
26
|
-
The generated JSONL receipt chain is verified by the installed `@strixgov/verifier@1.
|
|
26
|
+
The generated JSONL receipt chain is verified by the installed `@strixgov/verifier@1.25.0` artifact. Its tampered copy must fail verification. Versions are pinned in package.json and package-lock.json; the runner prints the installed version it actually used.
|
|
27
27
|
|
|
28
28
|
## What this demo does not establish
|
|
29
29
|
|
|
@@ -4,6 +4,7 @@ import fs from "node:fs/promises";
|
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
|
+
import { readFileSync } from "node:fs";
|
|
7
8
|
import { fileURLToPath } from "node:url";
|
|
8
9
|
import { setTimeout as delay } from "node:timers/promises";
|
|
9
10
|
|
|
@@ -224,6 +225,12 @@ async function waitSettled(promise) {
|
|
|
224
225
|
]);
|
|
225
226
|
}
|
|
226
227
|
|
|
228
|
+
|
|
229
|
+
// Labels are derived from the INSTALLED packages, never hard-coded (a stale hard-coded label once named verifier 1.24.1 beside an installed 1.25.0).
|
|
230
|
+
function installedVersion(name) {
|
|
231
|
+
return JSON.parse(readFileSync(path.join(CONSUMER, "node_modules", ...name.split("/"), "package.json"), "utf8")).version;
|
|
232
|
+
}
|
|
233
|
+
|
|
227
234
|
async function packageVersions() {
|
|
228
235
|
const names = [
|
|
229
236
|
"@modelcontextprotocol/sdk",
|
|
@@ -355,7 +362,7 @@ async function writeEvidenceFiles({ storagePath, firstKid, lastKid, policyBundle
|
|
|
355
362
|
"Published MCP proxy does not wire Mode-3 execution authorization.",
|
|
356
363
|
"The GitHub merge PEP is source-reference-only and has no production caller.",
|
|
357
364
|
"Official GitHub MCP merge input lacks an atomic head-SHA precondition.",
|
|
358
|
-
|
|
365
|
+
`Verifier under test is the installed published artifact ${installedVersion("@strixgov/verifier")}; repository source is not substituted.`,
|
|
359
366
|
"Gateway is in-process; a separate service outage is not applicable to this demo topology.",
|
|
360
367
|
],
|
|
361
368
|
}, null, 2)}\n`);
|
|
@@ -627,7 +634,7 @@ async function main() {
|
|
|
627
634
|
guardApproval: guardConfig.policy,
|
|
628
635
|
},
|
|
629
636
|
});
|
|
630
|
-
record("GH-10", "PASS_TAMPER_DETECTED",
|
|
637
|
+
record("GH-10", "PASS_TAMPER_DETECTED", `published verifier ${installedVersion("@strixgov/verifier")} accepted the intact chain and rejected the altered signature`);
|
|
631
638
|
} finally {
|
|
632
639
|
if (initial) await initial.close();
|
|
633
640
|
await fs.rm(runtimeRoot, { recursive: true, force: true });
|
|
@@ -650,7 +657,7 @@ async function main() {
|
|
|
650
657
|
"Published MCP proxy does not wire Mode-3 execution authorization.",
|
|
651
658
|
"The GitHub merge PEP is source-reference-only and has no production caller.",
|
|
652
659
|
"Official GitHub MCP merge input lacks an atomic head-SHA precondition.",
|
|
653
|
-
|
|
660
|
+
`Verifier under test is the installed published artifact ${installedVersion("@strixgov/verifier")}; repository source is not substituted.`,
|
|
654
661
|
"Gateway is in-process; a separate service outage is not applicable to this demo topology.",
|
|
655
662
|
],
|
|
656
663
|
}, null, 2)}\n`);
|
|
@@ -13,7 +13,7 @@ The matrix below is the boundary for any sales or pilot language. “PASS” mea
|
|
|
13
13
|
| GH-07 | Race two calls against one approval | **PARTIAL — approval-file layer** | Two concurrent fixture writes get distinct request IDs. Approving one and denying the other yields at most one fixture handler invocation. This is not a test of the missing atomic execution-token redemption path for GitHub merge. |
|
|
14
14
|
| GH-08 | Unclassified destructive GitHub tool | **PASS — intercepted** | The fake upstream advertises `delete_repository`, absent from the GitHub capability pack; default-deny refuses it with zero upstream calls. This is a fixture classification test, not a live catalog parity audit. |
|
|
15
15
|
| GH-09 | Policy, gateway, or approval-store unavailable | **PARTIAL — fail closed at tested boundaries** | Invalid policy configuration is rejected before dispatch; an unusable approval request directory fails closed with zero downstream calls. The gateway is in-process, not a separately deployed service, so a remote gateway outage cannot be simulated in this architecture. |
|
|
16
|
-
| GH-10 | Tamper with signed evidence | **PASS — published verifier 1.
|
|
16
|
+
| GH-10 | Tamper with signed evidence | **PASS — published verifier 1.25.0** | The independent published verifier accepts the untampered receipt chain and rejects a one-byte/field-tampered copy. Current repo verifier 1.24.2 is unpublished and not used. |
|
|
17
17
|
| GH-11 | Restart and verify persisted receipts | **PASS — local persistence** | The proxy restarts against the same temporary storage and key; prior receipts remain in the chain and the published verifier checks it. This is a local file-store test. |
|
|
18
18
|
| GH-12 | Direct-route bypass / coverage boundary | **LIMITATION DEMONSTRATED** | A test client calling the in-memory upstream directly bypasses proxy policy and creates no Strix receipt. No GitHub credential is available in the test estate. Guard coverage of configured client entries is not proof that all credentials or direct routes are blocked. |
|
|
19
19
|
|
|
@@ -28,7 +28,7 @@ Unsupported wording: “Strix securely merged a GitHub PR,” “the merge was b
|
|
|
28
28
|
1. Wire the production single-use, payload-bound authorization lifecycle into the MCP path without creating a second authority, signer, policy engine, or gateway.
|
|
29
29
|
2. Bind a trusted actor and tenant plus capability, repository, PR, target branch/head SHA, policy revision, and expiry to the authorization; redeem it atomically before the side effect.
|
|
30
30
|
3. Use a GitHub merge primitive that carries the approved full head SHA as a provider-side precondition; the current official MCP `merge_pull_request` shape does not.
|
|
31
|
-
4.
|
|
32
|
-
5.
|
|
31
|
+
4. (Updated 2026-11-22) Verifier 1.25.0 is now the published latest and is the pinned version; it ships no tests of its own, so only the runner's chain-verify and tamper checks exercise it.
|
|
32
|
+
5. (Updated 2026-11-22) The adapter test-artifact defect is fixed in 0.1.5: its tarball ships tests and the preflight script and its package tests pass (63/63). The 0.1.4 description is superseded.
|
|
33
33
|
6. Establish source-build provenance for the published Strix tarballs before making a source-to-artifact assurance claim. npm registry signatures verified; no provenance attestation was found for the five audited Strix packages.
|
|
34
34
|
7. Run any provider-side moved-head exercise only with an explicitly authorized disposable GitHub target and a real audit trail. This task performed no live provider exercise.
|
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
12
12
|
"@strixgov/capabilities-mcp-common": "0.1.2",
|
|
13
|
-
"@strixgov/guard": "0.
|
|
14
|
-
"@strixgov/mcp-adapter": "0.1.
|
|
15
|
-
"@strixgov/mcp-proxy": "0.2.
|
|
13
|
+
"@strixgov/guard": "0.2.0",
|
|
14
|
+
"@strixgov/mcp-adapter": "0.1.5",
|
|
15
|
+
"@strixgov/mcp-proxy": "0.2.4",
|
|
16
16
|
"@strixgov/tool-gateway": "0.5.2",
|
|
17
|
-
"@strixgov/verifier": "1.
|
|
17
|
+
"@strixgov/verifier": "1.25.0"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=18"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"node_modules/@hono/node-server": {
|
|
24
|
-
"version": "2.1.
|
|
25
|
-
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.
|
|
26
|
-
"integrity": "sha512-
|
|
24
|
+
"version": "2.1.11",
|
|
25
|
+
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.11.tgz",
|
|
26
|
+
"integrity": "sha512-KzKz9vl4vvr1vgLHamj+g5uonbrj5NwAdO3yzOS6cd2HjALVeOgTgeZOyAzNxejbkfOOPIcvuf/Tg8l1pEFLog==",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">=20"
|
|
@@ -90,21 +90,21 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"node_modules/@strixgov/guard": {
|
|
93
|
-
"version": "0.
|
|
94
|
-
"resolved": "https://registry.npmjs.org/@strixgov/guard/-/guard-0.
|
|
95
|
-
"integrity": "sha512-
|
|
93
|
+
"version": "0.2.0",
|
|
94
|
+
"resolved": "https://registry.npmjs.org/@strixgov/guard/-/guard-0.2.0.tgz",
|
|
95
|
+
"integrity": "sha512-rgpj76WCNfG7b2bwp2ap9pvBF+fkKNajZ3GuL7SalsDYszsVpmnJXHprdOTG+g4QPmx1HX4abrd+UyOdlBatrg==",
|
|
96
96
|
"license": "MIT",
|
|
97
97
|
"bin": {
|
|
98
98
|
"strix-guard": "bin/strix-guard.mjs"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|
|
101
|
-
"node": ">=
|
|
101
|
+
"node": ">=20"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"node_modules/@strixgov/mcp-adapter": {
|
|
105
|
-
"version": "0.1.
|
|
106
|
-
"resolved": "https://registry.npmjs.org/@strixgov/mcp-adapter/-/mcp-adapter-0.1.
|
|
107
|
-
"integrity": "sha512-
|
|
105
|
+
"version": "0.1.5",
|
|
106
|
+
"resolved": "https://registry.npmjs.org/@strixgov/mcp-adapter/-/mcp-adapter-0.1.5.tgz",
|
|
107
|
+
"integrity": "sha512-LUm2KCyCmrHlClmmtvhUTN8c79Ya59V4cyYGmg0aYXUnbh2MfNDVruJiQBXYienn6gznnqopwxm3bwhwAmWHqw==",
|
|
108
108
|
"license": "Elastic-2.0",
|
|
109
109
|
"dependencies": {
|
|
110
110
|
"@strixgov/verifier": "^1.22.0"
|
|
@@ -125,15 +125,15 @@
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
"node_modules/@strixgov/mcp-proxy": {
|
|
128
|
-
"version": "0.2.
|
|
129
|
-
"resolved": "https://registry.npmjs.org/@strixgov/mcp-proxy/-/mcp-proxy-0.2.
|
|
130
|
-
"integrity": "sha512-
|
|
128
|
+
"version": "0.2.4",
|
|
129
|
+
"resolved": "https://registry.npmjs.org/@strixgov/mcp-proxy/-/mcp-proxy-0.2.4.tgz",
|
|
130
|
+
"integrity": "sha512-gDqvPRn5gYt1nqBBgX8A1VZaQs8Bm/x/3SJuRuACqqzlL7SgZn981Aal8zyh4pFX/1EeUUrymgQks6ECzfYV8w==",
|
|
131
131
|
"license": "Elastic-2.0",
|
|
132
132
|
"dependencies": {
|
|
133
133
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
134
|
-
"@strixgov/capabilities-mcp-common": "
|
|
135
|
-
"@strixgov/mcp-adapter": "
|
|
136
|
-
"@strixgov/tool-gateway": "
|
|
134
|
+
"@strixgov/capabilities-mcp-common": "0.1.2",
|
|
135
|
+
"@strixgov/mcp-adapter": "0.1.5",
|
|
136
|
+
"@strixgov/tool-gateway": "0.5.2"
|
|
137
137
|
},
|
|
138
138
|
"bin": {
|
|
139
139
|
"strix-mcp-proxy": "bin/strix-mcp-proxy.mjs"
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"node_modules/@strixgov/verifier": {
|
|
158
|
-
"version": "1.
|
|
159
|
-
"resolved": "https://registry.npmjs.org/@strixgov/verifier/-/verifier-1.
|
|
160
|
-
"integrity": "sha512-
|
|
158
|
+
"version": "1.25.0",
|
|
159
|
+
"resolved": "https://registry.npmjs.org/@strixgov/verifier/-/verifier-1.25.0.tgz",
|
|
160
|
+
"integrity": "sha512-4DqBd7pCZ+sr514Kp4VDh4XL/YwJL4WXfF0JPCechQZzMcWP26iqdJL/Vl7R/oMDg0Xyghmz6guhOcMFYbK4Ww==",
|
|
161
161
|
"license": "MIT",
|
|
162
162
|
"bin": {
|
|
163
163
|
"strix-verify": "bin/verify.mjs"
|
|
@@ -405,9 +405,9 @@
|
|
|
405
405
|
"license": "MIT"
|
|
406
406
|
},
|
|
407
407
|
"node_modules/encodeurl": {
|
|
408
|
-
"version": "2.0.
|
|
409
|
-
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.
|
|
410
|
-
"integrity": "sha512-
|
|
408
|
+
"version": "2.0.3",
|
|
409
|
+
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.3.tgz",
|
|
410
|
+
"integrity": "sha512-mIteYONiEfc4xWf2F1WXovh1c8npzS00vNeiUPdwFF+QlVJni+gNvpQltLMQhob8rew/bWWc/bGTuUr0EUGt0w==",
|
|
411
411
|
"license": "MIT",
|
|
412
412
|
"engines": {
|
|
413
413
|
"node": ">= 0.8"
|
|
@@ -527,9 +527,9 @@
|
|
|
527
527
|
}
|
|
528
528
|
},
|
|
529
529
|
"node_modules/express-rate-limit": {
|
|
530
|
-
"version": "8.7.
|
|
531
|
-
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.
|
|
532
|
-
"integrity": "sha512-
|
|
530
|
+
"version": "8.7.5",
|
|
531
|
+
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.5.tgz",
|
|
532
|
+
"integrity": "sha512-wi+v38cx2EqD0JnhE/e74o5tFqKWUOAPFJIgyEiqJ8v2MNpoOAA3kI2hXYOI+YM+HE5yqbdAlVxm2GqOIeYOgA==",
|
|
533
533
|
"license": "MIT",
|
|
534
534
|
"dependencies": {
|
|
535
535
|
"debug": "^4.4.3",
|
|
@@ -702,9 +702,9 @@
|
|
|
702
702
|
}
|
|
703
703
|
},
|
|
704
704
|
"node_modules/hono": {
|
|
705
|
-
"version": "4.13.
|
|
706
|
-
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.
|
|
707
|
-
"integrity": "sha512-
|
|
705
|
+
"version": "4.13.20",
|
|
706
|
+
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.20.tgz",
|
|
707
|
+
"integrity": "sha512-xo6gecEJQ+CjTtOUUbcLHE8CdRKMeF4qITe+DT+OhFnSUmZR/ZBa9XavAfiGh4HlukmlaHFdaK4dz5tkTYFNmA==",
|
|
708
708
|
"license": "MIT",
|
|
709
709
|
"engines": {
|
|
710
710
|
"node": ">=16.9.0"
|
|
@@ -783,9 +783,9 @@
|
|
|
783
783
|
"license": "ISC"
|
|
784
784
|
},
|
|
785
785
|
"node_modules/jose": {
|
|
786
|
-
"version": "6.2.
|
|
787
|
-
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.
|
|
788
|
-
"integrity": "sha512-
|
|
786
|
+
"version": "6.2.18",
|
|
787
|
+
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.18.tgz",
|
|
788
|
+
"integrity": "sha512-doV4thUwgkrycJH4yLeqwTGIIZphHl+pk7CPReuMIhYhncmgzdko85MaCG4YQFTxqMFr1/oEH32tZuKKovcDEg==",
|
|
789
789
|
"license": "MIT",
|
|
790
790
|
"funding": {
|
|
791
791
|
"url": "https://github.com/sponsors/panva"
|
|
@@ -907,9 +907,9 @@
|
|
|
907
907
|
}
|
|
908
908
|
},
|
|
909
909
|
"node_modules/object-inspect": {
|
|
910
|
-
"version": "1.
|
|
911
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
912
|
-
"integrity": "sha512-
|
|
910
|
+
"version": "1.14.0",
|
|
911
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.14.0.tgz",
|
|
912
|
+
"integrity": "sha512-IVgHNlp/jwQX271+Xzoq9LZNTWXxZK+cEOrGBOBxXNbn7fapnZ+Ts6TVMgNOuAezwG2wdtnMX97tTPK6VEnuOQ==",
|
|
913
913
|
"license": "MIT",
|
|
914
914
|
"engines": {
|
|
915
915
|
"node": ">= 0.4"
|
|
@@ -972,9 +972,9 @@
|
|
|
972
972
|
}
|
|
973
973
|
},
|
|
974
974
|
"node_modules/pkce-challenge": {
|
|
975
|
-
"version": "5.0.
|
|
976
|
-
"resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.
|
|
977
|
-
"integrity": "sha512-
|
|
975
|
+
"version": "5.0.2",
|
|
976
|
+
"resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.2.tgz",
|
|
977
|
+
"integrity": "sha512-vCc54+qyIfKC5e2UN28AZKElwqjLINgiIV3RKI8pDu93TjaAJoB3QrgMzEBouy8yOKsXVXdAinO1QArJf9x5WA==",
|
|
978
978
|
"license": "MIT",
|
|
979
979
|
"engines": {
|
|
980
980
|
"node": ">=16.20.0"
|
|
@@ -1051,9 +1051,9 @@
|
|
|
1051
1051
|
}
|
|
1052
1052
|
},
|
|
1053
1053
|
"node_modules/router": {
|
|
1054
|
-
"version": "2.
|
|
1055
|
-
"resolved": "https://registry.npmjs.org/router/-/router-2.
|
|
1056
|
-
"integrity": "sha512-
|
|
1054
|
+
"version": "2.3.0",
|
|
1055
|
+
"resolved": "https://registry.npmjs.org/router/-/router-2.3.0.tgz",
|
|
1056
|
+
"integrity": "sha512-bpowRfGjEPe8t9R6fJIzhwmyCGAXwKvxBUsgJm+bJukwdcWmUXbMo7p22w7aYmQBPQTUMNqMV39YX0kMou3z8w==",
|
|
1057
1057
|
"license": "MIT",
|
|
1058
1058
|
"dependencies": {
|
|
1059
1059
|
"debug": "^4.4.0",
|
|
@@ -1064,6 +1064,10 @@
|
|
|
1064
1064
|
},
|
|
1065
1065
|
"engines": {
|
|
1066
1066
|
"node": ">= 18"
|
|
1067
|
+
},
|
|
1068
|
+
"funding": {
|
|
1069
|
+
"type": "opencollective",
|
|
1070
|
+
"url": "https://opencollective.com/express"
|
|
1067
1071
|
}
|
|
1068
1072
|
},
|
|
1069
1073
|
"node_modules/safer-buffer": {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
16
16
|
"@strixgov/capabilities-mcp-common": "0.1.2",
|
|
17
|
-
"@strixgov/guard": "0.
|
|
18
|
-
"@strixgov/mcp-adapter": "0.1.
|
|
19
|
-
"@strixgov/mcp-proxy": "0.2.
|
|
17
|
+
"@strixgov/guard": "0.2.0",
|
|
18
|
+
"@strixgov/mcp-adapter": "0.1.5",
|
|
19
|
+
"@strixgov/mcp-proxy": "0.2.4",
|
|
20
20
|
"@strixgov/tool-gateway": "0.5.2",
|
|
21
|
-
"@strixgov/verifier": "1.
|
|
21
|
+
"@strixgov/verifier": "1.25.0"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Existing component | Reused contract | Demo use |
|
|
6
6
|
|---|---|---|
|
|
7
|
-
| `@strixgov/guard@0.
|
|
7
|
+
| `@strixgov/guard@0.2.0` | `packForServer`, `buildProxyConfig`, `createApproverKey`, `approveSigned` | Selects the existing GitHub capability pack; writes exact approval requests; signs synthetic reviewer decisions over exact request bytes. |
|
|
8
8
|
| `@strixgov/capabilities-mcp-common@0.1.2` | Existing GitHub classifications | Classifies the read and merge tools; the fixture's unclassified `delete_repository` is denied by default. |
|
|
9
|
-
| `@strixgov/mcp-proxy@0.2.
|
|
10
|
-
| `@strixgov/mcp-adapter@0.1.
|
|
9
|
+
| `@strixgov/mcp-proxy@0.2.4` | Existing MCP interception and transport path | Intercepts calls over the supported in-memory test transport; no second proxy is added. |
|
|
10
|
+
| `@strixgov/mcp-adapter@0.1.5` | Capability resolution, policy evaluation, approval handling, receipt and outcome production | Used transitively by the published proxy. Its tarball's own `npm test` script fails because the tarball omits `scripts/preflight.mjs`; see the test logs. |
|
|
11
11
|
| `@strixgov/tool-gateway@0.5.2` | Existing policy, approval, storage, receipt, and signing primitives | Supplies the gateway and persisted logs; the harness adds no competing authority or signer. |
|
|
12
|
-
| `@strixgov/verifier@1.
|
|
12
|
+
| `@strixgov/verifier@1.25.0` | Published receipt-chain and execution-outcome verification | Verifies signed receipts, receipt-linked outcomes, and tampering. Repository candidate 1.24.2 is unpublished and is not substituted. |
|
|
13
13
|
|
|
14
14
|
## Existing source examined but not claimed as a published integration
|
|
15
15
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Template. quickstart.mjs writes a copy with absolute paths for you. Capabilities are inline, so no companion pack is needed. 'default': 'DENY' means a tool you did not classify does not run. Guard's defaults pause unclassified tools for a person instead.",
|
|
3
|
+
"serverId": "synthetic-notes",
|
|
4
|
+
"upstream": { "command": "node", "args": ["./server.mjs", "--data", "./data"] },
|
|
5
|
+
"capabilities": [
|
|
6
|
+
{ "id": "synthetic.read_note", "name": "read_note", "risk": "LOW", "mode": "READ" },
|
|
7
|
+
{ "id": "synthetic.write_note", "name": "write_note", "risk": "MEDIUM", "mode": "WRITE" },
|
|
8
|
+
{ "id": "synthetic.delete_notes", "name": "delete_notes", "risk": "CRITICAL", "mode": "WRITE" }
|
|
9
|
+
],
|
|
10
|
+
"policy": {
|
|
11
|
+
"riskOverrides": { "LOW": "ALLOW", "MEDIUM": "APPROVAL_REQUIRED", "CRITICAL": "DENY" },
|
|
12
|
+
"default": "DENY"
|
|
13
|
+
},
|
|
14
|
+
"approval": { "enabled": true, "type": "file", "requestDir": "./approvals", "timeoutMs": 60000, "pollIntervalMs": 100 },
|
|
15
|
+
"storagePath": "./receipts"
|
|
16
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Five-minute, safe walkthrough of the Strix MCP Proxy. Run: node quickstart.mjs
|
|
3
|
+
// It starts the proxy in front of a synthetic server, then shows, in order:
|
|
4
|
+
// 1. a classified read passes 2. a write pauses for a person
|
|
5
|
+
// 3. a human approves it and it runs 4. a second write is refused
|
|
6
|
+
// 5. a call your policy denies never runs 6. the signed receipts it left
|
|
7
|
+
// Everything happens in a temp folder. No real service or credential is involved.
|
|
8
|
+
import fs from "node:fs";
|
|
9
|
+
import os from "node:os";
|
|
10
|
+
import path from "node:path";
|
|
11
|
+
import { fileURLToPath } from "node:url";
|
|
12
|
+
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
13
|
+
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
|
|
14
|
+
|
|
15
|
+
const here = path.dirname(fileURLToPath(import.meta.url));
|
|
16
|
+
const proxyBin = path.resolve(here, "../../bin/strix-mcp-proxy.mjs");
|
|
17
|
+
const work = fs.mkdtempSync(path.join(os.tmpdir(), "strix-quickstart-"));
|
|
18
|
+
const dirs = { data: path.join(work, "data"), approvals: path.join(work, "approvals"), receipts: path.join(work, "receipts") };
|
|
19
|
+
const notes = path.join(dirs.data, "notes.txt");
|
|
20
|
+
|
|
21
|
+
const cfg = JSON.parse(fs.readFileSync(path.join(here, "proxy-config.json"), "utf8"));
|
|
22
|
+
delete cfg._comment;
|
|
23
|
+
cfg.upstream.args = [path.join(here, "server.mjs"), "--data", dirs.data];
|
|
24
|
+
cfg.approval.requestDir = dirs.approvals;
|
|
25
|
+
cfg.storagePath = dirs.receipts;
|
|
26
|
+
const configPath = path.join(work, "proxy-config.json");
|
|
27
|
+
fs.writeFileSync(configPath, JSON.stringify(cfg, null, 2));
|
|
28
|
+
|
|
29
|
+
const say = (s) => console.log(s);
|
|
30
|
+
const step = (n, s) => say(`\n[${n}] ${s}`);
|
|
31
|
+
const lines = () => fs.readFileSync(notes, "utf8").trim().split("\n").length;
|
|
32
|
+
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
33
|
+
|
|
34
|
+
async function waitForRequest() {
|
|
35
|
+
for (let i = 0; i < 200; i++) {
|
|
36
|
+
const f = fs.existsSync(dirs.approvals) && fs.readdirSync(dirs.approvals).find((x) => x.endsWith(".request.json"));
|
|
37
|
+
if (f) return path.join(dirs.approvals, f);
|
|
38
|
+
await sleep(50);
|
|
39
|
+
}
|
|
40
|
+
throw new Error("no approval request appeared");
|
|
41
|
+
}
|
|
42
|
+
function decide(requestPath, approved) {
|
|
43
|
+
const resp = requestPath.replace(/\.request\.json$/, ".response.json");
|
|
44
|
+
fs.writeFileSync(resp, JSON.stringify({ approved, approvedBy: "you-at-the-keyboard" }));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const client = new Client({ name: "quickstart", version: "0.0.1" }, { capabilities: {} });
|
|
48
|
+
await client.connect(new StdioClientTransport({
|
|
49
|
+
command: process.execPath, args: [proxyBin, "--config", configPath], stderr: "ignore",
|
|
50
|
+
}));
|
|
51
|
+
const txt = (r) => r.content?.map((c) => c.text).join("") ?? "";
|
|
52
|
+
// A refused call reaches the client as an MCP error, not a result.
|
|
53
|
+
const attempt = async (p) => { try { return { ok: true, text: txt(await p) }; } catch (e) { return { ok: false, text: String(e.message) }; } };
|
|
54
|
+
|
|
55
|
+
step(1, "Read a note (classified low-risk: passes)");
|
|
56
|
+
say(` result: ${JSON.stringify(txt(await client.callTool({ name: "read_note", arguments: {} })).split("\n")[0])}...`);
|
|
57
|
+
|
|
58
|
+
step(2, "Ask for a write (classified medium: the proxy pauses it for a person)");
|
|
59
|
+
const before = lines();
|
|
60
|
+
const held = client.callTool({ name: "write_note", arguments: { text: "note-3: written after approval" } });
|
|
61
|
+
const req1 = await waitForRequest();
|
|
62
|
+
const asked = JSON.parse(fs.readFileSync(req1, "utf8"));
|
|
63
|
+
say(` waiting on a person. Tool asked for: ${asked.invocation?.capabilityId ?? "(see request file)"}`);
|
|
64
|
+
say(` notes file lines while paused: ${lines()} (was ${before}) -> the write has not run`);
|
|
65
|
+
|
|
66
|
+
step(3, "A person approves; only now does the write run");
|
|
67
|
+
decide(req1, true);
|
|
68
|
+
say(` result: ${txt(await held)}; notes file lines now: ${lines()}`);
|
|
69
|
+
|
|
70
|
+
step(4, "A second write, this time refused by the person");
|
|
71
|
+
const second = client.callTool({ name: "write_note", arguments: { text: "note-4: should never appear" } });
|
|
72
|
+
decide(await waitForRequest(), false);
|
|
73
|
+
const r2 = await attempt(second);
|
|
74
|
+
say(` ran: ${r2.ok}; the client was told: ${r2.text}`);
|
|
75
|
+
say(` notes file lines: ${lines()} (unchanged)`);
|
|
76
|
+
|
|
77
|
+
step(5, "A call your policy denies (classified critical): never runs, no one is asked");
|
|
78
|
+
const r3 = await attempt(client.callTool({ name: "delete_notes", arguments: {} }));
|
|
79
|
+
say(` ran: ${r3.ok}; the client was told: ${r3.text}`);
|
|
80
|
+
say(` notes file still exists: ${fs.existsSync(notes)}`);
|
|
81
|
+
|
|
82
|
+
await client.close();
|
|
83
|
+
await sleep(200);
|
|
84
|
+
|
|
85
|
+
step(6, "The signed receipts the proxy left (allowed and refused alike)");
|
|
86
|
+
const dir = fs.readdirSync(dirs.receipts, { recursive: true }).map(String);
|
|
87
|
+
const rfile = dir.find((f) => f.endsWith("receipts.jsonl"));
|
|
88
|
+
const jwk = dir.find((f) => f.endsWith("public-jwk.json"));
|
|
89
|
+
const recs = fs.readFileSync(path.join(dirs.receipts, rfile), "utf8").trim().split("\n").map((l) => JSON.parse(l));
|
|
90
|
+
for (const r of recs) {
|
|
91
|
+
const p = r.payload ?? r;
|
|
92
|
+
say(` ${String(p.capabilityId ?? p.toolName ?? "?").padEnd(24)} decision=${p.decision ?? p.outcome ?? "?"} signed=${Boolean(r.signature)}`);
|
|
93
|
+
}
|
|
94
|
+
say("\nWhat a receipt is: evidence of the proxy's recorded decision. It does not by itself prove that the");
|
|
95
|
+
say("downstream server executed or delivered the action; step 3's file change is what showed that here.");
|
|
96
|
+
say("\nCheck them offline with a separate package (needs network the first time):");
|
|
97
|
+
say(` npx @strixgov/verifier chain "${path.join(dirs.receipts, rfile)}" --jwks "${path.join(dirs.receipts, jwk)}"`);
|
|
98
|
+
say(`\nEverything is in ${work} (safe to delete).`);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// A synthetic stdio MCP server for trying the Strix MCP Proxy safely.
|
|
3
|
+
// It holds a few made-up notes. Nothing here touches a real system: the only
|
|
4
|
+
// side effect is appending a line to a text file inside --data <dir>, so you can
|
|
5
|
+
// see whether a write actually ran. No dependencies; newline-delimited JSON-RPC.
|
|
6
|
+
import fs from "node:fs";
|
|
7
|
+
import path from "node:path";
|
|
8
|
+
import readline from "node:readline";
|
|
9
|
+
|
|
10
|
+
const dataIdx = process.argv.indexOf("--data");
|
|
11
|
+
const dataDir = path.resolve(dataIdx > -1 ? process.argv[dataIdx + 1] : "./synthetic-data");
|
|
12
|
+
fs.mkdirSync(dataDir, { recursive: true });
|
|
13
|
+
const notesFile = path.join(dataDir, "notes.txt");
|
|
14
|
+
if (!fs.existsSync(notesFile)) {
|
|
15
|
+
fs.writeFileSync(notesFile, "note-1: synthetic planning note\nnote-2: synthetic meeting note\n");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const tools = [
|
|
19
|
+
{ name: "read_note", description: "Read the synthetic notes file.",
|
|
20
|
+
inputSchema: { type: "object", properties: {} } },
|
|
21
|
+
{ name: "write_note", description: "Append a line to the synthetic notes file.",
|
|
22
|
+
inputSchema: { type: "object", properties: { text: { type: "string" } }, required: ["text"] } },
|
|
23
|
+
{ name: "delete_notes", description: "Delete the synthetic notes file.",
|
|
24
|
+
inputSchema: { type: "object", properties: {} } },
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
const text = (t, isError = false) => ({ content: [{ type: "text", text: t }], ...(isError ? { isError } : {}) });
|
|
28
|
+
|
|
29
|
+
function call(name, args = {}) {
|
|
30
|
+
if (name === "read_note") return text(fs.readFileSync(notesFile, "utf8"));
|
|
31
|
+
if (name === "write_note") {
|
|
32
|
+
fs.appendFileSync(notesFile, `${String(args.text ?? "")}\n`);
|
|
33
|
+
return text("appended");
|
|
34
|
+
}
|
|
35
|
+
if (name === "delete_notes") { fs.rmSync(notesFile, { force: true }); return text("deleted"); }
|
|
36
|
+
return text(`unknown tool: ${name}`, true);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const send = (msg) => process.stdout.write(`${JSON.stringify(msg)}\n`);
|
|
40
|
+
readline.createInterface({ input: process.stdin }).on("line", (line) => {
|
|
41
|
+
let m;
|
|
42
|
+
try { m = JSON.parse(line); } catch { return; }
|
|
43
|
+
if (m.id === undefined) return; // notifications need no reply
|
|
44
|
+
if (m.method === "initialize") {
|
|
45
|
+
return send({ jsonrpc: "2.0", id: m.id, result: {
|
|
46
|
+
protocolVersion: m.params?.protocolVersion ?? "2024-11-05",
|
|
47
|
+
capabilities: { tools: {} }, serverInfo: { name: "strix-synthetic-notes", version: "0.0.1" } } });
|
|
48
|
+
}
|
|
49
|
+
if (m.method === "tools/list") return send({ jsonrpc: "2.0", id: m.id, result: { tools } });
|
|
50
|
+
if (m.method === "tools/call") {
|
|
51
|
+
return send({ jsonrpc: "2.0", id: m.id, result: call(m.params?.name, m.params?.arguments) });
|
|
52
|
+
}
|
|
53
|
+
send({ jsonrpc: "2.0", id: m.id, error: { code: -32601, message: `method not found: ${m.method}` } });
|
|
54
|
+
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strixgov/mcp-proxy",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"mcpName": "io.github.Strixgov/mcp-proxy",
|
|
4
|
+
"version": "0.3.0",
|
|
5
|
+
"description": "Strix MCP Proxy — put an authorization decision in front of the MCP tools an agent uses. Point your MCP client at the proxy instead of the underlying server; every callTool is intercepted, evaluated against policy (reads pass, writes can wait for a person), and produces a signed Ed25519 receipt that verifies offline against the proxy's public key. Source-available (Elastic-2.0).",
|
|
5
6
|
"license": "Elastic-2.0",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"main": "./src/index.mjs",
|
|
@@ -15,9 +16,9 @@
|
|
|
15
16
|
"strix-mcp-proxy": "bin/strix-mcp-proxy.mjs"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
19
|
-
"@strixgov/capabilities-mcp-common": "0.1.2",
|
|
19
|
+
"@modelcontextprotocol/sdk": "^1.10.0",
|
|
20
20
|
"@strixgov/tool-gateway": "0.5.2",
|
|
21
|
+
"@strixgov/capabilities-mcp-common": "0.1.2",
|
|
21
22
|
"@strixgov/mcp-adapter": "0.1.5"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|