Skip to content

Connect your assistant

Assistants connect straight to your site: there’s nothing to install on your computer. You paste the server URL in the assistant, log in to WordPress and approve the connection.

https://example.com/wp-json/ballesdev/mcp

In WordPress, open RealMCP → Connect. It shows your site’s exact URL ready to copy, the steps for each assistant and the connections you’ve approved. Every user who can use the server sees this tab.

Works on claude.ai, the desktop app and mobile.

  1. In Claude, go to Settings → Connectors → Add custom connector. Or click Add to Claude in RealMCP → Connect: it opens Claude with the name and URL filled in.
  2. Paste the server URL. Keep the sign-in options Claude detects (Sign in now and using Claude’s published identity) and add the connector.
  3. Claude opens your site: log in to WordPress and click Approve.

Connectors you add on the web or the desktop app also work on mobile.

In RealMCP → Connect, the Connect your assistant card has a tab for each family: Claude, ChatGPT and Other assistants. The last one covers:

  • OpenCode: run opencode mcp add my-site --url https://example.com/wp-json/ballesdev/mcp, then opencode mcp auth my-site, which opens your browser to log in and approve.
  • VS Code and Cursor: the Add to VS Code and Add to Cursor buttons open the editor installed on your computer with the server ready to add. Start the server there and sign in.
  • Any other assistant: add a remote MCP server (HTTP) with your server URL. If it supports OAuth it asks you to log in to your site; if it doesn’t, use a connection token.

The approval screen shows which app is asking (for example “Claude Code”), the WordPress user it will act as, who publishes the app and where it returns after you approve. The assistant works with that user’s permissions, and new pages and posts are saved as drafts.

The approval screen: Claude wants to connect to the site, with Cancel and Approve buttons

When the app returns to a program on your own computer, as Claude Code and Codex do, the screen warns that any program on that computer could be the one asking: approve only if you started the connection yourself just now.

Each approved connection is listed under Your connections in RealMCP → Connect, and as an Application Password named “RealMCP: app (date)” in your profile. Click Disconnect (or delete that Application Password) to cut access right away. Administrators also see Other users’ connections and can disconnect them.

Use a connection token for assistants that can’t sign in with OAuth but accept custom headers, or when your hosting blocks OAuth (see troubleshooting).

  1. In RealMCP → Connect, find Connection token, type which assistant it’s for, choose when it expires (30, 90 or 365 days, or Doesn’t expire; 90 days is the default) and click Create token.

  2. Copy the token: it starts with rmcp_mt_ and is shown only once. The Connection token card and the list of your connections, each with a Disconnect button

  3. Configure the assistant to send this header with every request:

    Authorization: Bearer rmcp_mt_…

In Settings → Connectors → Add custom connector, paste the server URL, choose No sign-in and add a header named Authorization with the value Bearer rmcp_mt_….

The token works until it expires or you disconnect it. Anyone who has it can use the site as you through RealMCP, so keep it private, and disconnect it in Your connections when you no longer need it.

Ask your assistant something like “List the pages on my site”. It should answer with your pages. If it doesn’t, see troubleshooting.