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

Agent Access is a Drupal recipe that brings together Simple OAuth, Tool API, and MCP Server to help safely connect the power of Drupal to the AI tools people already use, such as ChatGPT.com, Claude Cowork, and OpenClaw.

It's based on the idea that people should connect with their own Drupal account, and Drupal's existing permissions for that user should always apply.

 It is part of the Drupal AI Initiative's Outside AI work.

What you can do

Connect your assistant to Drupal tools for content management, site building, and automation. Choose the tools your site needs from projects including:

  • Tool Belt: create and edit content, manage fields and users, and perform common site operations.
  • MCP Tools: tools for content, media, taxonomy, menus, Views, and site administration.
  • ECA Tool: make workflows built in ECA available as tools.

Developers can add tools for their own modules using Tool API. Use MCP Server Tool Bridge to select which tools are available to connected assistants.

The recipe starts with content listing and metadata tools. Add and configure more to suit your site.

Install

Requires an installed Drupal 11.4+ site using drupal/recommended-project and a current Composer 2 release. Run these commands from your project root, alongside composer.json.

  1. Install Agent Access and its dependencies:

    composer require \
      'drupal/tool:^1.0@beta' \
      'drupal/tool_belt:^1.0@alpha' \
      'drupal/mcp_server:^2.0.0-beta2@beta' \
      'drupal/mcp_server_tool_bridge-mcp_server_tool_bridge:^1.0@beta' \
      'drupal/mcp_server_oauth-mcp_server_oauth:^1.0@alpha' \
      'drupal/agent_access:^1.0@alpha'
  2. Apply the recipe, replacing the example URL with your site's HTTPS address:

    vendor/bin/dr recipe ../recipes/agent_access --url=https://your-site.example
  3. Finish setup to generate OAuth keys, grant access, and connect your assistant.

Get involved

Try Agent Access and share feedback in the issue queue or the Outside AI meta issue, where we track work across the wider Drupal ecosystem.

Supporting organizations: 

Project information

  • Created by scott falconer on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases