Tutorial · 10 minutes
Gate your first WebMCP release.
Create the adapter skeleton, connect an owned test surface, collect a reviewed contract, and make CI reject any proof that is not both valid and safe.
1. Initialize
npm install --save-dev github:VasuBansal7576/webmcp-arena#v0.5.0
npx arena init
# review arena.config.mjs
# implement arena/document-sharing.adapter.ts2. Prepare the boundary
Your adapter supplies two isolated lanes: the interface a human uses and the registered tool an agent invokes. Record authoritative effects from your backend rather than accepting claims from the page.
arena test \
--target http://127.0.0.1:4173 \
--fixture-token "$ARENA_FIXTURE_TOKEN" \
--browser-executable "/path/to/Chrome" \
--browser-mode native \
--write-contract /tmp/arena-contract.json3. Review, run, and gate
Approve the exact contract outside the Arena package directory, run the agent lane, then make the signed portable proof a release requirement.
arena verify arena-proof.json --require pass
# exit 0: signature, semantics, and pass verdict hold
# exit 1: block the releaseNext
Read the human–agent boundary, then use the proof reference to wire your release system.