Agent MCP Directory

document.modelContext

document.modelContext: The WebMCP entry point on the document object that holds registerTool, getTools and executeTool. Example: Cloudflare Browser Run moved to document.modelContext on 28 Sep 2026. Next in the glossary is Dynamic Client Registration (DCR): RFC 7591 registration where a client POSTs to /register for credentials; deprecated in MCP 2026-07-28 and kept for compatibility.

Definition

The WebMCP entry point on the document object that holds registerTool, getTools and executeTool.

Example, with source

Cloudflare Browser Run moved to document.modelContext on 28 Sep 2026. (developers.cloudflare.com, read 4 November 2026)

Where it appears on this site

Neighbouring terms

  • Confused deputy: An attack where a proxy with its own credentials is tricked into acting for someone else; MCP security guidance addresses it for OAuth proxies.
  • Dynamic Client Registration (DCR): RFC 7591 registration where a client POSTs to /register for credentials; deprecated in MCP 2026-07-28 and kept for compatibility.
  • Elicitation: A way for a server to ask the user, through the client, for more information, now handled through multi round-trip requests.