Back to Blog

WebMCP vs Scrapeless MCP: In-Page Tools and Hosted Web Access Explained

Alex Johnson
Alex Johnson

Senior Web Scraping Engineer

03-Dec-2026

TL;DR:

  • WebMCP lets the owner of a website describe actions available in the current document. A shopping page can expose a tool that reads the size the shopper has selected.
  • Scrapeless MCP gives a compatible client tools for public web search, page extraction and browser work. The target site can be an ordinary website.
  • Combine them when a question needs both private page state and a public reference. Keep the two results attached to their original sources.

A customer has chosen “medium” in your product configurator and asks whether the published size guide recommends that fit. The selected option lives in the active tab. The guide might live on a supplier's website. The assistant needs two pieces of evidence, and only one of them is a web search problem.

Who owns the tool?

With WebMCP, the website decides what an agent can ask the page to do. The developer defines the tool name, inputs and implementation. An implementation can access application state through the same code that powers the visible interface. This is especially valuable when a displayed label, an internal option identifier and an unsaved selection all describe the same control.

With Scrapeless MCP, the client connects to our tool server and discovers the available operations. A search can run with a query and market. A Markdown extraction takes a URL. A browser task can open a session whose state belongs to that session. The website being researched does not need to publish a tool description.

Question Where to get the answer What the agent should retain
Which size is selected here? A read-only tool exposed by your configurator Product identifier and selected variant
What does the public guide say? Scrapeless page extraction Source URL, heading and relevant passage
Which guide belongs to this model? Scrapeless search followed by a page read Candidate URL and the text confirming the model
Has the shopper approved a change? The application handling the shopper's action Explicit user choice

Follow an in-page call from discovery to result

Imagine a page that registers a tool named read_selected_size. This is an example name you choose for your application. Make its input schema an object with no required fields. In the execution handler, read the current variant from the product model and return the selected size and product identifier. Read that value when invoked. Capturing the initial selection at page load will return the wrong answer after the shopper switches sizes.

Use the current document API, document.modelContext.registerTool(), and await registration. Chrome moved the interface to the document and subsequently removed the navigator property. A snippet that checks only the older name can report that WebMCP is missing in a browser that supports the current interface. Check the feature on the page, use a secure context, and consult the Chrome WebMCP updates when supporting several releases.

Our feature check in Chrome 158 on a local test page found no WebMCP interface under default settings. Use feature detection before registering a tool. Test three states independently. Open a page in a supporting browser before registering the tool. Then register it and inspect the available tools. Finally change the selection and invoke it again. Those observations distinguish an unsupported browser, an uninstrumented page and a stale handler. Chrome's developer guide describes tool discovery and invocation for an in-page test harness.

Start Scraping with Scrapeless

Power up your web scraping and automation workflow with Scrapeless!
Sign up today and get $5 in free credit — no credit card required.

Claim your free credit now in the Scrapeless Dashboard.

Follow a Scrapeless call to its source

Set up the Scrapeless MCP server in your client and provide the Scrapeless API key through the server's environment. List the available tools, select google_search to find a public guide, then pass its verified URL to scrape_markdown. If the supplier has already given you the exact URL, begin at the page read. A search result title is a lead. The manufacturer's sizing passage is the evidence the shopper needs.

For a collection of linked documents, our client used crawl_start and crawl_result against a public documentation site. The completed result included a separate record for a linked chapter, with its own title, URL and Markdown. No site-defined WebMCP tool was needed to collect that document. That is the practical advantage of Scrapeless Crawl for assistants that need to consult many publishers.

Build the answer from both records

Join the product identifier from the configurator to the model or family named in the guide. If the guide covers several product lines, quote the line that establishes the match. If the shopper changes the selection while the guide is loading, read the selection again before answering.

The resulting answer can say which size was selected, which guide was consulted and which measurement the user needs to check. Keep the measurement optional. The public request only needs the supplier and model or the guide URL. Sending the shopper's measurements as search terms would add no evidence.

Choose by ownership and task

For a team building an application, WebMCP is a direct way to make meaningful state available to an assistant. For a team collecting public information across websites, Scrapeless MCP supplies the search and retrieval tools. When the workflow spans both, give each tool a question that its own data can answer.

The MCP tools specification describes how a client lists and invokes server tools. That is the discovery path for the hosted side of this example.

When a guide reveals different content after a menu selection, use Scrapeless Agent Browser for that interaction. Estimate search, retrieval and browser work separately using Scrapeless pricing. Our MCP and API comparison covers bringing these steps into a scheduled client.

Get your API key from the Scrapeless Dashboard. Join our Discord or Telegram to discuss your implementation.

FAQ

Does every website automatically expose WebMCP tools?

The website must declare tools, and the user's browser must support the relevant interface. Look at the tool inventory for the active document.

Does a hosted browser inherit the shopper's selected size?

A fresh hosted session has its own state. Pass the product identifier and the expressly selected option into the workflow when that context is needed.

Can I use Scrapeless MCP without running a browser task?

Yes. The search and Markdown tools accept a query or URL directly. Discover the available tools in the client and enable the ones your workflow needs.

At Scrapeless, we only access publicly available data while strictly complying with applicable laws, regulations, and website privacy policies. The content in this blog is for demonstration purposes only and does not involve any illegal or infringing activities. We make no guarantees and disclaim all liability for the use of information from this blog or third-party links. Before engaging in any scraping activities, consult your legal advisor and review the target website's terms of service or obtain the necessary permissions.

Most Popular Articles

Catalogue