What Does the MCP Apps 2.1 WebMCP Bridge Actually Expose?
Post · https://dev.to/gde/what-does-the-mcp-apps-21-webmcp-bridge-actually-expose-5aaa
An embedded MCP App can now encounter two tool surfaces: the tools it registers through the MCP Apps...
First seen by Oriel on .
AI summary
This article tests the @modelcontextprotocol/ext-apps@2.1.0 WebMCP bridge, defining its bidirectional tool exposure, collision handling, result translation, annotation mapping, and cleanup behavior.
- With bridging enabled, the host-side app interface discovers page tools and the document discovers app tools; disabling it preserves app tools over MCP but stops page-tool imports.
- The SDK avoids re-importing its own mirrors, filters page descriptors to the relevant document context, and gives app registrations priority when names collide.
- Through a WebMCP mirror, structured content takes precedence, errors reject execution, and available content is used when structured content is absent.
- Only readOnlyHint is verified across the tested annotation path, while removing an app registration also removes its page mirror.
- Four tests use @modelcontextprotocol/ext-apps@2.1.0 with in-memory transport and a page-API double, so they do not establish Chrome permissions, host frame policy, or native end-to-end behavior.
#mcp apps #webmcp #tool bridging #sdk testing
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Reactions
Total public reactions reported by the source; distinct from points and likes.
- DEV Community: 35, latest observation ; +18 over observed period since
Comments
Comment count reported by the source.
- DEV Community: 37, latest observation ; +30 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| DEV Community | 5096649 | https://dev.to/gde/what-does-the-mcp-apps-21-webmcp-bridge-actually-expose-5aaa Read discussion |