Your PageMotor siteClaude
PageMotor × Claude

Wire your site into Claude

Every PageMotor site ships with its own MCP server, reachable at /mcp/. It speaks the same protocol Claude uses to talk to any tool — meaning Claude can read, write, and manage your site directly, once you connect it. This walkthrough covers both ways in.

Two doors in

Pick your path

Both roads end at the same place — a validated bearer token — but which one you take depends on who (or what) is connecting.

One-click sign-in

For a person driving a browser: Claude Desktop, claude.ai. Paste your MCP URL, log in, approve. Nothing to copy, nothing to store.

  • Recommended for most people
  • No token to manage

Bearer token

For clients with no human at the wheel: Claude Code, the Claude API, CI jobs, scripts. You mint a static token once and hand it to the client.

  • For developers & automation
  • You create and revoke it
Step 1 of 3 — OAuth

Add the connector

In Claude Desktop or claude.ai, add your site as a custom connector.

Requirement: your site needs to run over HTTPS — this step relies on TLS to work.
Step 2 of 3 — OAuth

Sign in when prompted

Your browser opens on its own. If you aren't already signed in to your site, you'll land on its login page first.

Nothing to configure here — this is the same login you already use to manage your site.
Step 3 of 3 — OAuth

Approve the connection

Once you're signed in, a consent screen appears asking Claude to connect. Click Approve — that's the whole flow. No API key, no terminal, no config file.

Under the hood

What just happened

You don't need to do any of this yourself — the client handles it — but here's what those three clicks triggered:

Identity

Your access, carried over

The connection acts as whoever approved it, at that person's access level. There's no separate scope to choose — approve as an admin, and the connection has admin access.

admin> producer> read-only

Each tier includes everything the ones after it can do.

Staying in control

Revoke anytime

Any admin can see every connected app and shut one off instantly.

No browser? — Bearer token

Connect headless clients

Claude Code, the Claude API, CI jobs, and scripts have no human to click Approve — so they connect with a static token you create once.

# Claude Code claude mcp add pagemotor --transport http https://<your-site>/mcp/ \ --header "Authorization: Bearer <your-token>"
Using the Claude API instead? Set authorization_token on the /mcp/ entry inside mcp_servers.
Self-hosting note

Behind nginx? Read this

Some hosting stacks (CloudPanel, Plesk, hand-rolled nginx) route all of /.well-known/ to a stock certificate-renewal rule — which quietly blocks the sign-in flow.

Tell-tale sign: /mcp/ answers correctly, but the client 404s right after and can't finish signing in.
# Quick diagnostic curl -sI https://<your-site>/.well-known/oauth-protected-resource # 200 = reaches your site fine. 404 = that rule is in the way.

Fix it by narrowing that rule to just the certificate-challenge path, or adding an explicit override for the discovery URLs.

All set

Your site and Claude are connected

Claude can now read and manage your site through whichever door you chose. Revisit Connected Apps or Manage API Access whenever you need to check who's plugged in.