WIP: Add Parallel search and fetch tools for WebMCP sites - #51
Draft
georgeatparallel wants to merge 10 commits into
Draft
WIP: Add Parallel search and fetch tools for WebMCP sites#51georgeatparallel wants to merge 10 commits into
georgeatparallel wants to merge 10 commits into
Conversation
Contributor
Author
|
Tracking this in DEV-259, assigned to me. |
georgeatparallel
marked this pull request as ready for review
September 4, 2026 02:29
georgeatparallel
marked this pull request as draft
September 4, 2026 02:51
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 is a new way to distribute our free Search MCP: let websites offer it to the agents visiting them.
Today, an agent can browse a website without having Parallel available as a tool. Getting that access usually means the user has to configure our MCP server, or the team building the agent has to integrate us. WebMCP gives the website itself a way to offer tools to compatible agents while the page is open.
This PR adds
@parallel-web/webmcp. A site owner adds an import or a script tag, and the package registers two tools with the browser:parallel_web_searchandparallel_web_fetch. When an agent calls one, the package sends the request to our existing free Search MCP and returns excerpts with source URLs. The site doesn't need a backend or an API key, and the visitor doesn't need to configure our MCP server.For example, a shopping site could let a visiting agent find independent product reviews or check compatibility across the web. The agent decides when to call the tools. Every site that adds the package becomes another place where agents can discover and use Parallel.
The scope is small: two read-only tools and a browser module with no runtime dependencies. It doesn't automatically collect page content or agent history. Requests omit browser credentials, and access from another origin requires the site to explicitly allow it. Browsers without WebMCP support safely do nothing. Sites still need to meet the browser's WebMCP requirements, which are covered in the README.
One browser limitation: Chrome 152 doesn't yet pass cancellation signals to tool callbacks, so cancelling a tool call there won't stop its network request. The package forwards the signal when the browser provides one.
Validation: 27 WebMCP tests, 311 total workspace and release tests, and all six CI checks pass. We also tested live search and fetch in Chrome, plus registration, request privacy, and cross-origin access.
Merging won't publish the package. An npm organization owner still needs to do the first release using the steps in
PUBLISHING.md.