mcp-use-evc-example
mcp-use + EVC-Autorisierungsbeispiel
Dieses eigenständige Beispiel platziert eine Bolyra External Verifier Contract v1-Host-Grenze hinter die vorhandene mcp-use-TypeScript-Middleware-Nahtstelle. Ein Gateway tritt als Proxy für vault_echo auf, startet einen einmaligen externen Verifier, validiert dessen geschlossenes Verdict-Envelope und ruft next() nur nach einem allow auf.
Ausführen
npm install
npm test
npm run devÖffne die ausgegebene URL, um den integrierten mcp-use Inspector zu verwenden. Rufe vault_echo mit folgendem Inhalt auf:
{
"message": "hello",
"bundle": "demo-valid-bundle",
"agentName": "research-bot",
"model": "demo-model"
}Ändere bundle auf einen beliebigen anderen Wert, um zu sehen, wie der externe Verifier den Aufruf ablehnt, bevor der Upstream-Server ausgeführt wird.
Der Host-Adapter demonstriert die wichtigen EVC-Mechanismen: eine Anfrage auf stdin, ein begrenztes Verdict auf stdout, Timeout- und Prozessfehlerbehandlung, strikte Verdict-Strukturen, Nonce-Behandlung nach dem Reserve-before-Dispatch-Prinzip und Fail-Closed-Verhalten. Der Verifier ist bewusst eine winzige External-Class-Demo, nicht Bolyras ZK-Verifier.
EVC ist ein unabhängiger Drittanbieter-Vertrag und nicht Teil von MCP oder mcp-use.
This server cannot be deployed
Maintenance
Related MCP Connectors
Contract-change authorization for AI agents: preflight a change to an API or MCP contract, get a signed decision, and verify the receipt offline. Only a granted change can proceed.
Host any HTTP API as MCP tools with a tamper-evident cross-agent settlement ledger.
Pre-install canonical-identity verification for MCP servers and skills, with signed verdicts.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnforces identity-based access control and audit logging for MCP servers, letting you grant fine-grained tool permissions to users and systems while failing secure by default.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to govern downstream tool servers by enforcing default-deny authority and attestation on every tool call, with live monitoring, approval, and mid-session revocation.3Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables MCP servers to enforce their own Proof of Delegation by refusing tool calls when authorization is revoked, suspended, or expired, with optional self-check and verification tools.8 npmMIT
- AlicenseAqualityBmaintenanceEnables action-bound authorization and verifiable evidence contracts for MCP tool execution, offering deterministic action planning, policy decisions, and one-use capability tokens tied to exact action envelopes.31Apache 2.0