WordPress — Claude Code MCP server: what it does, how to install
MCP server for managing WordPress via REST API: posts, pages, media, comments, taxonomy, and users.
no license 138 installs updated 2026-02-11
claude mcp add --transport http wordpress https://wordpress--node2flow.run.toolsWhat WordPress does
The server provides twenty tools for WordPress operations: full CRUD for posts and pages, media upload by URL, comment moderation, category and tag management, and access to user and site information. Authentication uses HTTP Basic Auth with an Application Password, which you create in WordPress settings (Settings > Users > Application Passwords).
Three environment variables are required: WORDPRESS_URL (your site address), WORDPRESS_USERNAME (username), and WORDPRESS_APP_PASSWORD (application password). Tools return IDs, titles, statuses, dates, metadata, and full content — enough to edit existing content or create new.
The server is deployed remotely at https://wordpress--node2flow.run.tools; no local setup needed.
What it helps with
- publish and edit WordPress posts from your IDE
- moderate comments and change approval status
- create pages with hierarchy and assign parent pages
- upload media files by URL to WordPress library
- retrieve lists of categories, tags, and users
Example prompts for the agent
- Show all draft posts from the last month
- Create a new page called About Us with content from
about.html - Upload an image by URL to the media library and attach it to post 42
How to install WordPress
Platform CLI: remote server
claude mcp add --transport http wordpress https://wordpress--node2flow.run.toolsPlatform CLI: remote server
codex mcp add wordpress --url https://wordpress--node2flow.run.toolsConfig file
{
"mcpServers": {
"wordpress": {
"url": "https://wordpress--node2flow.run.tools"
}
}
}Config file
{
"servers": {
"wordpress": {
"type": "http",
"url": "https://wordpress--node2flow.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http wordpress https://wordpress--node2flow.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about WordPress
How to install WordPress in Claude Code?
Run claude mcp add --transport http wordpress https://wordpress--node2flow.run.tools, then configure the environment variables WORDPRESS_URL, WORDPRESS_USERNAME, and WORDPRESS_APP_PASSWORD.
What does the WordPress MCP server do?
It gives the agent twenty tools to manage WordPress via REST API: create and edit posts and pages, upload media, moderate comments, work with categories, tags, and users.
Where do I get an Application Password for WordPress?
Open the WordPress dashboard, go to Settings > Users > Application Passwords, and create a new password. Use this password in the WORDPRESS_APP_PASSWORD environment variable.