@kya-os/mcp-i 1.12.2 → 1.12.4
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 +5 -5
- package/dist/125.js +1 -0
- package/dist/runtime/248.js +1 -0
- package/dist/runtime/adapter-express.js +3 -3
- package/dist/runtime/adapter-nextjs.js +3 -3
- package/dist/runtime/delegation-verifier-agentshield.d.ts +5 -5
- package/dist/runtime/delegation-verifier-agentshield.js +20 -20
- package/dist/runtime/delegation-verifier.d.ts +3 -3
- package/dist/runtime/delegation-verifier.js +1 -1
- package/dist/runtime/http.js +3 -3
- package/dist/runtime/identity.d.ts +26 -0
- package/dist/runtime/identity.js +37 -4
- package/dist/runtime/mcpi-runtime-wrapper.js +4 -2
- package/dist/runtime/mcpi-runtime.d.ts +2 -2
- package/dist/runtime/mcpi-runtime.js +63 -62
- package/dist/runtime/proof-batch-queue.d.ts +3 -3
- package/dist/runtime/proof-batch-queue.js +9 -9
- package/dist/runtime/stdio.js +3 -3
- package/dist/runtime/tool-protection.d.ts +4 -4
- package/dist/runtime/tool-protection.js +5 -5
- package/dist/runtime/utils/tools.js +5 -5
- package/dist/test/examples/test-usage-example.d.ts +8 -8
- package/package.json +3 -3
- package/dist/365.js +0 -1
- package/dist/runtime/160.js +0 -1
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ npm install @kya-os/mcp-i
|
|
|
40
40
|
- **Identity Management** - Ed25519 key generation and DID-based identity
|
|
41
41
|
- **Cryptographic Proofs** - JWS proof generation for tool responses
|
|
42
42
|
- **Session Management** - Nonce-protected sessions with configurable TTL
|
|
43
|
-
- **Delegation Verification** - Verify delegated permissions from
|
|
43
|
+
- **Delegation Verification** - Verify delegated permissions from Checkpoint
|
|
44
44
|
- **Tool Protection** - Configure which tools require delegation
|
|
45
45
|
- **Canonical Audit Trails** - Record privacy-minimal lifecycle events through `@kya-os/mcp`
|
|
46
46
|
- **Well-Known Endpoints** - Standard MCP-I discovery endpoints
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
AgentShieldToolProtectionSource
|
|
162
162
|
} from "@kya-os/mcp-i";
|
|
163
163
|
|
|
164
|
-
// Load protection config from
|
|
164
|
+
// Load protection config from Checkpoint
|
|
165
165
|
const source = new AgentShieldToolProtectionSource({
|
|
166
166
|
apiUrl: "https://kya.vouched.id",
|
|
167
167
|
apiKey: process.env.AGENTSHIELD_API_KEY,
|
|
@@ -286,9 +286,9 @@ const identity = await deterministicKeys.generateIdentity("test-agent");
|
|
|
286
286
|
| `AGENT_PRIVATE_KEY` | Base64-encoded Ed25519 private key (production) |
|
|
287
287
|
| `AGENT_KEY_ID` | Key ID for the agent |
|
|
288
288
|
| `AGENT_DID` | Agent's DID (production) |
|
|
289
|
-
| `AGENTSHIELD_API_KEY` | API key for
|
|
290
|
-
| `AGENTSHIELD_API_URL` |
|
|
291
|
-
| `AGENTSHIELD_PROJECT_ID` | Project ID in
|
|
289
|
+
| `AGENTSHIELD_API_KEY` | API key for Checkpoint |
|
|
290
|
+
| `AGENTSHIELD_API_URL` | Checkpoint API URL (default: `https://kya.vouched.id`) |
|
|
291
|
+
| `AGENTSHIELD_PROJECT_ID` | Project ID in Checkpoint |
|
|
292
292
|
| `XMCP_ENV` | Set to `test` to enable test infrastructure |
|
|
293
293
|
|
|
294
294
|
## Platform Support
|