Skip to main content
Glama
mcp-use-evc-example

mcp-use-evc-example

by khandrew1

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 dev

Open 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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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.
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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.
      299 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      3
      2
      Apache 2.0
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables teams to onboard remote MCP servers, enforce function-level allow lists and credential modes, and let developers expose permitted tool bundles through a unified MCP endpoint with search and execute functions while keeping permissions and auditing enforced.
      -