Repository navigation
fix(deps): update dependency @mcp-b/global to v6 - #68
Draft
github-actions[bot] wants to merge 1 commit into
Draft
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
renovate/mcp-b-global-6.x
branch
from
October 26, 2026 16:26
60ade29 to
2cda0f8
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.1.0→6.0.3Release Notes
WebMCP-org/npm-packages (@mcp-b/global)
v6.0.3Compare Source
Patch Changes
d1c3454]v6.0.2Compare Source
Patch Changes
v6.0.1Compare Source
Patch Changes
v6.0.0Compare Source
Major Changes
160acc3: Breaking: the global MCP-B runtime now extends the upstream WebMCP context.It continues to install automatically from
import '@​mcp-b/global'or the existingIIFE, and keeps its default tab/iframe transport setup. Update installed MCP-B
packages together for this major release.
Migrate browser calls
Feature-detect the context as before.
toolmust be a descriptor returned byawait context.getTools(). Imperative tools return JSON strings; native declarativetools can return plain text. Direct calls preserve that result, while MCP calls
normalize both formats into MCP content. Bare
nullresults and serializeddiscovery schemas from older Chrome implementations are no longer adapted. Return
JSON-serializable callback results and catch execution rejections.
Remove
installTestingShimfrominitializeWebModelContext()options andwindow.__webModelContextOptions.navigator.modelContextTestingis removed;tests should discover descriptors with
getTools()and execute them throughdocument.modelContext. Native contexts are preserved, so older browser previewsmust be upgraded to the current object-input contract.
Extensions and TypeScript
The declarative API (
toolname,tooldescription, and related attributes) andSubmitEvent.agentInvoked/respondWith()remain available from the standalonepolyfill while upstream support is pending. MCP output schemas, prompts, and
resources belong to this package's runtime.
Core declarations now come from
webmcp-types. The temporary@mcp-b/webmcp-typesalias only forwards the upstreamWebMCPnamespace. ImportMCP-B extension types and guards from
@mcp-b/webmcp-ts-sdk:Move schema/response helper imports from
@mcp-b/webmcp-polyfill/schemato@mcp-b/webmcp-ts-sdk/schema. StandardgetTools()remains upstream discovery;use MCP discovery or
listTools()when you need MCP output metadata.Cleanup and frames
cleanupWebModelContext()closes the MCP server and transport, then restoresthe underlying context. Closing the server aborts every registration made
through
document.modelContextwhile the runtime was installed, so those toolsalso disappear from the underlying context, and calling
initializeWebModelContext()again does not bring them back; register themagain after re-initializing. Tools registered directly on the underlying
context, including declarative tools, survive cleanup. The core polyfill and its
declarative layer stay installed for the document lifetime. Use registration
AbortControllers to remove your tools and invocation signals to cancel work.
The transport connects, and announces
mcp-server-ready, only after the firstdiscovery of tools already registered on the underlying context, so a client's
first
tools/listis complete. Upstream discovery waits up to 500 ms for framesthat do not answer, so a page embedding an iframe without WebMCP sees its first
ready message delayed by about that much.
Browser discovery and execution now use upstream frame and origin behavior.
Install the runtime in participating frames and configure
exposedTo,getTools({ fromOrigins }), and iframetoolspermission for cross-origin use.The vendored polyfill rejects opaque and extension-scheme exposure origins.
In a top-level document the MCP server mirrors its own tools and those of
same-origin descendant frames; a cross-origin child never appears over MCP even
when
getTools({ fromOrigins })exposes it. In a non-top frame the servermirrors only its own window's tools. Standard
getTools()can still discoverexposed ancestor and sibling tools without importing them into the iframe MCP
bridge.
Patch Changes
78e8f65]160acc3]01aeb9c]160acc3]160acc3]Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.