WebMCP Integration Tests Drupal Forms as Browser-Agent Tools

Ronald te Brake appears beside a simple diagram of a Drupal form connecting to a browser agent tool. Text reads "DISCOVER DRUPAL" "Drupal Forms Meet WebMCP" "A new proof of concept lets browser agents work with Drupal forms as structured tools." "Ronald te Brake" "Follow us on" "https://www.thedroptimes.com/" "THE DROP TIMES".

Drupal developer Ronald te Brake has built a WebMCP Integration proof of concept that lets opted-in Drupal forms expose structured capabilities to browser-based AI agents. In a 6 September 2026 post, he described tests with Views exposed forms and Webform that use information already available through Drupal's Form API to add declarative WebMCP metadata to existing interfaces. WebMCP remains experimental, with its current specification published as a W3C Community Group Report rather than a W3C standard or Standards Track specification.

The browser-side approach differs from Drupal's existing MCP Server work. Declarative WebMCP makes forms already rendered in the browser easier for an agent to understand as structured tools, while MCP Server allows external MCP clients to work with Drupal capabilities without operating through the site's interface. Te Brake identifies Tool API as a possible connection between the two approaches, where the same Drupal operation could potentially be exposed through MCP Server and imperative WebMCP, but he has not yet demonstrated that path in code.

A Webform reservation experiment compared the same task with and without WebMCP using the same model, browser, viewport, and starting state. Both runs successfully saved all eight requested values, while the agent used three tool calls with WebMCP instead of six without it and finished in 20.9 seconds compared with 50.1 seconds. Total input across the run was 54% lower with WebMCP, although the difference in uncached input was about 11%. The run without WebMCP also had to correct the date once, and Te Brake cautions that the comparison is an illustration rather than a benchmark. He plans further experiments with Tool API and more complex Drupal interfaces.

Reference: WebMCP and Drupal (6 September 2026)

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related People

Upcoming Events

Latest Opportunities