MCP under the hood

Live handshake · /api/mcp · JSON-RPC 2.0

SSE connecting…
Mini Map

Drive the demo

The buttons POST a JSON-RPC envelope straight to /api/mcp — the same wire message any MCP client (Claude, the inspector, curl) would send.

Local file system

Paths are sandboxed to the configured root (MCP_FS_ROOT, default: project root). A trailing path like "../.." is rejected server-side.

Host system

Reaches outside the sandbox onto the host machine. Root is MCP_SYSTEM_ROOT (default: "/"); the pdf button parses via pdf-parse and returns text + metadata.

Lifecycle log

0 events
  • ▸ waiting for a request… run tools/list or chrome_fetch_headline.

JSON-RPC response

No request sent yet.