Connect BTT Publisher to Claude Code
Push draft content to our staging WordPress site directly from Claude.
Who this is for
Anyone at BTT who needs to draft, edit, or review content on our staging WordPress site at staging2.bristechtonic.co.uk. Time needed: about 5 minutes. Requires SOP 0 (Claude Code installed).
What this does
BTT Publisher lets Claude draft, search, and update posts on our own WordPress staging site. You can ask things like:
- Create a draft blog post titled Our case study with XYZ Ltd with this content: ...
- Find a stock image of a Bristol harbour at sunset, import it into BTT Publisher, and use it as the featured image of draft 42.
- List the last 10 posts on the staging site.
Important: BTT Publisher only ever creates draft posts. Nothing goes live until Chris reviews and clicks Publish in WordPress.
Before you start
You need an access token from Chris. Slack him: Hi -- I am setting up BTT Publisher per SOP 4. Can I get my access token?
He will send a long random string. Store it in 1Password under BTT Publisher token -- [your name]. Treat it like a password.
Step 1 - Open Terminal
- Press Cmd + Space, type
Terminal, press Enter. - A window opens with a
$prompt. You only need to paste one line.
Step 2 - Paste the connection command
Paste this into Terminal, replacing PASTE_YOUR_TOKEN_HERE with the token Chris gave you:
claude mcp add --transport http btt-publisher "https://ops.bristechtonic.co.uk/api/btt-publisher-mcp?token=PASTE_YOUR_TOKEN_HERE"
Press Enter. You should see: Added MCP server: btt-publisher. Then close Terminal.
Step 3 - Restart Claude Code
- Quit Claude completely: Cmd + Q.
- Reopen: Cmd + Space, type
claude, Enter.
Step 4 - Test it works
Use BTT Publisher to ping the server and tell me what it responds.
Claude should return a short pong or OK message. Then try:
Use BTT Publisher to list the last 10 posts on the staging site.
You should see recent posts on staging2.bristechtonic.co.uk.