mcp-use-evc-example
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의 일부가 아닙니다.
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