Goldnat Plugins
← Back to XenForo

XenForo AI Connect — Installation & Setup Guide

Install, activate, and connect the chgold/AIConnect add-on (Servio Protocol) to your XenForo forum. 5 free read tools + Pro upgrade.

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

Overview

Goldnat AI Connect for XenForo (add-on: chgold/AIConnect) turns your forum into a Servio Protocol tool server. The Free add-on ships 5 read tools — search threads, get a full thread, search posts, get a post, and identify the current user. The Pro add-on (chgold/AIConnectPro) adds 5 write tools — create threads, reply, edit posts, send conversations, and list forums.

What you get:

  • 5 free toolssearchThreads, getThread, searchPosts, getPost, getCurrentUser
  • Built-in translationtranslation.translate + translation.getSupportedLanguages (XenForo-exclusive bonus)
  • Pro upgradegetForumList, createThread, replyToThread, editPost, sendConversation
  • Future editions: xenforo-engagement-pro and xenforo-moderation-pro (Reactions, Reports, Ban)

Prerequisites

  • XenForo 2.2.0 or higher
  • PHP 7.2 or higher (8.1+ recommended)
  • MySQL/MariaDB 5.7+
  • Friendly URLs enabled (Options → Basic board information)
  • HTTPS recommended
  • “Manage add-ons” admin permission

Installation

  1. Download the latest add-on ZIP from the official XenForo Resource Manager (or from your personal area at goldnat.ai).
  2. Extract to src/addons/chgold/AIConnect/.
  3. Admin → Add-ons → Install/upgrade an add-on — select chgold/AIConnectInstall.
  4. Add-ons → chgold/AIConnect — verify status is “Active”.
  5. Options → AI Connect → Verify manifest — clicking “Test” should return ✅.

Connecting to an AI Agent

  1. Members → Your account → AI Connect Tokens (or /account/webmcp-tokens).
  2. Generate Prompt — a ready-to-paste BBCode/Markdown block appears.
  3. Copy and paste into your agent:
    • Claude Desktop: via the Goldnat MCP extension
    • goldnat.ai: add https://your-forum.example/ to your vault
    • ChatGPT / Gemini: connect directly to /api/aiconnect-manifest
  4. OAuth PKCE runs in the browser → approve.

First Test

  • “Who am I on the forum?” → xenforo.getCurrentUser
  • “Search threads about AI” → xenforo.searchThreads with search=AI
  • “What does post #3738 say?” → xenforo.getPost with post_id=3738

With Pro:

  • “Create a new thread in the ‘General’ forum” → xenforo_pro.createThread
  • “Reply to this post with the following message” → xenforo_pro.replyToThread

Reconnecting

Tokens valid for 30 days. Automatic refresh every hour. Manual reconnect:

  1. Your account → AI Connect Tokens → Revoke the old token.
  2. Generate Prompt again → paste into your agent.

Token Management

Like the other plugins: /account/webmcp-tokens page with 6 filters (Active / Renewable / Unused / Inactive / Revoked / All), bulk revoke, and last_used_ip + last_used_ua display.

Uninstalling the Add-on

1. Revoke all tokens

  • Your account → AI Connect Tokens → Revoke All — kills every active agent session.

2. Disable the add-on

  • Admin → Add-ons → chgold/AIConnect → Disable.
  • The add-on stops working, but DB tables remain intact.

3. Uninstall the add-on

  • Admin → Add-ons → chgold/AIConnect → Uninstall.
  • XenForo prompts you to confirm removal of DB tables → confirm.

4. Remove the files

rm -rf src/addons/chgold/AIConnect/
# Also for Pro:
rm -rf src/addons/chgold/AIConnectPro/

5. Rebuild caches

php cmd.php xf-rebuild:caches

Common Troubleshooting

ErrorCauseFix
Manifest not foundFriendly URLs disabledOptions → Basic → Enable Friendly URLs
Add-on files are missingFiles not extracted properlyRun xf-rebuild:addon via CLI
Route not registeredRebuild missingphp cmd.php xf-addon:build-release chgold/AIConnect
Bearer token invalidPrefix mismatchEnsure the URL in the token matches the URL in the prompt

Support

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

Video Tutorial (Coming Soon)

3-4 minute walkthrough: (A) Goldnat AI Connect on the Servio Protocol, (B) installing the add-on in XenForo admin, (C) connecting to an AI agent, (D) 3 typical forum queries.

Screenshots

XenForo Add-ons page
Navigate to Add-ons → Install/upgrade an add-on
Upload the add-on ZIP
Upload + install chgold/AIConnect
My Tokens page
Generate prompt for AI agent connection

🎬 Video Tutorial — Coming Soon

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

Tag: xenforo-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.

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

CoreModule

  • xenforo.getCurrentUser Returns the currently authenticated user.
  • xenforo.getPost Returns a single post by ID.
  • xenforo.getThread Returns a single thread including its posts.
  • xenforo.searchPosts Searches posts by keywords.
  • xenforo.searchThreads Searches threads by keywords.

TranslationModule

  • translation.getSupportedLanguages Returns the list of supported translation languages.
  • translation.translate Translates text to a chosen language.

ProModule

  • xenforo_pro.createThread Creates a new thread in a forum. Pro
  • xenforo_pro.editPost Edits an existing post. Pro
  • xenforo_pro.getForumList Returns the list of forums and their structure. Pro
  • xenforo_pro.replyToThread Replies to an existing thread in a forum. Pro
  • xenforo_pro.sendConversation Sends a private conversation to a user. Pro