protect-mcp 0.4.3 → 0.4.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/README.md +1 -1
- package/dist/{bundle-TXOTFJIJ.mjs → bundle-XTR3YMPO.mjs} +1 -0
- package/dist/chunk-PQJP2ZCI.mjs +8 -0
- package/dist/chunk-SU2FZH7U.mjs +35167 -0
- package/dist/cli.mjs +8 -7
- package/dist/demo-server.d.mts +21 -0
- package/dist/demo-server.d.ts +21 -0
- package/dist/demo-server.js +35054 -0
- package/dist/demo-server.mjs +7 -135
- package/dist/{ed25519-EDO4K4EP.mjs → ed25519-V7HDL2WC.mjs} +1 -0
- package/dist/{http-transport-VLIPOPIC.mjs → http-transport-XCHIKTYG.mjs} +1 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +35176 -11
- package/dist/index.mjs +5 -0
- package/dist/{report-ENQ3KUI2.mjs → report-5XCNW6FB.mjs} +1 -0
- package/dist/{utils-IDWBSHJU.mjs → utils-6AYZFE5A.mjs} +1 -0
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -3,6 +3,9 @@ import {
|
|
|
3
3
|
parseLogFile,
|
|
4
4
|
simulate
|
|
5
5
|
} from "./chunk-VIA2B65K.mjs";
|
|
6
|
+
import {
|
|
7
|
+
createSandboxServer
|
|
8
|
+
} from "./chunk-SU2FZH7U.mjs";
|
|
6
9
|
import {
|
|
7
10
|
collectSignedReceipts,
|
|
8
11
|
createAuditBundle
|
|
@@ -31,6 +34,7 @@ import {
|
|
|
31
34
|
formatReportMarkdown,
|
|
32
35
|
generateReport
|
|
33
36
|
} from "./chunk-JQDVKZBN.mjs";
|
|
37
|
+
import "./chunk-PQJP2ZCI.mjs";
|
|
34
38
|
|
|
35
39
|
// src/manifest.ts
|
|
36
40
|
function isAgentId(s) {
|
|
@@ -1433,6 +1437,7 @@ export {
|
|
|
1433
1437
|
createLogAnchorField,
|
|
1434
1438
|
createReceiptChannel,
|
|
1435
1439
|
createSandbox,
|
|
1440
|
+
createSandboxServer,
|
|
1436
1441
|
destroySandbox,
|
|
1437
1442
|
ed25519ToDIDKey,
|
|
1438
1443
|
evaluateTier,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "protect-mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"mcpName": "io.github.tomjwxf/protect-mcp",
|
|
5
5
|
"description": "Security gateway for MCP servers. Shadow-mode logs, per-tool policies, optional local Ed25519-signed receipts. Programmatic hooks for trust tiers, credential config, and external policy engines.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"optionalDependencies": {
|
|
65
65
|
"@cedar-policy/cedar-wasm": "^4.9.1",
|
|
66
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
66
67
|
"@noble/curves": "^1.8.0",
|
|
67
68
|
"@noble/hashes": "^1.7.0"
|
|
68
69
|
},
|