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.

73 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

xenforo_pro

  • xenforo_pro.addThreadTags Add tags to a thread. Pro
  • xenforo_pro.changeThreadType Change the type of a thread (discussion/question/etc). Pro
  • xenforo_pro.commentOnProfilePost Comment on a user profile post. Pro
  • xenforo_pro.createNode Create a new forum node (category, forum, page). Pro
  • xenforo_pro.createPoll Add a poll to a thread. Pro
  • xenforo_pro.createUser Create a new user account (admin). Pro
  • xenforo_pro.deleteAttachment Delete an uploaded attachment. Pro
  • xenforo_pro.deleteMyAvatar Delete the current user's avatar. Pro
  • xenforo_pro.deleteNode Delete a forum node. Pro
  • xenforo_pro.deletePost Permanently delete a post. Pro
  • xenforo_pro.deleteProfilePost Delete a post from a user profile wall. Pro
  • xenforo_pro.deleteProfilePostComment Delete a comment on a profile post. Pro
  • xenforo_pro.deleteThread Permanently delete a thread. Pro
  • xenforo_pro.deleteUser Delete a user account (admin). Pro
  • xenforo_pro.deleteUserAvatar Delete any user's avatar (admin). Pro
  • xenforo_pro.editConversationMsg Edit a message in a private conversation. Pro
  • xenforo_pro.editNode Edit an existing forum node. Pro
  • xenforo_pro.editProfilePost Edit a post on a user profile wall. Pro
  • xenforo_pro.editProfilePostComment Edit a comment on a profile post. Pro
  • xenforo_pro.editThread Edit thread title or other attributes. Pro
  • xenforo_pro.featureThread Feature a thread (promote to featured). Pro
  • xenforo_pro.findUserByName Find a user by username. Pro
  • xenforo_pro.getAlert Get a single alert by ID. Pro
  • xenforo_pro.getAttachmentInfo Get metadata for a specific attachment. Pro
  • xenforo_pro.getAttachmentThumbnail Get thumbnail URL for an attachment. Pro
  • xenforo_pro.getConversationMessages Get messages from a private conversation. Pro
  • xenforo_pro.getMe Get the authenticated user's profile. Pro
  • xenforo_pro.getNode Get details for a specific forum node. Pro
  • xenforo_pro.getProfilePosts Get the profile posts (wall) of a user. Pro
  • xenforo_pro.inviteToConversation Invite a user to an existing conversation. Pro
  • xenforo_pro.leaveConversation Leave a private conversation. Pro
  • xenforo_pro.listAlerts List the authenticated user's alerts. Pro
  • xenforo_pro.listAttachmentsByKey List attachments by attachment key. Pro
  • xenforo_pro.listNodes List all forum nodes with metadata. Pro
  • xenforo_pro.listNodesFlat List all nodes in a flat array. Pro
  • xenforo_pro.lockThread Lock a thread to prevent new replies. Pro
  • xenforo_pro.markAlertRead Mark a specific alert as read. Pro
  • xenforo_pro.markAllAlertsRead Mark all alerts as read. Pro
  • xenforo_pro.markConversationRead Mark a conversation as read. Pro
  • xenforo_pro.markSolution Mark a post as the solution to a Q&A thread. Pro
  • xenforo_pro.markThreadRead Mark a thread as read for the current user. Pro
  • xenforo_pro.moveThread Move a thread to a different forum node. Pro
  • xenforo_pro.postProfileMessage Post a message on a user profile wall. Pro
  • xenforo_pro.reactToConversationMsg Add a reaction to a conversation message. Pro
  • xenforo_pro.reactToPost Add a reaction to a forum post. Pro
  • xenforo_pro.reactToProfilePost Add a reaction to a profile wall post. Pro
  • xenforo_pro.removeThreadTags Remove tags from a thread. Pro
  • xenforo_pro.replyToConversation Reply to an existing private conversation. Pro
  • xenforo_pro.starConversation Star (bookmark) a conversation. Pro
  • xenforo_pro.stickThread Stick a thread to the top of its forum. Pro
  • xenforo_pro.unfeatureThread Remove featured status from a thread. Pro
  • xenforo_pro.unlockThread Unlock a previously locked thread. Pro
  • xenforo_pro.unstickThread Remove the sticky status from a thread. Pro
  • xenforo_pro.updateConversation Update conversation metadata (title, etc). Pro
  • xenforo_pro.updateMyProfile Update the authenticated user's profile. Pro
  • xenforo_pro.updateUser Update an existing user's details (admin). Pro
  • xenforo_pro.uploadAttachment Upload an attachment for use in a post. Pro
  • xenforo_pro.uploadMyAvatar Upload an avatar for the current user. Pro
  • xenforo_pro.uploadUserAvatar Upload an avatar for any user (admin). Pro
  • xenforo_pro.votePoll Cast a vote in a thread poll. Pro
  • xenforo_pro.votePost Vote on a post (up/down). Pro