Blog

Connecting EdgeShaping to Claude over MCP

From EdgeShaping 2026.10.0, Claude can read your site’s AI bot records directly. Setup takes five steps, and none of them happen inside EdgeShaping.

What you need

RequirementCondition
WordPress6.9 or later
MCP Adapter0.7.0 or later (the official plugin from WordPress.org)
EdgeShaping2026.10.0 or later (Lite and paid alike)
Your siteServed over HTTPS and reachable from the internet
ClaudeAn account where custom connectors offer “Request headers”

“Request headers” is a beta feature and does not appear on every account. If you don’t see it, use the “Claude Desktop only” method near the end of this article instead.

Claude’s connectors reach your site from Anthropic’s side. A local development environment, or a site visible only from inside your network, cannot be connected. On the free plan you can have one custom connector.

Step 1 — Activate the MCP Adapter

In the WordPress plugin installer, search for “MCP Adapter” and install the one whose author is WordPress.org — the results include other plugins with similar names. Once activated, this URL on your site becomes an MCP server.

https://(your-site)/wp-json/mcp/mcp-adapter-default-server

If EdgeShaping is installed, its records become readable through that server. There is nothing to configure on the EdgeShaping side.

The WordPress plugin installer showing search results for "MCP Adapter"; the one authored by WordPress.org is the one to install

Step 2 — Create an application password

An application password is WordPress’s built-in credential for external apps. It is separate from your login password and can be revoked on its own later.

  1. Open Users → Profile in the admin
  2. Near the bottom, enter a name (for example, Claude) under “New Application Password Name” and press “Add New Application Password”
  3. Copy the 24-character password that appears — it is shown only once

If this is only for your own use, issuing it on your own account is fine.

The application password section of the WordPress profile screen, with the newly issued password shown once after creation

Step 3 — Build the header value

Claude’s connector has no fields for a username and password. Instead you supply a single value: username:password rewritten in Base64. You do this conversion once, on your own machine.

macOS (Terminal)

printf 'Basic %s' "$(printf '%s' 'username:application-password' | base64)" | pbcopy

Windows (PowerShell)

"Basic " + [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("username:application-password")) | Set-Clipboard

Replace username with your WordPress login name and application-password with what you copied in step 2. Keep the colon between them and the surrounding quotes. Nothing prints to the screen; the value lands on your clipboard.

For a user named taro with the application password abcd efgh ijkl mnop qrst uvwx, the result looks like this.

Basic dGFybzphYmNkIGVmZ2ggaWprbCBtbm9wIHFyc3QgdXZ3eA==

This value is not encrypted — it converts straight back to the original username and password. Treat it exactly like a password, and don’t paste it into chats or notes.

Step 4 — Add the connector in Claude

Open Settings → Connectors in Claude and choose Add → Add custom connector. The flow is the same on web and in the desktop app, and it spans two screens: press “Continue” on the first, “Add” on the second. Four values go in.

ScreenFieldValue
FirstNameAnything (for example, “Our site”)
FirstMCP server URLThe URL from step 1
SecondAuthentication“No sign-in”
SecondRequest headersChoose authorization from the list, paste the value from step 3, and leave “Required” checked

The custom connector screen with "No sign-in" selected and an authorization request header added

Three things to watch for.

Choosing “No sign-in” raises a warning, but that warning is aimed at servers with no authentication at all. Here the header value is the authentication, and anyone without it is rejected by WordPress.

Step 5 — Confirm the connection

Open a new chat, use + → Connectors in the composer to switch your new connector on, and ask:

List the abilities available on this site

If edgeshaping/get-daily appears in the list, you’re connected.

A chat returning the list of abilities, including edgeshaping/get-daily and edgeshaping/get-logs

Why step 3 is necessary

Connection and authentication belong to the MCP Adapter and WordPress core, not to EdgeShaping. EdgeShaping only registers read-only features through WordPress’s Abilities API; it does not ship an MCP server of its own.

The MCP Adapter authenticates whoever connects as a WordPress user, and the method available to an external AI today is the application password. The “enter a URL, sign in, press allow” flow (OAuth) is not supported yet. The conversion in step 3 bridges that gap.

When the MCP Adapter does support OAuth, connecting will be a matter of entering a URL and approving it. EdgeShaping will not need an update for that — only the authentication section of this article will change.

There are also plugins that add OAuth on top of the MCP Adapter. With one installed you can connect with just a URL and an approval, but we have not verified that combination with EdgeShaping. Configuration and support for that route belong to the plugin in question.

What you can do once connected

Claude sees only three tools, all from the MCP Adapter (mcp-adapter-discover-abilities, mcp-adapter-get-ability-info, mcp-adapter-execute-ability). There is no tool named EdgeShaping. EdgeShaping’s features — its abilities — are invoked through those three. Claude handles the calls, so you simply ask questions.

EditionAbilities availableWhat you can read
Liteedgeshaping/get-dailyDaily totals of AI bot access
Paidedgeshaping/get-dailyThe same totals, with each bot’s purpose category
Paid + Plus licenseThe above, plus edgeshaping/get-logsIndividual access records

All of them are read-only. No ability can modify or delete EdgeShaping’s records.

Some questions to try:

A chat answering "which AI bot visited most last week?" with a table of per-bot counts and a verified breakdown

Two things worth knowing:

Claude Desktop only

On accounts where “Request headers” doesn’t appear, you can connect by editing Claude Desktop’s configuration file instead. That route takes the username and application password as-is, so the conversion in step 3 isn’t needed. Steps 1 and 2 are the same.

Connector (steps 3–5)Claude Desktop config file
What you enterA URL and one converted valueURL, username and password, as-is
Also requiredNothingNode.js 22 or later
Where it worksWeb, desktop and mobileOnly Claude Desktop on that one computer

In Claude Desktop, go to Settings → Developer → Edit Config to open claude_desktop_config.json, and add:

{
  "mcpServers": {
    "my-site": {
      "command": "npx",
      "args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
      "env": {
        "WP_API_URL": "https://(your-site)/wp-json/mcp/mcp-adapter-default-server",
        "WP_API_USERNAME": "username",
        "WP_API_PASSWORD": "application-password",
        "OAUTH_ENABLED": "false"
      }
    }
  }
}

If mcpServers already exists, add only the "my-site" block inside it. Save, restart Claude Desktop, and verify with the same question as step 5.

mcp-wordpress-remote here is a relay that sits between Claude Desktop and your site. It performs the username-and-password conversion on your behalf.

Sharing access with someone outside

EdgeShaping’s abilities are readable at the Contributor role and above. To show your analysis to an agency or a consultant, you don’t need to hand over an administrator account.

  1. Create a new user in the Contributor role
  2. Issue an application password on that user
  3. Have them connect with that username and application password

To end the arrangement, revoke that application password. The EdgeShaping admin screens remain administrator-only, as before.

When it doesn’t work

SymptomCauseFix
The connector says it needs to reconnect, or no tools appearAuthentication was saved as something other than “No sign-in”Delete the connector and add it again with “No sign-in”
No abilities starting with edgeshaping/ in the listWordPress is 6.8 or earlier, or EdgeShaping is older than 2026.10.0Update both
Running an ability returns a permission errorThe connected user is a SubscriberMove them to Contributor or above

You can check the authentication without going through Claude at all. Run this in a terminal (in Windows PowerShell, use curl.exe instead of curl):

curl -s -u 'username:application-password' 'https://(your-site)/wp-json/wp/v2/users/me'
What comes backWhat it means
Your user detailsAuthentication works — review what you entered in the connector
incorrect_passwordThe username or the application password is wrong
rest_not_logged_inThe credentials never reached WordPress. Something — your server, a CDN, or a security plugin — is stripping the Authorization header

References

← Back to blog