Browser Compatibility
Aigentably tools work in all major browsers via native support or automatic polyfill.
How compatibility works
The Aigentably snippet checks for document.modelContext on load. If it's not available natively, it loads the WebMCP polyfill before registering your tools.
The polyfill is served from the same domain as the snippet itself. That matters if your site sends a Content-Security-Policy: allowing https://aigentably.com in script-src covers both, with no second origin to add.
// Simplified snippet logic
if (!document.modelContext) {
await loadPolyfill() // loads WebMCP polyfill
}
// Register tools...This means you don't need to do anything. Compatibility is handled automatically.
Browser support
| Browser | Native WebMCP | Polyfill fallback |
|---|---|---|
| Chrome | Partial | ✓ |
| Firefox | — | ✓ |
| Safari | — | ✓ |
| Edge | Partial | ✓ |
| Brave | Partial | ✓ |
| Opera | Partial | ✓ |
| Mobile Chrome | — | ✓ |
| Mobile Safari | — | ✓ |
"Partial" means the browser has some modelContext support but may not implement the full spec. The polyfill fills any gaps.
Native support comes from origin trials: Chrome runs one from version 149, currently through Chrome 162, and Microsoft runs its own in Edge from version 150 until March 30, 2027. Brave and Opera are Chromium-based. For Safari and Firefox, native support isn't on the way: WebKit has formally opposed WebMCP, and Mozilla closed its review as neutral. There the polyfill is the long-term answer, not a stopgap.
AI agent compatibility
AI agents that support WebMCP natively query document.modelContext.getTools() directly. Agents that don't yet support WebMCP will not call your tools, but as the standard matures, more agents will adopt it.
As of September 2026, most mainstream AI agents don't call WebMCP tools in production yet. The spec's own implementation-status list names ChatGPT Desktop as supporting WebMCP and Brave's Leo assistant as having experimental support, and Google's Chrome Model Context Tool Inspector extension demonstrates tool invocation via Gemini for testing. In October 2026 the Chrome team added webmcp-extension, an open-source example agent that calls a page's tools from Chrome's side panel with Gemini, OpenAI, Anthropic, Ollama or Chrome's on-device model, and shows how an agent acts on tool hints (see Connect an LLM client for setup). The mcp-b browser extension bridges tool calls for developers who opt in. Broader agent adoption is expected to follow as the origin trials mature.
Polyfill loading
The polyfill loads automatically from your own Aigentably domain (falling back to a public CDN only if that fails). If it fails entirely, the snippet logs a warning and continues. Native WebMCP still functions where available.
Checking your own tools in Chrome
Chrome ships a WebMCP panel in DevTools, and Google publishes a companion Model Context Tool Inspector extension, for inspecting registered tools directly in the browser. Both read from a separate, experimental surface (navigator.modelContextTesting) rather than the production API (document.modelContext) that real agents use — Aigentably's snippet already keeps this mirrored automatically, so what you register shows up there too.
That surface is off by default in Chrome itself. To see your tools in either tool, enable chrome://flags/#enable-webmcp-testing in your own browser first — this is a setting on the browser doing the inspecting, not something a site configures. Your dashboard's Tool Registration Check works without any flag and is the check that matters for real agent traffic; the DevTools panel and the Inspector extension are optional, for browsing your own tools by hand.
If you'd rather not offer that one-click convenience for a tool that does something consequential (a discount code, a cart change), turn it off per site under your site's dashboard page → "Visible in Chrome's WebMCP DevTools". It changes nothing about what real agents can call — that goes through the same registry either way — it only removes the manual-invoke button from Chrome's own inspection tools.
document.domain and older Chrome builds
Earlier versions of the WebMCP spec only allowed it in an origin-keyed agent cluster, and Chrome builds from that time throw a SecurityError on any access to document.modelContext outside one. The most common way a page ends up outside one is that it sets document.domain, a legacy technique some sites still use to relax same-origin checks across subdomains.
The spec dropped that requirement on 30 September 2026 (webmcp#330), and newer Chrome builds no longer throw. On a page that sets document.domain, tools register normally in those builds and under the polyfill; only visitors on an older Chrome build miss them.
Removing document.domain is still the recommended fix: it is a deprecated pattern Chrome is phasing out regardless, and removing it gets your tools to visitors on older builds too. Aigentably never sets it, so check your own page's source, or any third-party script or widget you've embedded (a legacy analytics tag, an old cross-subdomain SSO snippet), for a line like document.domain = "example.com".
You don't need to watch for this yourself: when a visitor's browser throws that error, the snippet reports it to us automatically, so we can flag it to you if it ever comes up.