An embedded MCP App can now encounter two tool surfaces: the tools it registers through the MCP Apps SDK and the tools its document exposes through WebMCP. A bridge between them is convenient, but “bridged” leaves several important questions unanswered.
Which tools become visible? What happens when names collide? Do all annotations survive? Is a structured result returned as an object or wrapped as protocol content?
MCP Apps 2.1.0 makes those questions timely. The companion example tests the released SDK against an in-memory MCP connection and a small page-API double. That gives us executable answers about SDK behavior while keeping native-browser and host integration as separate checks.
Model the two directions independently
The bridge supports both directions. App-registered tools can be mirrored onto the document's WebMCP surface. Tools already exposed by the page can become available through the app's tool interface.
Those directions have different owners. The app controls its registrations and their cleanup. The page controls its existing tools. A bridge should not accidentally discover its own mirrors and import them again.
The current SDK implementation explicitly manages that distinction. It also filters page tool descriptors to the relevant document context. Avoid interpreting the bridge as a way to aggregate every tool from every frame in a host application.
Pin the release you are investigating
The example uses @modelcontextprotocol/ext-apps@2.1.0 explicitly. At the November 22, 2026 verification point, the registry's latest tag still resolved to 2.0.4 even though 2.1.0 was available. A tag is not a substitute for recording the installed package version.
The package also pins compatible MCP dependencies and includes a lockfile. That makes a bridge experiment reproducible after release tags move.
The app constructor makes the switch visible:
const app = new App(
{ name: "event-review", version: "1.0.0" },
{ tools: { listChanged: true } },
{ autoResize: false, webMcpBridge: true },
);
This is the bridge setting from the companion fixture. The SDK enables bridging by default; spelling it out makes the experiment easier to read. A second test sets it to false and checks the resulting discovery behavior.
Test discovery with an asymmetric fixture
Give the page and app different tools. The page exposes read_page_status; the app exposes read_event_review. If both use the same name initially, a passing discovery test can conceal which registration supplied the result.
With bridging enabled, the test confirms that the host-side app interface can discover the page tool and that the document can discover the app tool. With bridging disabled, the app's own tool remains available through its MCP connection, while the page tool is not imported through the bridge.
This distinction is useful when deciding whether to disable automatic bridging. Turning it off is not equivalent to disabling the app's tools. It changes the connection between the two surfaces.
The implementation gives app registrations priority when names collide. Treat that as a documented resolution rule, not an invitation to reuse generic names everywhere. Names such as read_event_review communicate ownership and purpose more clearly than get_data.
Inspect the result boundary
MCP tool results can contain content blocks and structured content. WebMCP callers expect the page-facing execution result. The bridge must translate between these representations.
For the tested version, an app result's structured content takes precedence when the tool is invoked through its WebMCP mirror. An error result becomes a rejected execution at that boundary. When there is no structured content, the bridge uses the available content representation.
The companion tool returns both forms intentionally. The test calls the mirrored tool and verifies the structured event-review object. This prevents a superficial “the promise resolved” assertion from passing even if the caller receives an unexpected wrapper.
The app source and bridge implementation are part of the research record. They are especially useful here because a broad feature announcement cannot specify every translation detail.
Do not assume annotation equivalence
The page fixture includes both readOnlyHint and another hint. The test verifies the specific mapping implemented by this release: readOnlyHint is carried across the relevant bridge path. It does not assume every WebMCP annotation has an identical MCP Apps counterpart.
This is a contract boundary worth documenting in an integration review. If a host relies on a hint that the bridge does not transmit, the host may present or classify the tool differently from the original page.
Hints still do not replace application enforcement. Validate inputs, constrain resource access, and require the appropriate user decision for consequential actions in the application itself. Translation metadata cannot supply missing authorization.
Make cleanup observable
Registration has a lifetime. The fourth fixture concern is what happens when the app removes its tool. The SDK test confirms that removing the app registration removes its page mirror.
That matters in a React application where a review panel can close or switch events. A stale mirror can advertise a capability whose original owner no longer exists. Include discovery after removal in the test instead of checking only the initial tool list.
The companion suite contains four passing tests covering bidirectional exposure, the disabled bridge, mirror removal, and annotation mapping. They use the real released SDK and its in-memory transport. The page API is a test double, so these results do not establish Chrome permission behavior, an actual host's embedded-frame policy, or a complete native end-to-end workflow.
Decide what belongs across the bridge
For an event-review demo, begin with bounded read operations and a prepare-review action. Keep final submission behind the application's existing review and authorization path. Then decide explicitly which tools should be visible to the host and which should remain local to the page.
The bridge removes integration work, but it does not remove interface design. A useful tool surface still needs clear names, validated inputs, predictable results, and a lifetime tied to the workflow that owns it.

Top comments (16)
Wow, this is interesting!
One compatibility edge worth testing: Chrome 160 replaces
RegisteredTool.windowwithTool.source, butownWebMcpTools()currently checks onlytool.windowand treats an undefined value as belonging to the current document. That could allow tools from other frames into the bridge unintentionally; I'd support both API shapes, reject null or mismatched sources, and add a real-browser iframe test. Have you considered testing the bridge against the newToolinterface?@andrii_0308f2a18c503d78ec Good catch. The in-memory page double cannot establish that iframe ownership boundary. A real-browser check should register tools in two frames, then assert that only the current document’s tools cross the bridge under both descriptor shapes—and fail closed when source information is absent. If you have a minimal Chrome 160 repro, I’d be interested in comparing it with the current fixture.
Thanks, @raju_dandigam . I don’t have a Chrome 160 repro yet; I spotted this while reading the 2.1.0 source. I’d start with a same-origin iframe so the browser test checks document ownership without mixing in cross-origin permissions. The assertion I’d want is that WebMCP can see both tools, but only the current document’s tool is listed or callable through the bridge. I’d keep the missing-source case in the existing fixture so it can be tested directly.
The result-boundary section is what I'll steal: when the mirrored tool is invoked from WebMCP, structured content takes precedence and an error becomes a rejected execution, not a resolved wrapper. A test that only checks that the promise resolved would have gone green on the wrong shape. That's exactly the kind of "bridged" lie this post is trying to pin down.
The asymmetric fixture is the testing move I'd steal — same name on both sides and a passing discovery test would have hidden which registration actually supplied the result. The bit I'm still chewing on is the collision rule: app registrations win, which is documented, but it quietly means a page tool with a generic name just disappears behind the app's version. Do you namespace your page tools to avoid that, or is it basically a non-issue in practice because your names are specific enough?
The annotation part is the one that stuck with me. readOnlyHint making it across is good, but the shape of the problem is what the bridge doesn't transmit, because then the host classifies the tool differently from the page that defined it. I ran into the same shape on the other side of MCP last week: a baseline diff that catches an added tool and a widened input, but prints "No changes" when the launch command itself is swapped, because the command isn't a tool. The mirror-removal test is the one I'd trust most in a React app. A stale mirror advertising a capability whose owner is gone is exactly the kind of thing that fails quietly in production.
The "latest still pointed at 2.0.4 after 2.1.0 was out" detail is the kind of thing I would have missed if I was only reading a changelog. Pinning the package, and giving the page and the app different tool names, is what makes the discovery result trustworthy. A passing test with the same name on both sides could hide which registration actually answered. I also like the reminder that turning the bridge off is not the same as disabling the app's own tools — it only cuts the connection between the two surfaces.
Excellent breakdown. The distinction between tool discovery, ownership, and execution boundaries is particularly important. Bridging tools simplifies integration, but it doesn't eliminate the need for explicit authorization, predictable behavior, and proper lifecycle management. Thanks for sharing such a practical technical analysis.
The cleanup fixture raises an adjacent question I'd love to see pinned down: discovery-after-removal is tested — but what about a call already in flight when the registration is removed? The mirror vanishes from the tool list, yet the handler may still commit its side effect. For read_page_status that's cosmetic; for a consequential tool (the prepare-review action, or anything that charges a wallet) the gap between "rejected before execution" and "response lost after commit" is exactly where duplicate-execution bugs live.
We probe this window against MCP tool stacks in our lab — lost response after commit, in-flight takeover, cross-instance races — and it's rarely specified at the bridge layer. Does 2.1.0 define result semantics for calls in flight during removal, or is that left to the app?
Also +1 on recording the installed version instead of the tag — we pin exact versions and lockfile hashes in every test record for the same reason.
The 2.0.4 latest tag still pointing at 2.1.0 on November 22 caught me off guard, since I would have trusted the tag blindly.
One case the document filter does not cover: any script running in the app's own document can register a WebMCP tool, so an analytics or chat widget the app loads would become a host-visible tool if the bridge imports everything registered there, and bridging is on by default. Ownership by document says nothing about which script wrote the tool. A test where a third-party script registers a tool after load, plus an allowlist of page tool names the app expects to import, would show whether the bridge can be scoped to what the app author actually wrote