mcp-use-evc-example
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-use-evc-exampleCall vault_echo with message 'hello' and bundle 'demo-valid-bundle' to see it allowed."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-use + EVC authorization example
This standalone example puts a Bolyra External Verifier Contract v1 host boundary behind the existing mcp-use TypeScript middleware seam. A gateway proxies vault_echo, spawns a single-shot external verifier, validates its closed verdict envelope, and calls next() only after an allow.
Run
npm install
npm test
npm run devOpen the printed URL to use the built-in mcp-use Inspector. Call vault_echo with:
{
"message": "hello",
"bundle": "demo-valid-bundle",
"agentName": "research-bot",
"model": "demo-model"
}Change bundle to any other value to see the external verifier deny the call before the upstream server runs.
The host adapter demonstrates the important EVC mechanics: one request on stdin, one bounded verdict on stdout, timeout and process failure handling, strict verdict shapes, reserve-before-dispatch nonce handling, and fail-closed behavior. The verifier is intentionally a tiny external-class demo, not Bolyra's ZK verifier.
EVC is an independent third-party contract and is not part of MCP or mcp-use.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Remote MCP for A2A caller identity, scope policy, verdict receipts, and audit history.
- DecionisOAuthcom.decionis
Bind authority to the exact action and re-evaluate before commit. The hosted Decionis MCP service connects proposed actions to policy decisions, organization context, and signed evidence. Start in shadow mode before enabling enforcement through a supported executor. Requires OAuth or an organization API key.
The MCP server that vets MCP servers: identity, risk grade and per-tool risk before you install.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables MCP hosts to verify agent spending mandates and receipts, providing stateless tools for authorization, chain verification, credential verification, and DID resolution.Apache 2.0- 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 gradedqualityCmaintenanceEnables 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.81 npmMIT