This project is not covered by Drupal’s security advisory policy.

WebMCP Integration is a proof of concept exploring how Drupal can expose forms and tools to browser based AI agents using the emerging WebMCP standard.

The project focuses on how WebMCP could fit alongside Drupal's existing Tool API and MCP Server ecosystem, without introducing another competing tool system.

Features

This project currently explores:

exposing Drupal Form API forms through WebMCP
exposing existing Tool API tools through WebMCP
(potentially) reusing the same Drupal tools with both WebMCP and MCP Server

The goal is to learn what a useful Drupal abstraction for WebMCP could look like.

For example:

                         Drupal
                           │
                ┌──────────┴──────────┐
                │                     │
            Tool API               Form API
         business actions          UI actions
                │                     │
       ┌────────┴────────┐            │
       │                 │            │
MCP Server bridge    WebMCP bridge    │
       │                 │            │
       │                 ├────────────┘
       │                 │
       ▼                 ▼
 MCP Server          WebMCP page
 HTTP / STDIO      declarative or JS
       │                 │
       ▼                 ▼
Claude Code        Browser agent
Cursor             working with
ChatGPT MCP        current Drupal page
etc.

Post-Installation

This module is experimental and intended for development and testing. APIs and configuration may change while the integration with Form API, Tool API is explored.

Additional Requirements

A browser with experimental WebMCP support is required to test WebMCP functionality.

Project information

Releases