GoldT WebMCP Bridge
Bridge for 8 AI agents (Claude, ChatGPT, Grok, more) — powered by the Servio Protocol (aka WebMCP) with OAuth 2.0.
Install in
GoldT WebMCP Bridge (also branded as Goldnat AI Connect) enables AI agents to interact with your site through secure OAuth 2.0 authentication using the Servio Protocol.
Perfect for AI-powered customer support, automated content analysis, intelligent search, and custom AI integrations.
✨ Features
- Servio Protocol Support – Industry-standard AI integration
- Secure OAuth 2.0 – Same security standard as Google, Facebook, GitHub – your passwords stay safe
- 8 Pre-registered AI Clients – Claude, ChatGPT, Gemini, Grok, Perplexity, Copilot, Meta AI, DeepSeek
- 7 Tools – WordPress content tools plus optional translation via MyMemory API
- Translation Provider – Choose AI self-translate, MyMemory API, or disabled
- Dynamic Manifest – Instructions adapt to your settings so AI agents don’t invent capabilities
- Rate Limiting – Prevent abuse (50 req/min default)
- Security Controls – Token management, block specific users
- Zero Configuration – Works out of the box
- Extensible – Add custom tools via developer hooks
🎯 Quick Start for AI Users
Using ChatGPT or Claude?
Tell your AI agent:
“I want to connect you to my WordPress site at https://mysite.com using the Goldnat AI Connect for WordPress plugin. The manifest is at /api/aiconnect-manifest. Use OAuth 2.0 with client_id: claude-ai”
The AI will guide you through OAuth authorization – you’ll approve access in your browser.
🤖 Supported AI Agents
Pre-registered and ready to connect:
- Claude AI – Use
client_id: claude-ai(Anthropic) - ChatGPT – Use
client_id: chatgpt(OpenAI) - Gemini – Use
client_id: gemini(Google) - Grok – Use
client_id: grok(xAI) - Perplexity AI – Use
client_id: perplexity - Microsoft Copilot – Use
client_id: copilot - Meta AI – Use
client_id: meta-ai(Facebook) - DeepSeek – Use
client_id: deepseek
All clients use OAuth 2.0 with PKCE and redirect_uri: urn:ietf:wg:oauth:2.0:oob (out-of-band).
🛠️ Available Tools
- wordpress.searchPosts – Search posts with filters
- wordpress.getPost – Get single post by ID or slug
- wordpress.searchPages – Search pages
- wordpress.getPage – Get single page by ID or slug
- wordpress.getCurrentUser – Get authenticated user info
- translation.translate – Translate text via MyMemory API (when Translation Provider = mymemory)
- translation.getSupportedLanguages – List supported language codes (when Translation Provider = mymemory)
🔒 How Authentication Works
Secure OAuth 2.0 Authentication:
Uses the same security standard trusted by Google, Facebook, and GitHub:
- AI agent initiates OAuth flow with code challenge (PKCE)
- User approves in browser (consent screen)
- Agent receives one-time authorization code
- Agent exchanges code for access token using code verifier
- Agent uses token for API calls
The AI agent operates as the user who authorized:
* The agent receives an OAuth token linked to that user’s ID
* All API requests run with that user’s permissions
* The agent respects WordPress user capabilities
Examples:
If Administrator authorizes:
* ✅ Sees all posts (including drafts, private)
* ✅ Full access based on admin capabilities
If Subscriber authorizes:
* ✅ Sees only published content
* ❌ Cannot see drafts or private content
Security: Authorization codes are one-time use (10 min expiry). Access tokens expire after 1 hour. Refresh tokens valid for 30 days. PKCE ensures tokens can’t be stolen.
⚙️ Admin Settings
Configure the plugin at AI Connect Settings:
Translation Provider:
- AI Self-Translate (default) – The AI agent handles translation on its own; no translation tools appear in the manifest
- MyMemory API – Plugin calls MyMemory and returns translated text;
translation.translateandtranslation.getSupportedLanguagestools are added to the manifest - Disabled – Translation tools are hidden from the manifest entirely
Rate Limiting:
- Default: 50 requests per minute, 1,000 per hour (per user)
- Adjust both values in AI Connect Settings
🔐 Admin Controls
For Site Administrators:
Manage security from the WordPress admin panel:
- Revoke OAuth Tokens – Go to AI Connect OAuth Tokens to view and revoke active tokens
- Block Users – Go to AI Connect Settings scroll to “Manage User Access” section
- Rate Limits – Configure request limits in AI Connect Settings (default: 50/min, 1000/hour)
💬 We Need Your Feedback!
Help us build what YOU need:
- 💡 What tools would be most useful? Tell us which WordPress features you’d like AI agents to access
- 🐛 Found a bug? Report it so we can fix it quickly
- ⭐ Feature requests – We prioritize based on community feedback
How to provide feedback:
* GitHub: https://github.com/chgold/goldt-wp-webmcp-bridge/issues
* WordPress.org: Support forum
Your feedback directly shapes the future of this plugin!
Troubleshooting
Missing Dependencies Error
Symptoms:
* Red error notice in WordPress admin
* Plugin appears active but doesn’t work
* REST API endpoints return 404
Solutions:
-
Download complete plugin (Recommended)
- Get the full ZIP with dependencies from GitHub Releases
- Delete the incomplete plugin folder
- Upload and activate the complete version
-
Manual composer install (Advanced)
- SSH into your server
- Run:
cd /path/to/wp-content/plugins/goldt-webmcp-bridge && composer install --no-dev
Common causes:
* exec() function disabled on server
* Composer not available on shared hosting
* Plugin directory not writable
How to diagnose:
* Go to AI Connect Settings in WordPress admin
* Check the “Environment Status” table
* Look for red ✗ marks showing the exact issue
Database Tables Missing Error
Symptoms:
* Red error notice: “OAuth database tables were not created”
* OAuth authorization fails
Solution:
1. Deactivate the plugin
2. Reactivate the plugin
3. Check AI Connect Settings to verify “OAuth Tables: ✓ Created”
If problem persists:
* Your database user may not have CREATE TABLE permissions
* Contact your hosting provider or check wp-config.php
OAuth Authorization Fails
Symptoms:
* Clicking “Authorize” button does nothing
* Redirect loop during OAuth flow
* “invalid_client” or “invalid_request” errors
Solutions:
-
Clear WordPress rewrite rules:
- Go to Settings Permalinks
- Click “Save Changes” (flushes rewrite rules)
-
Verify OAuth tables exist:
- Go to AI Connect Settings
- Check “OAuth Tables: ✓ Created”
-
Verify client exists:
- Default clients (claude-ai, chatgpt, etc.) are auto-created
- If missing, deactivate and reactivate plugin
REST API Returns 404
Symptoms:
* /api/aiconnect-manifest returns 404
* Tools API calls fail with 404
Solutions:
-
Flush permalinks:
- Go to Settings Permalinks
- Click “Save Changes”
-
Reactivate plugin:
- Go to Plugins page
- Deactivate and reactivate “Goldnat AI Connect for WordPress”
-
Check WordPress REST API:
- Visit:
http://yoursite.com/wp-json/ - If this also returns 404, your REST API is disabled or blocked
- Check for conflicting security plugins
- Review .htaccess rules
- Visit:
Still Having Issues?
Before asking for help, gather this information:
- Go to AI Connect Settings
- Take screenshot of “Environment Status” table
- Check browser console for errors (F12 Console)
- Check WordPress debug log (if enabled)
Get support:
* GitHub: https://github.com/chgold/goldt-wp-webmcp-bridge/issues
* WordPress.org: Support forum
External Services
This plugin optionally uses the MyMemory Translation API when the “Translation Provider” setting is set to “MyMemory API” in the plugin settings.
MyMemory API
- What it is: A free machine translation service
- When it is used: Only when an AI agent calls the
translation.translatetool AND the plugin settings have “MyMemory API” selected as the translation provider - What data is sent: The text to be translated and the target/source language codes
- Default: Disabled by default. The default provider is “AI Self-Translate” (no external requests)
- Terms of Service: https://mymemory.translated.net/terms-and-conditions
- Privacy Policy: https://mymemory.translated.net/terms-and-conditions
If “MyMemory API” is not selected, no data is sent to any external service.
Privacy Policy
Goldnat AI Connect for WordPress does not collect, store, or transmit any personal data to external services. All API requests are handled locally on your WordPress installation.
Data stored locally:
* OAuth clients (pre-registered: claude-ai, chatgpt, gemini)
* OAuth authorization codes (temporary, 10 min expiry, one-time use)
* OAuth access tokens (temporary, 1 hour expiry)
* Rate limiting counters
* User blacklist (WordPress user IDs only)
No data leaves your WordPress installation. This applies when using the default settings. If you enable the MyMemory API translation provider, text content will be sent to mymemory.translated.net. See “External Services” section for details.
Requirements
Component
Required
Notes
WordPress
✅ 6.0+
Core requirement
PHP
✅ 7.4+
With json, openssl
Composer
✅ Yes
For dependencies
HTTPS
⚠️ Production
Required for security
Redis
⭕ Optional
For high traffic
Credits
- Optional predis/predis support for rate limiting
- Compliant with the Servio Protocol specification
Made with ❤️ for the WordPress & AI community
Written by Joobi from the project's own listing. See the source page
1.2.16 – 2026-11-20
- OAuth: the built-in client
claude-ainow also accepts Claude’s official callback URLhttps://claude.ai/api/mcp/auth_callback(claude.ai, Claude Desktop and mobile), andgoldnat-masteracceptshttps://goldnat.ai/oauth/callback. Until now every built-in client accepted only the copy-the-code flow (urn:ietf:wg:oauth:2.0:oob), so a client that sends the user back to its own site was refused. - Fix: after the user clicked Approve (or Deny), a client on another site never got its answer – WordPress’ safe redirect allows only this site’s own address, so the browser landed in wp-admin and the one-time code was lost. The browser now goes to the client’s registered address (and only to it, after the exact check).
- Nothing is removed: the copy-the-code flow keeps working, URLs an administrator added stay, the other built-in clients are unchanged, and the address must still match exactly – any other URL is refused as before.
- Database: OAuth schema 2.0.10 (added automatically on update).
1.2.15 – 2026-11-20
- Fix: a fatal error (“Cannot use object of type stdClass as array”) when an add-on registers a tool that needs the user’s confirmation and declares its arguments as an object (for example
'properties' => (object) array()for a tool without arguments, so the manifest shows{}). 1.2.14 assumed an array; on such a site every request that built the tool list stopped with the error. Both shapes now work, and the add-on’s own tool definition is no longer changed while theconfirmargument is removed. - Tests: tests/unit/ConfirmationSchemaTest.php (PHPUnit, both shapes of
properties).
1.2.14 – 2026-11-17
- Fix: an action that waits for the user’s confirmation always carries one plain sentence written for the user –
summary(“Delete 22 old revisions and 5 spam comments”) – anduser_message(the same, plus what to do next). Before, a tool that declared no summary left it empty, and the confirmation card of an AI client showed the instruction meant for the agent (“Not executed… Do NOT call this tool again…”) to the customer. The summary now comes from the tool’s own preview (preview.summary, built from the real names and numbers), from itssummarytemplate (placeholders are filled from the arguments and from the preview), frompreview.what, and as a last resort from a generic sentence – never empty.messagestays an instruction for the agent and says so. - The summary and the preview are built in the user’s own language (
switch_to_user_locale). Hebrew ships with the plugin for the confirmation texts; thelanguages/folder is now registered so bundled translations load. - Users › AI actions: the sentence is the headline of the page, followed by what will happen and what is lost in plain lines; the tool name and the raw data moved under “Technical details”. Risk and status are shown in words.
- Fix: no needless second confirmation request. When the user has just confirmed an action and the agent repeats the same call without
confirmation_id, the bridge returns the stored result (“already executed at …, not run again”) instead of creating a new request – for 2 minutes after the run, or 15 minutes while the agent has not collected the result yet."confirmation_new": trueasks again on purpose; filtergoldtwmcp_confirmation_duplicate_window(0 = off). A request that is still waiting is reused as before, and the answer now says so (reused). - The answer after a confirmed run is unambiguous:
messagestarts with “Already executed”, andconfirmationcarriesalready_executed,executed_at,summaryand a note.GET /confirmations/{id}also returnssummary. - Manifest: the agent instructions and the top-level
confirmationobject describesummary,user_messageand the duplicate rule. - Database:
pending_actions.delivered_at(schema 1.1.0, added automatically). - Tests: tests/confirmation-flow.php (82 checks).
1.2.13 – 2026-11-16
- Security: confirmation flow for destructive and financial tools, enforced in code. A tool registered with
confirmation(for example a refund or a delete) is never run by an agent’s call alone: the call answers HTTP 202confirmation_requiredwith a preview,confirmation_id,confirm_url,status_urlandexpires_at, and nothing happens until the user confirms it on Users › AI actions in their own signed-in browser session (auth cookie + nonce; requests carrying a Bearer token are refused there). The agent’s ownconfirm: trueargument is ignored for these tools and removed from their schema. - A pending action is bound to the user, the tool, the exact arguments (hash) and the client, expires after 15 minutes (filter
goldtwmcp_confirmation_ttl), runs at most once, and a re-submission withconfirmation_idreturns the stored result instead of running again (replay protection). Rejected and expired actions are final. - Autonomy: a user may let one agent run one such tool without asking (“From now on, let … run … without asking me”); the permission is per user, per tool and per client, listed on the same page and removable at any time. Site owners can switch autonomy off with
goldtwmcp_confirmation_autonomy_allowed. - Every request, decision, execution, replay attempt, grant and revoke is written to an audit log (shown on the page; action
goldtwmcp_confirmation_event). - Manifest: gated tools carry
confirmation(required/conditional) andrisk(financial/destructive), their description says what to do, a top-levelconfirmationobject describes the flow and the agent instructions explain it. The same flow applies to the in-process tool gateway (status202,denied_layerconfirmation). - New REST route
GET /wp-json/goldt-webmcp-bridge/v1/confirmations/{id}(Bearer, own actions only) reports pending / executed / rejected / expired and the result. - Fixed:
/api/aiconnect-toolsnow passes the tool’s HTTP status through (it always answered 200). - Security: an AI Connect access token is now accepted only on AI Connect’s own agent routes (tools, confirmation status, and the public manifest / OAuth routes). Before, a token was also accepted elsewhere on the site, so an agent could reach more than the plugin’s tools and scopes allow. On any other REST route the token is now refused with 403
goldtwmcp_token_route_not_allowed. A site owner can allow further routes explicitly with the filtergoldtwmcp_bearer_allowed_routes(default: none). We recommend updating. - Security: the browser-only routes
generate-promptandmy-tokensno longer accept an access token; they work only in the user’s own signed-in browser session. - Security:
getUsersnow shows other users the way the WordPress REST API does: without thelist_userscapability it lists only authors with published posts, without therolefilter (403forbidden_role_filter), without registration dates, and it searches display name and slug only.per_pageis capped at 100. - OAuth: refresh-token rotation now has a 60-second grace window. A client that repeats a refresh with the refresh token it has just used (a lost response, a retry, two workers) gets back the same new token pair instead of being disconnected; no second pair is ever issued. The window ends at once if the new pair is revoked, and only the same client can use it (filter
goldtwmcp_refresh_grace_seconds, 0 = off, at most 300). Database schema 2.0.9 adds two columns for this.
1.2.12 – 2026-11-15
- Security: the
writescope now requires at least one editing capability (posts, pages, media, comments, categories, menus, settings, or a shop’s products / orders —edit_posts,edit_pages,upload_files,moderate_comments,manage_categories,edit_theme_options,manage_options,edit_products,manage_woocommerce,edit_shop_orders,edit_shop_payments; filtergoldtwmcp_scope_capabilities). A subscriber or shop customer who approves a connection now gets a read-only token, as the connection prompt already did, and a write tool called with an older token of such a user is refused with 403insufficient_capability. Every write tool still checks its own WordPress capability on each call. - Security: a tool that does not declare
required_scopeis no longer treated as a read tool. Only a tool named with a read verb (get, list, search, find, count, export, validate, analyze, …) defaults toread; delete / remove / purge / prune tools default todelete; every other undeclared tool defaults towrite, so a read-only token cannot reach it. An undeclared tool fires thegoldtwmcp_undeclared_tool_scopeaction, and with WP_DEBUG_LOG the tools that were closed this way are written to the debug log; add-ons should declare the scope of every tool. Released add-on tools that act only on the shopper’s own cart (WooCommerce AI ConnectaddToCart,applyCouponToCart) keepread(filtergoldtwmcp_legacy_read_tools). - Changed: the connection prompt derives its scopes from the same capability map as the consent screen and every tool call.
1.2.11 – 2026-11-14
- New: in-process tool gateway for other plugins on the same site —
goldtwmcp_tool_gateway()->call_as( $user_id, 'wordpress.getPost', $args, $context ). It runs a registered tool as the given WordPress user with the same access layers as the REST endpoint (blocked users, the WordPress capability behind the tool’s scope, a per-user rate limit in its own bucket) plus an optionalallowed_toolsrestriction; anonymous callers may use read tools only. Content checks stay inside each tool, so a caller can never see more than the user could.check_access()tells whether a call would be allowed without running it; every call firesgoldtwmcp_tool_gateway_call. The REST endpoint is unchanged. - Security: password-protected posts and pages no longer return their content or excerpt (
searchPosts,getPost,searchPages,getPage,listPosts,listPages) to users who cannot edit them — the same rule the WordPress REST API applies. A newprotectedfield says when content was withheld. Comment tools refuse to list the comments of a password-protected post (403password_protected) for users who cannot moderate comments. - Security:
listPostsandlistPageswithstatus=draft|pending|private|future|anylist a non-published entry only to users who may read it (the rulegetPost/getPagealready apply). Before, any user with the read scope could list other authors’ drafts and private posts. - Fixed: the gateway’s tool list reports the definition (input schema) of the tool that actually runs when two modules define the same name.
- Improved:
listComments/getCommentswithpost_idreturn the exacttotalandhas_more, acceptorder(asc= reading order) andoffset(getComments), and give each comment itsurl.
1.2.10 – 2026-11-10
- Security:
listCommentsandgetCommentsshow users who cannot moderate comments only approved comments on posts they can read (as on the public site). Before, any user with the read scope could list pending, spam and trashed comments and comments on private posts. Asking forhold,spamortrashwithout the moderate_comments permission returns 403. - Security: ID parameters must be positive integers. Before, a negative ID was silently turned into a positive one (
absint(-1)= 1), sopost_id: -1read the comments of post 1. A negative or zero required ID, or a negative optional ID (post_id,author,parent), returns 400invalid_param. Optional IDs still accept 0 where 0 means “none”.limit,offsetandper_pagemay not be negative. - Fix:
getPost/getPagewith a numeric identifier that is not a positive whole number (for example -1 or 1.5) return 400invalid_paraminstead of 404. - Fix:
getMediareturns 404not_foundfor a missing media item instead of HTTP 200 withsuccess: false.
1.2.9 – 2026-11-09
- Changed: All AI clients can now be granted every scope the user is entitled to; re-authorize to get new scopes. The eight built-in AI clients (Claude, ChatGPT, Gemini, Grok, Copilot, DeepSeek, Perplexity, Meta AI) may now request
delete,manage_usersandadminlike thegoldnat-masterclient — which AI product connects makes no difference. Fresh installs seed the full scope set for all nine clients; existing installs get it through an automatic DB upgrade (OAuth schema 2.0.8). Custom clients are not changed. - Security: what a token receives is capped by the WordPress user’s own capabilities.
deleterequiresdelete_postsordelete_pages,manage_usersrequireslist_usersoredit_users(filter:goldtwmcp_scope_capabilities), andadminstill requiresmanage_options(filter:goldtwmcp_admin_scope_capability). Scopes the user is not entitled to are dropped at consent, and every tool call re-checks the capability behind its scope (403insufficient_capability). - Improved: the consent screen lists the scopes that will be granted and, separately, any requested scopes that are not granted because the account lacks the permission.
- Note: existing tokens keep the scopes they were issued with. Re-authorize to get new scopes.
1.2.8 – 2026-11-09
- Fixed: new
adminOAuth scope (“Site administration”). Pro and add-on tools that declarerequired_scope: admin(ProcreateUser,updateUser,updateSiteSettings; WooCommerceupdateStoreSettings) could never be called because no client was allowed to request that scope. The scope is now in the scope registry, the consent screen and the manifest (auth.scopes), and the built-ingoldnat-masterclient may request it. Existing installs get it through an automatic DB upgrade (OAuth schema 2.0.7) that addsadminto every client that already had the full scope set; read/write-only clients are unchanged. - Security:
adminis only granted to users who holdmanage_options(filter:goldtwmcp_admin_scope_capability). A non-administrator who approves a consent request asking foradminreceives a token without it, and every call to an admin tool re-checks the capability (403insufficient_capability), on top of each tool’s own WordPress capability checks. - Note: existing tokens keep the scopes they were issued with. To use admin tools, re-authorize (or generate a new connection prompt as an administrator) to get a token that includes
admin. - Added: declarative brief metrics section in the manifest (
manifest.brief.metrics) — goldnat.ai can now collect scalar KPIs on a schedule without an LLM in the loop. Public APIManifest::register_brief_metric()validates keys (^[a-z0-9]+(\.[a-z0-9_]+)+$) and caps the manifest at 50 metrics. Thebriefsection is emitted only when at least one valid metric points at a tool that is present in the manifest. This activates thecontent.published.dailymetric (wordpress.getContentStats) and add-on metrics such as WooCommercesales.revenue.daily/sales.orders.daily.
1.2.7 – 2026-11-09
- Security: RFC 7009 token revocation. The manifest now advertises
auth.revocation_url(/wp-json/goldt-webmcp-bridge/v1/oauth/revoke) next totoken_url, so platforms that hold tokens on a user’s behalf (e.g. goldnat) can kill them on the site when access is cut on their side. - Fixed:
/oauth/revokenow accepts the access token OR the refresh token (optionaltoken_type_hintonly changes lookup order) and revokes the whole pair, including the Token Registry row shown in “Token Registry” and “My AI Tokens”. - Fixed:
/oauth/revokealways answers 200{"success":true}for unknown or already-revoked tokens (no token probing); only a missingtokenreturns 400invalid_request. Accepts form-urlencoded and JSON bodies; no authentication required (public PKCE clients). - Fixed: legacy manifest key
auth.revoke_urlpointed at the token endpoint, which does not revoke; it now points at the revoke endpoint too. - Added:
goldtwmcp_token_revokedaction fires after a pair is revoked (row ID + 16-char prefix only).
1.2.4 – 2026-08-31
- Fixed: reverted plugin display name back to the original GoldT WebMCP Bridge (matches the plugin slug
goldt-webmcp-bridge). 1.2.0 renamed it to a longer form that included the term “WordPress”; the wp.org Plugin Check flags that as a restricted term and it also no longer matched the slug. The Goldnat / Servio Protocol rebrand still lives everywhere it makes sense — description tagline, manifest, admin subtitle, quick-prompt template, OAuth client display — but the Plugin Name header stays stable. - Removed:
includes/core/class-plugin-updater.php. WordPress.org’s Plugin Check rejects custom update systems (Plugin Updater detected), and the Free plugin was already served via wp.org’s built-in updater; the custom checker was only used by external Pro plugins that must ship their own update code from here on. - Fixed: SQL warnings in
upgrade_to_2_0_5andupgrade_to_2_0_6
Follow this listing's changes (Atom feed)