xpay✦ Commerce
Directory
WooCommerce plugins
CloseHub Connector
CloseHub Connector
Connect WordPress to CloseHub with one API key and expose content and site tools to MCP clients such as Claude.
Will this break my store?
What the WordPress.org registry says about keeping CloseHub Connector running.
Tested to 7.1.4
Tested against the WordPress branch in use today.15 days ago
8.1
Your host must be running at least this version.6.4
2
Maintenance & trust
Scored on how CloseHub Connector is looked after — not on how many stores run it.
Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
Not enough dataListing transparency
6 / 10Ratings
No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.
CloseHub Connector replaces the multiple credentials previously required to link a WordPress site with CloseHub — a marketing project management platform.
Once the plugin is activated, it generates a secure API key and exposes a dedicated REST API namespace (/wp-json/closehub/v1/) that CloseHub uses to interact with your site.
It also exposes content abilities through the WordPress MCP Adapter. MCP clients can discover, list, read, create, update, upload an image, update a post slug, replace one exact Gutenberg block, and send posts to the trash using the server at /wp-json/mcp/mcp-adapter-default-server. closehub/upload-media accepts an image as data_base64, returns its Media Library URL, and requires the user’s upload_files capability; pass that URL as featured_image_url to create or update content without uploading a duplicate. closehub/update-post-slug accepts a post ID and slug, then returns the normalized unique slug and resulting URL. closehub/get-post returns a content_hash; use it with closehub/replace-gutenberg-block, a zero-based block_path, the current block name, and one replacement serialized block so a stale read cannot overwrite newer content. These abilities default to the post type but accept a post_type input for any other post type registered with an admin UI — pages, WooCommerce products (including product types WooCommerce’s own MCP abilities don’t support, such as subscriptions), or custom post types. Authenticate with OAuth as a WordPress user, or use the same CloseHub API key as a Bearer token for a shared Claude Team connector. The API key acts with the capabilities of the WordPress user who last generated it.
Settings: One page under Settings → CloseHub (Network Admin → Settings → CloseHub on multisite) shows the API key, the CloseHub endpoint, the MCP server URL, and the user the key acts as. The same API key connects CloseHub and Claude.
Claude Team: In Claude, add a custom connector with the MCP server URL from Settings → CloseHub, choose No sign-in, and add a request header named authorization with the value Bearer <your API key>. The URL uses a ?rest_route= query to help preserve the header when a server rewrite strips it from /wp-json/ requests. Everyone sharing this connector has the WordPress permissions of the user who last generated the key. Regenerating the key disconnects CloseHub and every Claude user until updated. OAuth per-user sign-in remains available under Advanced.
When WPML is active, create-post and POST /closehub/v1/posts also accept language and an optional translation_of source post ID. The connector assigns the new post to the requested language and joins it to the source post’s translation group. List/get/create responses include the language and translation-group details. Existing posts retain their language on update.
For WooCommerce, MCP clients with the manage_woocommerce capability can retrieve an order summary for a date range, including order count, total sales, average order value, and matching orders.
It also exposes a set of “site” abilities for the CLOSE web go-live checklist — configuration steps that used to be manual or wp-cli only. Each requires the WordPress capability noted below.
Available MCP site abilities:
closehub/search-replace-domain(manage_options) — Replaceold_domainwithnew_domainacross post content, options, comments, and meta tables, re-serializing serialized values safely. Skipswp_posts.guid. Passdry_run: trueto preview the number of rows that would change per table without writing anything. Example:{ "old_domain": "staging.example.com", "new_domain": "example.com" }.closehub/set-robots-txt(manage_options) — Writecontenttorobots.txt, physically if the site root is writable, otherwise served virtually through therobots_txtfilter. Example:{ "content": "User-agent: *\nDisallow:\nSitemap: https://example.com/sitemap.xml" }.closehub/set-post-noindex(edit_poston the targetpost_id) — Set or clear the noindex robots meta for one post/page using whichever SEO plugin (Rank Math or Yoast) is active. Example:{ "post_id": 42, "noindex": true }.closehub/flush-permalinks(manage_options) — Regenerate rewrite rules, equivalent towp rewrite flush. Takes no parameters.closehub/get-htaccess(manage_options, read-only) — Return whether.htaccessexists and its current content. Takes no parameters.closehub/set-site-settings(manage_options) — Update the site timezone and/or admin email; at least one is required. Example:{ "timezone": "Europe/Madrid", "admin_email": "client@example.com" }.closehub/reassign-posts-author(edit_others_posts) — Reassign every post ofpost_type(defaultpost) fromfrom_author_idtoto_author_id, with a per-post success result. Example:{ "from_author_id": 3, "to_author_id": 1 }.closehub/install-wp-org-plugin(install_plugins) — Install (without activating) a plugin from the WordPress.org plugin directory byslug. Example:{ "slug": "two-factor" }.closehub/install-plugin-zip(install_plugins; plusupdate_pluginsto replace an installed copy andactivate_pluginswhenactivateis true) — Install a plugin from a base64 zip like Plugins > Add New > Upload Plugin. Only for small zips: deploy real packages withcreate-deploy-ticketbelow. The zip must hold a single folder (slug, when given, must match it). Withoverwrite(defaulttrue) the installed copy is backed up and replaced, like “Replace current with uploaded”. Clears WP Rocket and OPcache. Returnsslug,previous_version,new_version,active,backupandupgrader_messages. Example:{ "filename": "my-plugin.zip", "data_base64": "UEsDB...", "slug": "my-plugin" }.closehub/install-theme-zip(install_themes; plusupdate_themesto replace andswitch_themesto activate) — Same as above for themes, like Appearance > Themes > Add New > Upload Theme.closehub/create-deploy-ticket(install_plugins/install_themes) — Single-use ticket to upload one plugin or theme zip from disk to the returnedupload_url, sent in theX-CloseHub-Deploy-Ticketheader. Bound to the current user,typeandslug; expires in 15 minutes and is burned on first use. The upload installs or replaces the package like the zip abilities. Example:{ "type": "theme", "slug": "my-theme" }.closehub/get-installed-version(activate_pluginsfor plugins,switch_themesfor themes; read-only) — Installedversion,nameandactivestate of one plugin or theme, plus thebackupsavailable for rollback. Example:{ "type": "theme", "slug": "my-theme" }.closehub/rollback-package(install_*andupdate_*for the type) — Reinstall a backup taken before a replace: the most recent one, or thebackupfile named by get-installed-version. The current copy is backed up first. Example:{ "type": "theme", "slug": "my-theme" }.closehub/list-unused-plugins(activate_plugins, read-only) — List installed plugins that are not currently active, as removal candidates. Takes no parameters.closehub/update-plugins-and-core(update_pluginsandupdate_core) — Update every plugin with an available update and WordPress core to the latest version, with a per-plugin success result. Takes no parameters.closehub/create-site-user(create_users, pluspromote_userswhenroleisadministrator) — Create a WordPress user for the site’s client.roledefaults toeditor;usernamedefaults to the local part ofemailwhen omitted. Example:{ "email": "client@example.com", "role": "editor" }.closehub/link-translations(edit_poston both posts) — Link two existing posts as WPML translations without creating or editing content.post_idjoins the translation group oftranslation_of(the original) inlanguage. Rejects a language mismatch, different post types, a non-translatable post type, atranslation_ofthat is itself a translation, and an existing translation in that language (closehub_translation_conflict) unlessforce: true, which detaches it into its own group. Purges the cache of every post in the affected groups unlessclear_cache: false. Example:{ "post_id": 5789, "translation_of": 4732, "language": "en" }.closehub/unlink-translation(edit_post) — Move a translation into a translation group of its own. The original post of a group cannot be unlinked while it has translations.closehub/list-languages(edit_posts) — List the active WPML languages and the default one;include_available: truealso lists supported languages that can still be added.closehub/add-language(manage_options) — Activate a WPML-supported language by code, e.g.{ "language": "fr" }. Existing content is not changed.closehub/set-default-language(manage_options) — Make an active language the site default.closehub/duplicate-post(edit_post+ create capability) — Copy an original post into one or more other languages as drafts, using WPML’s own duplication. Each copy is linked to the original by default;link: falsecreates independent, unlinked copies. Example:{ "post_id": 42, "languages": [ "en", "fr" ] }.closehub/create-postwithlanguagecreates new content in that language; addtranslation_ofto link it as a translation of an existing post, or leave it out to keep it unlinked.closehub/clear-cache(rocket_purge_cacheormanage_options) — Purge the page cache of the active caching plugin (currently WP Rocket).scopeisall(default, whole site) orposts(only the givenpost_ids; IDs that don’t match a post are reported back ininvalid_post_ids). Passminify: trueto also clear minified CSS/JS files. Returns503when no supported cache plugin is active. On multisite passsite_idto choose the site to purge; on a subdirectory network, purging the main site with WP Rocket also clears the subsites’ cached pages, since they live inside the main site’s cache folder. Example:{ "scope": "posts", "post_ids": [ 42, 57 ] }.
What it replaces:
- WordPress Application Password (username + password)
- WooCommerce REST API consumer key and consumer secret
- Gravity Forms API key
You only need to share two things with CloseHub:
- Your site URL
- The generated API key (found at Settings → CloseHub)
Available endpoints:
GET /closehub/v1/ping— verify the connectionPOST /closehub/v1/posts— publish or draft a post (or another post type viapost_type), including optional SEO metadata (Rank Math or Yoast), featured image, categories, and WPMLlanguage/translation_ofwhen WPML is activePUT /closehub/v1/posts/{id}— update a post’s (or other post type’s) title, content, excerpt, status, SEO metadata, featured image, or categoriesGET /closehub/v1/woocommerce/orders— fetch order data (requires WooCommerce)GET /closehub/v1/gravity-forms/forms— list forms (requires Gravity Forms)GET /closehub/v1/gravity-forms/forms/{id}— get form detailsGET /closehub/v1/gravity-forms/forms/{id}/entries— count form entries by date rangePOST /closehub/v1/elm-releases— create an Easy License Manager release for a product (byproduct_idorproduct_sku) and update its WooCommerce download file to the givenzip_urlin one call; optionaltested,requires,requires_php,upgrade_noticePUT /closehub/v1/elm-releases/{id}— update fields on an existing release (all optional) and, ifzip_urlis given, its product’s download file
WooCommerce, Gravity Forms, and Easy License Manager endpoints return a clear error if those plugins are not active — they are not required.
Multisite networks:
MCP abilities work from the network too: connect once with the network API key and every ability knows which sites it can act on. Abilities that read content or rebuild per-site caches (list-posts, list-languages, get-order-summary, flush-permalinks) run on every site and return one result per site; pass site_ids to limit them. Abilities tied to a specific post, file or setting (for example create-post, get-post, update-post, trash-post, set-robots-txt, clear-cache) require a site_id so an ID is never applied to the wrong site. Server-wide abilities (install-wp-org-plugin, install-plugin-zip, install-theme-zip, create-deploy-ticket, get-installed-version, rollback-package, list-unused-plugins, update-plugins-and-core) run once. Use closehub/list-sites to discover site IDs. Permissions are re-checked on every site.
On a WordPress Multisite network, the same endpoints listed above are shared by every site in the network — there is no separate namespace or key to manage. Activate the plugin network-wide and go to Network Admin → Settings → CloseHub to find one API key shared by the whole network. Every request to those endpoints automatically returns a sites array with one entry per site in the network (site_id, url, and that site’s data or an error message), instead of a single site’s result — handy when a network is used to run the same company in multiple languages.
Where do I find my API key?
Go to Settings → CloseHub in your WordPress admin. The key is displayed there along with a copy button.
Can I regenerate the API key?
Yes. Click Regenerate Key on the Settings → CloseHub page. The old key stops working immediately — update CloseHub with the new key right away.
How do I connect Claude Team when OAuth discovery is blocked?
Go to Settings → CloseHub, copy the MCP server URL, choose No sign-in authentication in Claude Team, and add a request header named authorization with the value Bearer <your API key> (use the Copy button next to the header). Everyone using that connector shares the WordPress permissions of the user shown under Acts as user.
Do I need WooCommerce or Gravity Forms installed?
No. Both are optional. If they are not active, those endpoints return a 503 response with a clear message instead of crashing.
How is the API key secured?
The key is stored in wp_options (or network-wide in wp_sitemeta on multisite), never exposed on the frontend, transmitted only via HTTPS, and verified using constant-time comparison (hash_equals) to prevent timing attacks. It is never logged or included in REST responses.
How do I deploy a plugin or theme zip from my computer?
Call the closehub/create-deploy-ticket ability with type and slug. It returns a single-use ticket, valid for 15 minutes and only for that package, and an upload_url. Send the zip there as multipart/form-data in the file field, with the ticket in the X-CloseHub-Deploy-Ticket header; overwrite, activate and clear_cache go in the query string. No application password is needed: the route accepts only tickets. The plugin repository ships bin/closehub-deploy, a script that does the upload; see docs/deploy.md.
Can I use this plugin on a multisite network?
Yes. When network-activated, the plugin generates one API key shared by every site in the network (managed from Network Admin → Settings → CloseHub instead of a per-site Settings page), and the same REST endpoints automatically query every site and return combined, per-site results. On a regular, non-multisite install, everything works exactly as a single site as described above.
Is this plugin affiliated with WooCommerce or Gravity Forms?
No. It integrates with those plugins using their public PHP APIs but is not developed, endorsed, or supported by WooCommerce or Gravity Forms.
Plugin details
Tags on WordPress.org
