Skip to content
Sign in
ClearComet Cloak for MCP icon

ClearComet Cloak for MCP

Hides your WordPress MCP routes.

Not scanned yet WordPress plugin 30 installs

Install in

No install steps yet

Follow the steps on the source page.

ClearComet Cloak for MCP hides your site’s MCP and Abilities routes from strangers. They get WordPress’s ordinary “not found.” AI assistants and bots you allow still get in.

A new install starts paused. Nothing is hidden until you turn Cloak on. An update keeps the on/off choice you already had.

Once Cloak is on, hidden routes are left off the public /wp-json index. A stranger who requests one gets a standard 404 (rest_no_route). You do not have to create a key.

Who gets in:

  • You, in the browser: a logged-in WordPress session that sends the REST nonce (X-WP-Nonce or _wpnonce). The block editor does this. A cookie with no nonce does not count. An application password does not count unless you turn that rule on.
  • AI assistants and bots WordPress has already logged in: if another plugin has accepted the login, the hidden route stays in place. This is on by default (cloak_allow_authenticated_users). A missing or rejected token is still a 404.
  • Your own scripts (optional): send a secret key in the X-Cloak-Key header. Older key headers still work.
  • Guest addresses (optional): an IP address or range you add. One preset is offered and stays off until you click it.
  • Unlisted mode (optional, per door): the route stays off the public index, but a request to the address itself is answered, so a sign-in can start with 401. Anyone who already knows the address can tell the route exists.

    .well-known OAuth files stay public by design and may name your MCP address.

WordPress still checks its own login after Cloak lets a request through. Cloak does not replace application passwords, and an application password alone does not get past Cloak.

The stock WordPress MCP Adapter has no OAuth. Hosted web connectors that need a sign-in also need an OAuth plugin, plus Unlisted mode. They do not work out of the box.

Why this matters

People are already scanning the internet for MCP servers. In July 2026 the SANS Internet Storm Center logged 49 IP addresses probing one small web host for MCP. If they find nothing, there is nothing to attack. SANS Internet Storm Center, diary 33150

Everyday use

Settings > Cloak for MCP has one switch. Click it to pause or resume. Everything else is optional and lives on the Advanced pages: doors, the guest list, a secret key, access rules, an activity log, and tools.

A secret key is only for your own apps. Generate one, or paste your own. Rotate keeps the old key working for 24 hours. Cloak stores only a fingerprint of the key, never the key itself.

Privacy

Never phones home. The only outside request is an optional refresh of Cloudflare’s public IP list that you click yourself. The activity log stays on your site and is deleted with the plugin.

Requirements

WordPress 6.9 or newer, and PHP 8.3 or newer. Tested up to WordPress 7.1.

Disclaimer

Cloak is one layer of protection, not a guarantee. Keep WordPress, your plugins, and your passwords up to date. Provided as-is, without warranty, under the GPL (see license.txt).

External services

Cloak connects to one outside service, and only when an administrator asks it to.

Cloudflare IP list (optional, manual). When you click Refresh from Cloudflare on Settings > Cloak for MCP > Guest list, the plugin sends one HTTPS GET request to https://api.cloudflare.com/client/v4/ips to download Cloudflare’s public list of its own server address ranges. The list is used only to decide when the CF-Connecting-IP header can be trusted.

  • What is sent: a plain request with no data from your site, no API key and no account. Like any web request, it reveals your server’s IP address and WordPress’s standard user agent (which includes your site address) to Cloudflare.
  • When: only when an administrator clicks the button. Never automatically, on a schedule, or on visitor requests.
  • If you never click it, the plugin uses the list bundled with it and makes no request.
  • Service provider: Cloudflare, Inc. Terms of use and Privacy policy.

The optional quick check sends one request from your site to your own site’s address; nothing goes to a third party.

Written by Joobi from the project's own listing. See the source page

AI-Securityfirewallhide rest apimcpmcp-server
28 Nov 2026
Version 4.0.8 released. Not scanned yet.

4.0.8

  • Requires PHP 8.3. On 11 November 2026, php.net lists 8.3 as security-supported until 31 December 2027.
  • New installs start paused. Cloak stores on as false and a setup-pending marker, and shows a notice with Turn on until you turn it on. That notice is not dismissible. After you turn it on, the dismissible “Cloak is on” notice appears.
  • Updates keep the on/off state already in effect. A pre-4.0.8 site with no settings row stays on. The check runs on load, so a file update that does not fire the activation hook still migrates. Deactivate and activate again does not pause a configured site.
  • A stranger, a missing token, and a rejected token still get a 404. After WordPress has accepted a login that is not an application password and not a cookie session, the hidden route stays available. Cloak does not read the Authorization header. cloak_allow_authenticated_users (default true) can turn that off. Application passwords stay opt-in.
  • Readme: “logged in” in the browser means a cookie plus the REST nonce. .well-known OAuth files can name the MCP address and are not hidden. Unlisted is how an assistant gets 401 on its first anonymous request. The default for that first request remains a 404.
  • One guest preset, labelled Anthropic outbound, with ranges 160.79.104.0/21 and 153.61.208.0/20. It stays off until you add it. No other provider preset.
  • The hidden wizard no longer switches that preset off.
  • Visible leftover product names in the plugin link, the plugins-screen status class, the settings script global, and the admin-ajax action are renamed. Saved options, the previous key header, and the older filters are unchanged.
  • Upgrades keep keys, guests, and doors.

4.0.7

  • Developer constants and filters now use the CLOAK_ / cloak_ prefix; old names keep working.
  • Apps can send the key in the X-Cloak-Key header. The previous header keeps working.

4.0.6

  • New name on WordPress.org: ClearComet Cloak for MCP (folder and text domain clearcomet-cloak-for-mcp, settings under Settings > Cloak for MCP).
  • Notices now appear only on the plugin’s own settings screen and can be dismissed. No activation redirect.
  • New installs accept only the new key header.
  • Small code clean-ups for the plugin directory. No change to how protection works.

4.0.5

  • New tagline: “We love MCP. Strangers see nothing.”
  • The door slot badge now reads PRIVATE.
  • Simpler guest list: add the address range your AI assistant or bot publishes. Guests you already saved keep working.
  • Cleaner wording on the settings screens and in the readme.

4.0.4

  • Clearer Home status: your logged-in browser gets in; AI apps need your key or a guest address.
  • Readme: key privacy FAQ, “Why this matters” with sources, and a disclaimer.

4.0.3

  • New installs start with an empty guest list. Add guests on Advanced > Guest list if you need them.
  • Upgrades keep every guest they already had.

4.0.2

  • Protection is on as soon as you activate. No wizard, no setup notice, and no keys to set up.
  • The Home screen is now just the door slot and one plain status line. The key, guest addresses, Cloudflare and the old header moved to the optional Advanced pages.
  • Upgrades keep your keys, guests and doors. Sites that were waiting for setup are now protected. A site you paused on purpose stays paused.

4.0.1

  • Refresh from Cloudflare now uses Cloudflare’s official public API (api.cloudflare.com/client/v4/ips); same validation and fallback.
  • Readme: External services section, plain-language FAQ.
  • Added license.txt.

4.0.0

  • Every function, option and hook now uses its own unique prefix.
  • New knock header and new wp-config.php constant names.
  • Security: the secret key is stored as a salted HMAC-SHA256 fingerprint and shown only once, when it is made (“Reveal” is gone).
  • Cloudflare ranges can be refreshed from Cloudflare (certificate checked; the bundled list stays as the fallback), and changed with a filter. Presets can be changed with a filter too.
  • The quick check’s loopback visit now uses normal certificate checks.
  • Directory readiness: removed the Update URI header.

3.0.0

  • Public release: no hard-wired access of any kind. The plugin folder no longer contains or reads a config file.
  • Safe first install: nothing is hidden until the setup wizard is finished or protection is turned on; an admin notice links to the wizard.
  • New 3-step wizard: pick doors, choose guests (you when logged in, a secret key made on the spot, a helper by address), then an honest quick check.
  • “Use my own key”: paste an existing key (validated).
  • wp-config.php constants remain as optional advanced overrides and are documented on the Tools page.
  • Upgrading from 2.x keeps the choices made on the settings screen; protection waits until you review them in the wizard.

2.0.0

  • Settings screen with the door-slot master switch, plain-language Home, Advanced pages and a setup wizard.
  • Per-door modes, extra doors, guest list with Cloudflare panel, secret key with 24-hour rotation grace, access rules, activity log, quick check, export/import.
30 Oct 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)