WordPress MCP

by 5unnykum4r

Not rated
GitHub

About

A Model Context Protocol (MCP) server that gives AI agents full control over WordPress sites. 46 tools for posts, pages, media, SEO, comments, redirects, blocks, patterns, TablePress, and more.

Details

Author
5unnykum4r
Categories
Productivity, Other, Marketing
Tags
#seo, #web-research, #wordpress, #cms

Setup

Install WordPress MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/5unnykum4r/wordpress-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server that gives AI agents full control over WordPress sites. Manage posts, pages, media, categories, tags, comments, SEO, redirects, Gutenberg blocks, reusable patterns, TablePress tables, plugins, users, and site settings — all through 46 MCP tools.

Built forClaude Code. Also compatible with the Claude Agent SDK and any MCP-capable client.

┌─────────────┐ JSON-RPC ┌──────────────────┐ HTTP/Auth ┌─────────────────┐ │ Claude / │ ──────────────▶ │ Python MCP │ ──────────────▶ │ WordPress Site │ │ AI Agent │ │ Proxy Server │ │ (MCP Adapter) │ │ │ ◀────────────── │ (server.py) │ ◀────────────── │ (mu-plugin) │ └─────────────┘ MCP Tools └──────────────────┘ JSON-RPC └─────────────────┘ │ sites.json (multi-site config)

A single Python proxy handlesunlimited WordPress sites. Each tool call includes asiteparameter to target a specific site. Authentication uses WordPress Application Passwords (built into WP 5.6+).

Total: 46 toolscovering the full WordPress management surface.

# Build PHP dependencies locally cd wordpress/ composer install # Upload vendor/ and load-mcp-adapter.php to your WordPress server # See SETUP.md for detailed instructions
# Copy the example config cp sites.json.example sites.json # Edit with your site details
{ "myblog": { "url": "https://yourdomain.com/wp-json/mcp/mcp-adapter-default-server", "username": "YourAdmin", "password": "xxxx xxxx xxxx xxxx xxxx xxxx" } }

Claude Code— add to~/.claude.json(or ask your Claude Code agent to set it up for you):

{ "mcpServers": { "wordpress": { "type": "stdio", "command": "uv", "args": [ "run", "--with", "fastmcp", "--with", "httpx", "python", "/path/to/wordpress-mcp/server.py" ] } } }

Then install the skill for tool documentation:

ln -s /path/to/wordpress-mcp/skill/wordpress-mcp ~/.claude/skills/wordpress-mcp

See the fullsetup guidefor detailed instructions, troubleshooting, and usage examples.

All tools requiresiteas the first parameter.

wordpress-mcp/ ├── README.md ← This file ├── SETUP.md ← Full setup guide + troubleshooting ├── LICENSE ← MIT license ├── server.py ← Python MCP proxy (FastMCP + httpx) ├── sites.json.example ← Site configuration template ├── wordpress/ │ ├── load-mcp-adapter.php ← WordPress MU-plugin (server-side) │ ├── composer.json ← PHP dependencies │ └── composer.lock └── skill/ └── wordpress-mcp/ ← Claude Code skill ├── SKILL.md └── references/ ← Tool documentation (7 files)

- Python 3.10+
-
uvpackage manager
- FastMCP and httpx (installed automatically byuv run)

- WordPress 5.6+ (for Application Passwords)
- PHP 7.4+
- Composer packages:wordpress/abilities-apiandwordpress/mcp-adapter

Add as many WordPress sites as you need tosites.json:

{ "blog": { "url": "https://blog.example.com/wp-json/mcp/mcp-adapter-default-server", "username": "admin", "password": "xxxx xxxx xxxx xxxx xxxx xxxx" }, "shop": { "url": "https://shop.example.com/wp-json/mcp/mcp-adapter-default-server", "username": "admin", "password": "yyyy yyyy yyyy yyyy yyyy yyyy" }, "docs": { "url": "https://docs.example.com/wp-json/mcp/mcp-adapter-default-server", "username": "editor", "password": "zzzz zzzz zzzz zzzz zzzz zzzz" } }

Each site gets its own alias. Target any site withsite="blog",site="shop", etc. No proxy restart needed when adding new sites.

Contributions are welcome. Please open an issue or pull request.

Lightweight WordPress MCP server with 42 tools. Token-optimized responses reduce REST API verbosity by 95%+. Posts, pages, users, plugins, themes, media, taxonomies, comments.

Official Ahrefs MCP server that lets AI agents securely access Ahrefs SEO data, site metrics, keyword research, and competitor analysis through the Ahrefs API.

GEO optimized content publishing engine for AI visibility

All-in-One SEO & Web Intelligence Toolkit API from FetchSERP.

Scan how ChatGPT and Claude read your app, see who they name instead of you, and get the paste-ready fixes (llms.txt, JSON-LD, FAQ, meta) to get found.

Answers questions on AEO, SEO, web development and branding from the published material of GOJI, a Melbourne digital agency, with a goji.agency URL to cite on every result.

Search-focused on-page SEO audits, entity coverage, competitor gaps, and internal-link opportunities for AI agents.

OpenSEO provides quality SEO data for keyword research, backlink analysis, rank tracking, site audits, analyzing your Google Search Console data. It's MCP server enables your AI agent to do tasks faster so you can focus on strategy.

The free SEO and AEO MCP server that turns your Claude / Cursor / ChatGPT Desktop into a senior SEO + AEO consultant. Audits any URL, generates sitemap.xml / llms.txt / robots.txt, finds keyword gaps, and tells your AI exactly what to fix — all using your own AI credits, never ours.

Technical SEO audits and crawl insights for AI assistants via MCP.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.