MCP

Ask Claude Code or Cursor about your sites.

Connect your AI assistant to WP Duet with an access key. It can look up your sites, their updates, backups and uptime, and it only sees what you can see.

Example conversation in Claude Code, with sample sites. Asked whether anything is wrong with harbor-dental.co, the assistant calls list-sites to find the site, get-site-uptime to read its incidents and get-site to read its updates and vulnerabilities, then answers that the site is up, was down for 4 minutes on 14 October, has two plugin updates waiting and no open vulnerabilities.

Examples

What you can ask

Plain questions. Your assistant picks the tool, and each call shows in the conversation.

  • “Which of my sites are down right now?”

    Uses list-sites

  • “Which sites are still on PHP 7.4?”

    Uses list-sites

  • “Does northwind-bakery.com have updates waiting or open vulnerabilities?”

    Uses list-sitesget-site

  • “Did last night’s backup of northwind-bakery.com finish?”

    Uses get-site

  • “When did harbor-dental.co last go down, and when does its SSL certificate expire?”

    Uses get-site-uptime

Tools

Three tools. Each one only reads.

These work on every site you connect. Each takes the site id that list-sites returns.

Sites

  • list-sitesRead-only

    Lists the WordPress sites you can see, with each site’s id, domain, type, PHP and WordPress version and uptime status. Can filter by a word in the name or domain. Up to 100 sites.

    Input: search (optional)

  • get-siteRead-only

    One site in detail: versions, domains, how many updates are waiting, open vulnerabilities and the latest backup. Never returns passwords.

    Input: site_id

Uptime

  • get-site-uptimeRead-only

    A site’s uptime: current status, uptime percentage, response time, SSL expiry and recent incidents.

    Input: site_id

Setup

Connect your assistant

The address is https://app.wpduet.com/mcp. Your access key goes in the Authorization header.

  1. Create an access key

    In WP Duet, open your Profile settings and find Access for your tools. Name the key after the assistant, for example “Claude on my laptop”, and copy it. It’s shown once.

  2. Add WP Duet to your assistant

    Use your key in place of YOUR_ACCESS_KEY.

    Claude Code: run in your terminal
    claude mcp add --transport http wpduet https://app.wpduet.com/mcp --header "Authorization: Bearer YOUR_ACCESS_KEY"
    Cursor: add to .cursor/mcp.json, or ~/.cursor/mcp.json for every project
    {
      "mcpServers": {
        "wpduet": {
          "url": "https://app.wpduet.com/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_ACCESS_KEY"
          }
        }
      }
    }
  3. Ask about a site

    Start with “List my sites”. Your assistant finds each site’s id there and uses it for the other tools.

Security

What an access key can do

More on how we protect your sites on the security page.

  • Only what you can do. It reaches the sites in the teams you belong to, and your role applies on every site.
  • Two-factor teams stay closed. If a team requires two-factor sign-in and you haven’t turned it on, your assistant can’t see that team’s sites.
  • Expires after 90 days. Remove a key any time and the assistant stops working straight away.
  • Every call is logged. Each key shows its last 50 calls: the tool, the site, whether it worked or was refused, the IP address and the app. Calls are kept for 180 days.
  • Your team sees new keys. Creating or removing a key is recorded in the audit log of every team you’re on.
  • 60 calls a minute. Per person, across all of your keys.

Questions

Something else? Write to us.

Which assistants work with it?

Claude Code and Cursor, or any MCP client that connects over HTTP and can send an Authorization header. The Claude apps on the web and desktop connect with a sign-in screen instead of an access key, which WP Duet doesn’t support yet.

Can my assistant change my sites?

Not your connected sites. The three tools it can use on them only read: sites, details and uptime.

Can it see sites I can’t?

No. It sees the sites in the teams you belong to, with your role. If a team requires two-factor sign-in and you haven’t turned it on, that team’s sites stay hidden from your assistant too.

What happens when a key expires or I remove it?

A key stops working 90 days after you create it, or straight away when you remove it. Create a new one in your Profile settings whenever you need it.

Does it cost extra?

No. It’s included in the $2 per site price, like every other feature.

Ask about your sites from your editor.

14 days free, no card. Then $2 per connected site per month.