AI Connect for XenForo - WebMCP Bridge 1.2.26

XF 2.2 / 2.3 AI Connect for XenForo - WebMCP Bridge 1.2.26

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
  • ⚠️ Section Premium. Réserver aux Membres Premium ⚠️
AI Connect for XenForo - WebMCP Bridge 1.2.26

XF 2.2 / 2.3 AI Connect for XenForo - WebMCP Bridge 1.2.26

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet AI Connect for XenForo - WebMCP Bridge 1.2.26
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 2
Affichages Affichages 43
Réaction Réaction 0
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 932
Messages
12 843
Solutions
85
J'aime
8 019
Points
198
AI Connect for XenForo — WebMCP Protocol Bridge

Connect any MCP-compatible AI agent (Claude, ChatGPT, Cursor, and more)
directly to your XenForo forum using the WebMCP open protocol with
secure OAuth 2.0 + PKCE authentication.

How it works

AI agents discover your forum's capabilities via a standard
/.well-known/mcp.json manifest, authenticate via OAuth 2.0, and then
call MCP tools to read and interact with your forum — just like a
human user would, but programmatically.

Free Version — Included Tools

| Tool | Description |
|------|-------------|
| xenforo.searchThreads | Search threads by keyword, forum, date |
| xenforo.getThread | Retrieve full thread with posts |
| xenforo.searchPosts | Search posts across the forum |
| xenforo.getPost | Retrieve a single post |
| xenforo.getCurrentUser | Get authenticated user info |

Authentication
  • OAuth 2.0 Authorization Code + PKCE flow
  • Bearer token support
  • Built-in rate limiting
---

PRO Version (coming soon)

Advanced moderation and management tools:
  • xenforo.moderatePost — approve, reject, delete posts
  • xenforo.banUser — ban/unban users
  • xenforo.moveThread — move threads between forums
  • xenforo.getForumStats — analytics and statistics
  • Priority support
👉 Learn more about PRO at ai-connect.gold-t.co.il

Requirements
  • XenForo 2.2.0+
  • PHP 7.2+
  • HTTPS recommended for OAuth flow
Source Code
github.com/chgold/xf-ai-connect

Télécharger V1.1.9 :
v1.2.10–1.2.21 — Permission system, personalised prompt, security fixes

### Version 1.2.21 — 2026-04-14
* Fixed: Users with useTools = Never can no longer access the AI Connect info page or generate tokens

### Version 1.2.20 — 2026-04-14
* Fixed: Navigation link and footer icon are now automatically hidden for users/groups with useTools = Never

### Version 1.2.19 — 2026-04-14
  • Fixed: Admin CP permission greying now works on fresh installs — switched to direct click listeners matching XenForo's own PermissionChoice approach
  • Fixed: js/chgold/aiconnect/admin-permissions.js was missing from the release ZIP on fresh installs (added build.json with additional_files)
### Version 1.2.18 — 2026-04-14
* Fixed: PRO tool phrases were incorrectly stored under the free addon's addon_id, causing XenForo phrase validation errors (a-z, A-Z, 0-9, _ only) on fresh installs of external sites

### Version 1.2.17 — 2026-04-14
  • Added: Generic prompt metadata system — each module declares its own getToolPromptMeta() so future tools appear automatically in the personalised prompt
  • Improved: buildPersonalizedPrompt() collects tool hints and URL examples from modules at runtime instead of a hardcoded table
### Version 1.2.16 — 2026-04-14
  • Security: allowUnauthenticatedAccess() returning false added to the Tools API controller — unauthenticated tool execution is now explicitly blocked at the framework level
  • Fixed: Admin CP permission JS file path corrected to js/chgold/aiconnect/admin-permissions.js per XenForo static file conventions
### Version 1.2.15 — 2026-04-13
* Added: Admin CP visual permission UI — per-tool rows grey out automatically when useTools is set to Never, matching XenForo's native depend_permission_id behaviour

### Version 1.2.14 — 2026-04-13
  • Added: Permission-aware manifest — authenticated requests to /api/aiconnect-manifest return only tools the token owner can use; anonymous requests return the full list for discovery
  • Added: Permission-aware prompt generator — /ai-connect/generate-token returns a personalised prompt filtered to accessible tools
### Version 1.2.13 — 2026-04-12
  • Added: Full 3-tier permission system: viewAiConnect, useTools (master switch), per-package (use_package_{id}), per-tool (tool_{module}_{tool})
  • Added: Two Admin CP permission interface groups: AI Connect and AI Connect — Tools
  • Added: syncToolPermissions() and syncPackagePermissions() — auto-registered on install/upgrade; third-party addons can hook in via ai_connect_sync_tool_permissions
### Version 1.2.10–1.2.12 — 2026-04-12
  • Added: viewNavLink permission for controlling navigation link visibility per user group
  • Added: Session-based OAuth flow (/api/aiconnect-oauth/start + /api/aiconnect-oauth/poll)
  • Fixed: Footer template uses link() and base_url() instead of hardcoded paths
Télécharger V1.2.21 :
Version 1.2.26 — Permission system overhaul, Admin CP visual improvements, and critical bug fixes.

🔧 Critical Fixes
  • Fixed: allowUnauthenticatedRequest must be public — PHP fatal error on every tool API call. The method visibility was protected instead of public, causing a crash when XenForo's API framework invoked it.
  • Fixed: Missing permissions after upgradeuseTools and viewAiConnect could silently disappear from the database after an addon upgrade or manual admin panel reset. The installer now restores missing or "unset" critical permissions on every upgrade while preserving explicit admin choices (Allow/Deny).
✨ New Features
  • Three-state permission greying in Admin CP— The permission editor now shows three visual states for per-tool permissions:
    • Allow — normal (white, interactive)
    • Not Set — dimmed (60% opacity, help cursor, tooltip: "No effect while master switch is Not Set")
    • Never — disabled (35% opacity, clicks blocked, tooltip: "Blocked by Never")
    This helps administrators understand that setting tool permissions has no effect unless the master switch (useTools) is set to Allow.
  • Info page permission-aware display— The /ai-connect page now shows context-appropriate messages instead of a generic 403 error:
    • Users with useTools: full page with Generate Token button
    • Logged-in without permission: page with "You do not have permission" message
    • Anonymous (toggle ON): page with "Log in to generate a token" link
    • Anonymous (toggle OFF): standard 403
  • Permission descriptions in Admin CPviewAiConnect now shows an explanatory note: "Controls visibility for guests only. Requires the navigation toggle to be enabled."
🔒 Permission Logic Changes
  • Navigation link: Anonymous users see the link when aiconnect_nav_top is ON + viewAiConnect = Allow. Logged-in users need useTools permission.
  • Info page access: Logged-in users always reach the page (template handles the message). Anonymous users are gated by the navigation toggle.
  • Token generator + OAuth section: Only shown to users with useTools permission.
📋 Upgrade Notes
  • Standard addon upgrade: php cmd.php xf:addon-upgrade chgold/AIConnect
  • If you previously had permission issues (403 on info page, missing nav link), this version auto-repairs the default permissions on upgrade.
  • Clear browser cache to see the updated Admin CP permission greying (JS change).
Full changelog and source: GitHub | Documentation
Télécharger V1.2.26 :
 
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas