Google I/O 2026

WebMCP Toolkit

Make your website agent-ready. Generate declarative HTML or imperative JavaScript for the WebMCP standard, then validate your implementation against the spec.

Generator

Parameters
<form
  toolname="search_products"
  tooldescription="Search the product catalog by keyword, category, or price range"
>
  <input
    type="text"
    name="query"
    toolparamtitle="query"
    toolparamdescription="Search keyword" required
  />
  <input
    type="text"
    name="category"
    toolparamtitle="category"
    toolparamdescription="Product category filter"
  />
  <input
    type="number"
    name="max_price"
    toolparamtitle="max_price"
    toolparamdescription="Maximum price in USD"
  />
  <button type="submit">Run</button>
</form>

Validator

Paste WebMCP code on the left to see validation results.

Quick Reference

Declarative API

toolnameUnique tool identifier<form>
tooldescriptionWhat the tool does (for agents)<form>
toolautosubmitAllow agents to submit without user confirm<form>
toolparamtitleParameter name for agents<input>
toolparamdescriptionParameter description for agents<input>

Imperative API

nameUnique tool identifierrequired
descriptionWhat the tool doesrequired
inputSchemaJSON Schema for parametersrequired
executeAsync handler functionrequired
annotationsHints: title, readOnlyHint, openWorldHintoptional