Goldnat Plugins
← Back to Drupal

Drupal AI Connect — Installation & Setup Guide

Install, activate, and connect the webmcp_connect module (Servio Protocol) to your Drupal site. 5 free read-only tools.

📅 Updated: 2026-07-07 🎬 Video: drupal-install-connect

Overview

Goldnat AI Connect for Drupal (module: webmcp_connect) exposes your Drupal content to AI agents over the Servio Protocol. Five read-only tools: search nodes, get a single node, search comments, get a single comment, and identify the current user.

What you get:

  • 5 free toolsgetCurrentUser, searchNodes, getNode, searchComments, getComment
  • Compatible with Drupal 9 and 10
  • Version 1.5.0 — passes drupal-check cleanly

Note: Drupal AI Connect currently includes 5 read-only tools. Additional tools may be added in future releases.

Prerequisites

  • Drupal 9.x or 10.x
  • PHP 8.0 or higher
  • Composer installed on the server
  • Clean URLs enabled (Configuration → Search and metadata → URL aliases)
  • HTTPS recommended
  • “administer modules” permission

Installation

composer require 'drupal/webmcp_connect:^1.5'
drush en webmcp_connect
drush cr

Manual installation

  1. Download the module from Drupal.org.
  2. Extract to modules/contrib/webmcp_connect/.
  3. Admin → Extend → check AI ConnectInstall.
  4. Admin → Configuration → Web services → AI Connect — verify the manifest is reachable.

Connecting to an AI Agent

  1. Go to Admin → Configuration → Web services → AI Connect → My Tokens.
  2. Click Generate Prompt.
  3. Copy the prompt and paste it into your agent (Claude / ChatGPT / goldnat.ai).
  4. Approve OAuth PKCE in the browser.

First Test

  • “Who am I on this site?” → drupal.getCurrentUser
  • “Search for 5 articles about AI” → drupal.searchNodes with keyword=AI
  • “Show me the comments on article #42” → drupal.searchComments + drupal.getComment

Reconnecting

Refresh tokens valid for 30 days. If expired:

  1. AI Connect → My Tokens → Revoke the old one.
  2. Generate Prompt again → paste into your agent.

Token Management

As on WordPress — there’s a /user/tokens page (with local_task) that shows all tokens filtered by Active/Renewable/Unused/Inactive/Revoked/All.

Uninstalling the Module

1. Revoke all tokens

  • AI Connect → My Tokens → Revoke All — kills every active agent session immediately.

2. Uninstall the module

drush pmu webmcp_connect
drush cr

Or via UI: Admin → Extend → Uninstall → check AI ConnectUninstall.

3. Remove the module files

composer remove drupal/webmcp_connect

Or delete modules/contrib/webmcp_connect/ manually.

4. Clean the DB (fresh reinstall only)

DROP TABLE IF EXISTS webmcp_tokens;
DROP TABLE IF EXISTS webmcp_audit;
DELETE FROM key_value WHERE collection = 'system.schema' AND name = 'webmcp_connect';

Warning: Deletes all token history and audit logs.

Common Troubleshooting

ErrorCauseFix
Manifest not found (404)Clean URLs not enabledConfiguration → URL aliases → Save
Access deniedNo permission to read nodesAnonymous role isn’t enough — allow the authenticated user
Class not foundComposer autoload didn’t rundrush cr
Route not foundStale router cachedrush router:rebuild

Support

Need help? Contact us and we’ll get back to you.

Video Tutorial (Coming Soon)

3-4 minute walkthrough: (A) What is Goldnat AI Connect / Servio Protocol, (B) installing via Composer and drush, (C) connecting to an AI agent, (D) live usage.

Screenshots

Drupal Extend page
Navigate to Extend → Install new module
Enable the module
Enable + save configuration
Token management page
Generate prompt for AI agent connection

🎬 Video Tutorial — Coming Soon

A 3-5 minute video covering: intro → install → connect → demo.

Tag: drupal-install-connect

Status: Awaiting production

This guide is informational and non-binding. Steps and behavior can vary between platforms and plugin versions. For the binding terms, see the Terms & Conditions.

Tools

Available tool calls.

5 tools exposed via the Servio protocol. Pro tools are marked.

CoreModule

  • drupal.getComment Returns a single comment by ID.
  • drupal.getCurrentUser Returns the currently authenticated user.
  • drupal.getNode Returns a single content node by ID.
  • drupal.searchComments Searches comments by keywords.
  • drupal.searchNodes Searches content nodes by keywords and type.