05 / WEBMCP PLAYGROUND

Test the agent-native web.

A safe, page-scoped lab for humans and agents to try native WebMCP tools, React state, and an allowlisted backend API together.

ENABLE WEBMCP TO EXPOSE TOOLSAPI: /api/playgroundtoolchange events: 0

LIVE TOOL LAB

Run a tool

These buttons mirror what a compatible browser agent can invoke from this page.

No tool has been run yet.

HOW IT WORKS

WebMCP, React, and API—with boundaries.

01 / PAGE-SCOPED

Tools belong to this page

They are registered with document.modelContext.registerTool() and cancelled with an AbortController when the page unmounts.

02 / ALLOWLISTED

No arbitrary backend access

The API accepts only named operations, validates inputs, and never fetches a URL supplied by a tool caller.

03 / HUMAN-APPROVED

Effects stop for permission

State-changing actions return an approval-required result until a person enables the checkpoint.

04 / INJECTION-AWARE

Content stays content

Instruction-like text is quarantined by the demo API. Agents must treat page content and tool output as untrusted data.