> For the complete documentation index, see [llms.txt](https://docs.maker.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maker.co/maker-greatstore/connectors/webmcp.md).

# WebMCP

Marked `BROWSER` in the connectors list, and enabled by default. WebMCP lets **the page itself** publish tools to the assistant, using the WebMCP standard.

{% hint style="info" %}
WebMCP is a web standard, not a Maker one. Chrome's [official WebMCP documentation](https://developer.chrome.com/docs/ai/webmcp) covers how to declare tools on a page — read that if you're implementing your own.
{% endhint %}

Where other connectors are servers the assistant calls, WebMCP tools live in the browser, on the page the shopper is currently looking at — which means the assistant can act on the page, not just talk about it.

## The canonical example: add to cart

On a storefront running Maker Nav, Nav defines an **add-to-cart tool** via WebMCP. A shopper viewing a product can tell the assistant "add this to my cart" — the assistant calls the page's tool and the item is actually added, on the page, with no custom integration work.

## Relationship to page context

WebMCP is the *active* counterpart to [JavaScript API](/maker-greatstore/developer-reference/javascript-api.md): context tells the assistant what is on the page, WebMCP lets it do something about it.

{% hint style="info" %}
Like every connector, WebMCP sits in the priority order — a page-published tool can override a server-side one of the same name.
{% endhint %}

## Access control

WebMCP tools are defined by the page at runtime, so there is no fixed list to configure in advance. You get the three group settings — **Write tools**, **Read-only tools**, **Other tools** — and a page-defined tool is offered to the assistant only if its group is set to Allow.

Disallowing **Write tools** here is the switch that stops the assistant acting on the page, add-to-cart included, while leaving it free to read page context. See [Controlling tool access](/maker-greatstore/connectors/tool-access.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.maker.co/maker-greatstore/connectors/webmcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
