How Does the WordPress MCP Connector Work with Claude?
Yes, Claude publishes directly to WordPress. Bypassing the admin dashboard with unverified raw REST payloads risks corrupted block styles or auth errors. Follow our 5-minute official MCP connector configuration and publishing checklist below →
AI Productivity · Claude · WordPress MCP
Publishing to WordPress with Claude and the WordPress MCP Connector
A practical guide to using Claude on claude.ai to draft, style, and publish blog posts directly to your WordPress site — with hard-won lessons on what WordPress strips, and how to work around it.
Several posts on this blog — including Word Embeddings Explained, SingIDBot, and the OpenClaw Telegram integration guide — were written, styled, and published entirely through Claude on claude.ai, using the WordPress MCP connector. This post documents exactly how that workflow operates, what problems arise, and how to resolve them.
The combination of Claude’s HTML generation capability and the WordPress MCP connector creates a surprisingly smooth authoring pipeline, provided you know the constraints WordPress imposes on custom HTML blocks. Those constraints are the non-obvious part, and they are addressed in detail below.
Prefer Codex on Android? The companion guide, How to Connect Codex to WordPress.com and Post from Termux on Android, covers Codex CLI setup, MCP endpoint debugging, OAuth token-storage difficulties in Termux, and a draft-first workflow.
Tip: Use a Reference Post to Anchor the Style
Giving Claude the URL of an existing post on your blog and asking it to match the styling is the fastest way to maintain visual consistency. The Word Embeddings post and the SingIDBot guide were both created this way, borrowing section card layout, banner colours, and code block styles from earlier posts in the series.
This article was generated with the assistance of Claude by Anthropic and posted via the WordPress MCP connector. ✨
For a complete coding example, see Vibe Coding the Knight’s Tour with OpenAI Codex CLI, which follows the prompts, implementation, tests, and diff-review workflow.
WordPress & Mobile AI Guides
- Running Google Antigravity CLI on Termux: Broken ARM64 Workaround & WordPress MCP
- Drawing Quantum Diagrams with Matplotlib on Termux & Publishing to WordPress
- Connect Codex to WordPress from Termux
- Move a WordPress.com domain to Cloudflare
- Automate workflows with n8n
- Build a reusable Claude publishing skill
Related AI & CLI Agent Workflows
Explore more terminal automation, AI pair programming, and mobile agent guides:
Frequently Asked Questions
How does the WordPress MCP connector publish from Claude?
The Model Context Protocol (MCP) server acts as a local bridge exposing tools to Claude Desktop, enabling Claude to format HTML blocks and execute authenticated REST API calls directly to WordPress.com.
Is it safe to use WordPress MCP connector with AI?
Yes, because the MCP connector enforces scoped OAuth permissions and allows drafting in ‘draft’ status for human review before publishing live.
{
"mcpServers": {
"wordpress": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
"env": {
"WORDPRESS_SITE_URL": "https://malcolmlow.com",
"WORDPRESS_AUTH_TYPE": "application_password"
}
}
}
}
Leave a comment