Skip to main content
Glama
khandrew1

mcp-use-evc-example

by khandrew1

mcp-use + EVC 권한 부여 예제

이 독립 실행형 예제는 기존 mcp-use TypeScript 미들웨어 경계 뒤에 Bolyra External Verifier Contract v1 호스트 경계를 배치합니다. 게이트웨이는 vault_echo를 프록시하고, 단발성 외부 검증기를 생성하며, 닫힌 평결 봉투를 검증한 후 allow가 있을 때만 next()를 호출합니다.

실행

npm install
npm test
npm run dev

출력된 URL을 열어 기본 제공 mcp-use Inspector를 사용하세요. 다음으로 vault_echo를 호출하세요:

{
  "message": "hello",
  "bundle": "demo-valid-bundle",
  "agentName": "research-bot",
  "model": "demo-model"
}

bundle을 다른 값으로 변경하면 업스트림 서버가 실행되기 전에 외부 검증기가 호출을 거부하는 것을 확인할 수 있습니다.

호스트 어댑터는 중요한 EVC 메커니즘을 보여줍니다. stdin에 요청 하나, stdout에 제한된 평결 하나, 타임아웃 및 프로세스 실패 처리, 엄격한 평결 형태, 디스패치 전 예약(reserve-before-dispatch) 논스 처리, 그리고 실패 시 닫힘(fail-closed) 동작입니다. 검증기는 의도적으로 Bolyra의 ZK 검증기가 아닌 작은 외부 클래스 데모입니다.

EVC는 독립적인 제3자 계약이며 MCP나 mcp-use의 일부가 아닙니다.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Security gateway that wraps any MCP server with per-tool policies, approval gates, and optional Ed25519-signed decision receipts. Shadow mode logs every tool call without blocking; enforce mode applies block, rate-limit, and minimum-tier rules. Receipts are independently verifiable offline with no accounts needed.
    5
    693
    9
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP hosts to verify agent spending mandates and receipts, providing stateless tools for authorization, chain verification, credential verification, and DID resolution.
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    An authorizing reverse proxy for MCP servers that enforces per-call policy rules on tool arguments with audit logging, dry-run, and rate limiting.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enforces 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

View all related MCP servers

Related MCP Connectors

  • Remote MCP for A2A caller identity, scope policy, verdict receipts, and audit history.

  • A paid remote MCP for ZeroID, built to return verdicts, receipts, usage logs, and audit-ready JSON.

  • A paid remote MCP for Skybridge, built to return verdicts, receipts, usage logs, and audit-ready JSO

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/khandrew1/mcp-use-evc-example'

If you have feedback or need assistance with the MCP directory API, please join our Discord server