---
name: webmcp
title: WebMCP
category: discovery
---

# WebMCP

WebMCP lets a page expose tools to an agent running in the browser, with the user present and in control.

## When to use this skill

Use this when a site fails the "WebMCP" check and you need to implement it.

## Goal

Support WebMCP to expose site tools to AI agents via the browser

## Pass criteria

Page code registers browser-side tools through navigator.modelContext.

## Implementation

This skill covers the diagnosis. The step-by-step implementation prompt is part
of the paid tier and is served per scan by the API — see https://agent-ready.t0ols.com/llms-full.txt.

## Specifications

- https://webmcp.org/
- https://github.com/webmachinelearning/webmcp

## Verifying

Re-run the scan against the site and confirm the check reports a pass:

    curl -s https://agent-ready.t0ols.com/api/scan \
      -H 'content-type: application/json' \
      -d '{"url":"https://example.com","enabledChecks":["webMcp"]}'
