Skip to content

Update dependency @mcp-b/webmcp-polyfill to v3#8673

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/mcp-b-webmcp-polyfill-3.x
Open

Update dependency @mcp-b/webmcp-polyfill to v3#8673
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/mcp-b-webmcp-polyfill-3.x

Conversation

@renovate

@renovate renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@mcp-b/webmcp-polyfill (source) 2.3.23.0.0 age confidence

Release Notes

WebMCP-org/npm-packages (@​mcp-b/webmcp-polyfill)

v3.0.0

Major Changes
  • 4f3cc5e: Track the May 27, 2026 WebMCP draft that moves the modelContext getter from Navigator to Document.

    • @mcp-b/webmcp-polyfill now installs document.modelContext as the canonical surface. navigator.modelContext is kept as a deprecated, backward-compatible alias that returns the same ModelContext instance and emits a one-time runtime deprecation warning on first access. Tools registered on either surface are observable on the other. Native detection now checks both surfaces so the polyfill no-ops when the browser exposes WebMCP on either.
    • @mcp-b/webmcp-types adds the Document.modelContext global augmentation and marks Navigator.modelContext as @deprecated. Chrome 150 deprecated navigator.modelContext and will remove it in a future release; the deprecated alias remains available in this release as a migration fallback.
    • Breaking: the removed provideContext() and clearContext() APIs remain absent from the strict WebMCP types and polyfill runtime. Consumers still calling those legacy APIs should migrate to explicit registerTool() and unregisterTool() calls.

    Migration:

    const modelContext = document.modelContext || navigator.modelContext;
    if (modelContext) {
      modelContext.registerTool({
        /* ... */
      });
    }

    Tracks webmachinelearning/webmcp#173 and webmachinelearning/webmcp#184.

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/mcp-b-webmcp-polyfill-3.x branch 18 times, most recently from 6bc401a to dd6cd2c Compare June 24, 2026 10:08
@renovate renovate Bot force-pushed the renovate/mcp-b-webmcp-polyfill-3.x branch from dd6cd2c to 4b701e5 Compare June 24, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants