# Goldnat for XenForo Pro

The Pro extension that adds write capabilities — your AI agent can post threads, reply to discussions, edit posts, and send private conversations. All respecting your XenForo permissions and OAuth scopes.

- Platform: XenForo
- Edition: paid add-on
- Web page: https://plugins.goldnat.ai/xenforo/xenforo-addon-pro
- Installation guide: https://plugins.goldnat.ai/xenforo/guide
- Requires: Goldnat for XenForo (https://plugins.goldnat.ai/xenforo/xenforo-addon.md)

## What it does

- **Write capabilities** — AI agents can create threads, reply to discussions, edit posts, and send private conversations — all under the authenticated user's permissions.
- **Builds on the Free addon** — Pro is a XenForo extension of the Free addon. Install both to get the complete read + write toolkit. Same OAuth flow, same manifest, same permissions model.
- **Permission-aware writes** — Every write action runs as the authenticated user. Moderator permissions, posting limits, thread prefixes — all of XenForo's rules apply.
- **Granular OAuth scopes** — Users approve write access explicitly during the OAuth flow. Tokens scoped to read-only by default — Pro scopes appear only on Pro-aware clients.
- **One-time purchase** — No subscription. Pay once, own it forever, and get 12 months of updates from the date of purchase. Paddle handles billing, taxes, and VAT for your country automatically.
- **Secure by design** — Industry-standard OAuth flow with PKCE. Every AI agent authenticates with proof-of-key exchange — no secrets stored client-side.
- **Native permissions** — Tool calls respect the platform's native permission model. Users only see content they're allowed to access.
- **Servio Protocol** — Manifest endpoint, tool discovery, structured JSON responses. Compatible with the Model Context Protocol standard.
- **Production ready** — Structured tool calls ready for production use on your platform.

## What you can ask the agent

- "Post an announcement in the News forum." — The agent creates the thread in the forum you name, as your user.
- "Reply to the newest question in Support with this answer." — It posts the reply in the thread.
- "Which threads in Support have no answer yet?" — It lists unanswered threads so you can catch up.
- "What did I miss? Show my unread alerts." — It lists your alerts and can mark them read.
- "Send a private conversation to the three moderators." — It starts the conversation with those members.
- "Add a poll to my thread about the next meetup date." — It creates the poll on the thread.
- "Start a thread in Support with the field "Version" set to 2.3." — It reads the custom thread fields the forum offers and fills them; XenForo checks every value and who may edit it.

## Install and connect

1. Install the free core plugin first: Goldnat for XenForo (https://plugins.goldnat.ai/xenforo/xenforo-addon). This plugin runs on top of it.
2. Buy Goldnat for XenForo Pro at goldnat.ai, download it, and upload it in your XenForo admin panel. Enter the license key you receive.
3. Connect your AI agent: in goldnat.ai (or another compatible agent) add your site address. You are sent to your own XenForo site to log in and approve what the agent may do (read only, or read and write).
4. Ask the agent in plain language. It calls the plugin on your site as you, and shows you the result.
5. Full installation guide with screenshots: https://plugins.goldnat.ai/xenforo/guide

## What the agent can and cannot do

- The agent acts as the XenForo user who connected it. It can never see or change more than that user can.
- You approve the access level when you connect (read only, or read and write), and you can revoke the connection at any time from the plugin page in your admin panel.
- Actions that delete content or cannot be undone ask for an explicit confirmation first.
- Your content stays on your site. The plugin answers the agent's requests directly; it does not copy your site anywhere else.

## Tools

Each tool is called by the agent by name. "write" tools need write access approved at connection.

- `xenforo_pro.downloadAttachment` (read) — Return the raw bytes of an attachment as base64. EXPENSIVE — base64 inflates bytes by ~33% and consumes agent context quickly: a 100 KB file is already ~35K tokens. Use ONLY when the agent itself must analyze the content (OCR, vision, PDF text extraction, diff two files). To TRANSFER a file to another plugin/platform, do NOT use this tool — instead call getAttachmentInfo to get direct_url, then pass that URL to the target platform's upload tool (xenforo_pro.uploadAttachment accepts file_url; wordpress.uploadMedia accepts source_url; elementor.uploadImage accepts url; hvp_pro.uploadMediaAsset accepts media_url) — the servers stream bytes directly, keeping them out of the LLM context entirely. For text content (TXT/CSV/JSON/XML/MD/HTML/PDF-as-text), use readAttachmentText — it returns parsed text instead of base64 and is much cheaper. Caps: default 100 KB, hard cap 1 MB; larger files are truncated (returns first max_bytes with truncated=true). SEC-06 permission recheck against the parent post/conversation is applied (same rules as viewing in the UI).
- `xenforo_pro.getBookmarkedThreads` (read) — List the current user's bookmarked threads/posts with labels and dates.
- `xenforo_pro.getDraftContent` (read) — Get the message body of a single saved draft by draft_key.
- `xenforo_pro.getForumActivity` (read) — Activity metrics for a forum node in a time window: new threads, posts, unique posters, top contributors.
- `xenforo_pro.getNotifications` (read) — List recent alerts/notifications for the current user
- `xenforo_pro.getThreadAttachments` (read) — List all attachments across all posts in a thread
- `xenforo_pro.getThreadReactions` (read) — Aggregate reactions across all posts within a thread (total + breakdown by type).
- `xenforo_pro.getThreadWatchers` (read) — List users watching a thread. Visible to thread author + moderators only.
- `xenforo_pro.getUnansweredThreads` (read) — List threads with zero replies (globally or within a node). Prioritises support forums / QA.
- `xenforo_pro.getUnreadNotificationsCount` (read) — Return count of unread alerts for the current user
- `xenforo_pro.getUserActivity` (read) — Recent posts + threads authored by a user in a time window (default 30d).
- `xenforo_pro.getUserBookmarks` (read) — List current user bookmarks with labels and dates
- `xenforo_pro.getUserConversations` (read) — List current user private conversations
- `xenforo_pro.getUserDrafts` (read) — List current user saved drafts
- `xenforo_pro.getUsergroup` (read) — Get a single usergroup by ID (title, priority, banner, user_title).
- `xenforo_pro.getUsergroupMembers` (read) — List members of a usergroup (post_count, register_date, last_activity). Uses xf_user_group_relation for indexed primary+secondary coverage. Admin/moderator gated.
- `xenforo_pro.getUserWatchedThreads` (read) — List threads the current user is watching
- `xenforo_pro.getWatchedThreads` (read) — List the current user's watched threads with notification prefs and unread state.
- `xenforo_pro.listDrafts` (read) — List the current user's saved drafts (metadata). Content via getDraftContent(draft_key).
- `xenforo_pro.listUsergroups` (read) — List all usergroups with title, priority, banner and display CSS.
- `xenforo_pro.listUsers` (read) — List all valid users paginated (alphabetical). Requires enableMemberList + canViewMemberList.
- `xenforo_pro.listWatchedForums` (read) — List all forums the current user is watching with notification preferences.
- `xenforo_pro.searchTags` (read) — Search threads by tag (exact match)
- `xenforo_pro.searchUsers` (read) — Search users by username prefix (min 2 chars). Wraps UserFinder LIKE.
- `xenforo_pro.unwatchForum` (write) — הסרת פורום ממעקב (unwatch) עבור המשתמש הנוכחי.
- `xenforo_pro.watchForum` (write) — הוספת פורום למעקב (watch) עבור המשתמש הנוכחי, כולל בחירת העדפות התראה על threads חדשים.
- `xenforo_pro.createThread` (write) — Creates a new thread in a forum.
- `xenforo_pro.editPost` (write) — Edits an existing post.
- `xenforo_pro.getForumList` (read) — Returns the list of forums and their structure.
- `xenforo_pro.replyToThread` (write) — Replies to an existing thread in a forum.
- `xenforo_pro.sendConversation` (write) — Sends a private conversation to a user.
- `xenforo_pro.addThreadTags` (write) — Add tags to a thread.
- `xenforo_pro.commentOnProfilePost` (write) — Comment on a user profile post.
- `xenforo_pro.createPoll` (write) — Add a poll to a thread.
- `xenforo_pro.deleteAttachment` (delete) — Delete an uploaded attachment.
- `xenforo_pro.deleteMyAvatar` (write) — Delete the current user's avatar.
- `xenforo_pro.editConversationMsg` (write) — Edit a message in a private conversation.
- `xenforo_pro.editProfilePost` (write) — Edit a post on a user profile wall.
- `xenforo_pro.editProfilePostComment` (write) — Edit a comment on a profile post.
- `xenforo_pro.findUserByName` (read) — Find a user by username.
- `xenforo_pro.getAlert` (read) — Get a single alert by ID.
- `xenforo_pro.getAttachmentInfo` (read) — Get metadata for a specific attachment.
- `xenforo_pro.getAttachmentsByPost` (read) — List attachments on a post
- `xenforo_pro.getAttachmentThumbnail` (read) — Get thumbnail URL for an attachment.
- `xenforo_pro.getConversation` (read) — Get one private conversation (title, participants, message count).
- `xenforo_pro.getConversationMessages` (read) — Get messages from a private conversation.
- `xenforo_pro.getForumNode` (read) — Get a forum node by id
- `xenforo_pro.getForumStats` (read) — Get forum-wide statistics
- `xenforo_pro.getForumThreadFields` (read) — List the custom thread fields a forum offers (id, title, type, choices, required, max length, display group) and whether YOU may fill each one in when you start a thread there. Use before createThread with custom_fields.
- `xenforo_pro.getNode` (read) — Get details for a specific forum node.
- `xenforo_pro.getPostAttachments` (read) — Get attachments for a post
- `xenforo_pro.getPostReactions` (read) — Get reactions on a post
- `xenforo_pro.getPostsByThread` (read) — List posts in a thread
- `xenforo_pro.getProfilePosts` (read) — Get the profile posts (wall) of a user.
- `xenforo_pro.getRecentThreads` (read) — List recent threads
- `xenforo_pro.getThreadFields` (read) — Get the custom field values of a thread you can view, with each field's title, type, the readable choice label, and whether YOU may change it.
- `xenforo_pro.getThreadPoll` (read) — Get a thread poll
- `xenforo_pro.getThreadPollResults` (read) — Get thread poll results
- `xenforo_pro.getThreadsByForum` (read) — List threads in a forum
- `xenforo_pro.getThreadTags` (read) — Get tags on a thread
- `xenforo_pro.getTrendingThreads` (read) — List trending threads
- `xenforo_pro.getUserFields` (read) — Get the custom profile fields of a member (default: yourself) that YOU may see, as XenForo shows them: id, title, group, type, choices, value with its readable label, and whether YOU may change it with updateUserFields. Fields hidden from you are not listed.
- `xenforo_pro.getUserProfile` (read) — Get a member profile
- `xenforo_pro.inviteToConversation` (write) — Invite a user to an existing conversation.
- `xenforo_pro.leaveConversation` (write) — Leave a private conversation.
- `xenforo_pro.listAlerts` (read) — List the authenticated user's alerts.
- `xenforo_pro.listAttachmentsByKey` (read) — List attachments by attachment key.
- `xenforo_pro.listNodes` (read) — List all forum nodes with metadata.
- `xenforo_pro.listNodesFlat` (read) — List all nodes in a flat array.
- `xenforo_pro.markAlertRead` (write) — Mark a specific alert as read.
- `xenforo_pro.markAllAlertsRead` (write) — Mark all alerts as read.
- `xenforo_pro.markConversationRead` (write) — Mark a conversation as read.
- `xenforo_pro.markThreadRead` (write) — Mark a thread as read for the current user.
- `xenforo_pro.postProfileMessage` (write) — Post a message on a user profile wall.
- `xenforo_pro.reactToConversationMsg` (write) — Add a reaction to a conversation message.
- `xenforo_pro.reactToPost` (write) — Add a reaction to a forum post.
- `xenforo_pro.reactToProfilePost` (write) — Add a reaction to a profile wall post.
- `xenforo_pro.readAttachmentText` (read) — Read the text content of an attachment
- `xenforo_pro.removeThreadTags` (write) — Remove tags from a thread.
- `xenforo_pro.replyToConversation` (write) — Reply to an existing private conversation.
- `xenforo_pro.starConversation` (write) — Star (bookmark) a conversation.
- `xenforo_pro.updateConversation` (write) — Update conversation metadata (title, etc).
- `xenforo_pro.updateMyProfile` (write) — Update the authenticated user's profile.
- `xenforo_pro.updateThreadFields` (write) — Change custom field values of a thread you may edit (your own thread, or any thread as a moderator). Only the fields you send are changed. Choice fields take the choice id (or its exact label); multi-choice fields take an array; an empty string clears an optional field. Unknown fields, fields you may not edit and choices outside the list are refused.
- `xenforo_pro.updateUserFields` (write) — Change custom profile field values. Without user_id: your own profile, with XenForo's member rules (fields the site lets members edit; a "once" field only while it is empty). With another member's user_id: only if you are a moderator allowed to edit that member's profile, and only the fields moderators may edit. Only the fields you send change. Choice fields take the choice id (or its exact label); multi-choice fields take an array; an empty string clears an optional field. Unknown fields, fields you may not change and choices outside the list are refused.
- `xenforo_pro.uploadAttachment` (write) — Upload an attachment for use in a post.
- `xenforo_pro.uploadMyAvatar` (write) — Upload an avatar for the current user.
- `xenforo_pro.votePoll` (write) — Cast a vote in a thread poll.
- `xenforo_pro.votePost` (write) — Vote on a post (up/down).

## Frequently asked questions

**Which AI agents can I use?**

Our own agent at goldnat.ai, and other AI agents that support the Servio protocol. The list of compatible clients is on this page.

**Can the AI see or change things I can't?**

No. It works as the XenForo user who connected it, with exactly that user's permissions. Connect it with an account that has only the access you want it to have.

**Will it change things without asking?**

Only if you approved write access when you connected it. Deleting or irreversible actions ask for an explicit confirmation.

**How do I disconnect an agent?**

Revoke its connection from the plugin page in your admin panel. The agent loses access immediately.

**Do I also need Goldnat for XenForo?**

Yes. Goldnat for XenForo Pro runs on top of the free core plugin, which handles the secure connection.
