Skip to content
MCP server

Wordpress Mcp Server

A WordPress MCP server that provides 190+ tools for complete WordPress site management through AI.

Wordpress Mcp Server scores 32 (Limited), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 55 stars. Package registries report about 27 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by raheesahmedMITTypeScript55 stars
Trust score
32Limited
Trust score 32 of 100, Limited

Limited trust

32 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 32 comes from

0 + 5 + 6 + 10 + 4 + 7 = 32. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance5 / 20

How recently the repository saw a commit or release.

Maintenance: 5 of 20 points.
Popularity6 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 6 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "raheesahmed-wordpress-mcp-server": {      "command": "npx",      "args": [        "-y",        "wpmcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

WordPress MCP Server

Also Available on glama.ai | Cursor.store

npm version License: MIT WordPress


Video Demo : https://youtu.be/6hwMqXQFKN0

šŸ’ Support This Project

If this project helps you, consider supporting its development:

Cryptocurrency Donation

Select CoinSelect NetworkContractDeposit Address
šŸŖ™ USDT (TetherUS)šŸ”— TRX (Tron TRC20)Ending in jLj6tTBJBb7fKyRdhqmWETyZoNP4X98mPk2Jxrt

Your support helps maintain and improve this project! šŸ™

WPMCP server gives AI agents complete control over WordPress sites. Connect it to Claude, Cline, or any MCP-compatible AI, and manage WordPress through natural language.

Key Capabilities:

  • āœ… Content Management - Posts, pages, media, users, comments
  • āœ… File System Access - Read and write theme/plugin files
  • āœ… Theme Customization - Create child themes, modify styles, customize block themes
  • āœ… Plugin Control - Activate, deactivate, and modify plugins
  • āœ… Menu Management - Create menus, add items, assign to locations
  • āœ… Custom Content Types - Manage post types and taxonomies
  • āœ… Shortcodes & Cron - Execute shortcodes, schedule tasks
  • āœ… Widget System - Manage sidebars and widgets
  • āœ… Database Operations - Execute queries, manage options, inspect tables
  • āœ… WooCommerce Integration - Products, orders, customers, inventory, reports
  • āœ… Gutenberg Blocks - Block types, patterns, reusable blocks, templates
  • āœ… Advanced SEO - Sitemaps, redirects, schema markup, Open Graph, analysis
  • āœ… Security Monitoring - Site health, updates, integrity checks, debug logs
  • āœ… Performance Optimization - Cache management, database optimization, image processing
  • āœ… Backup & Migration - Full/partial backups, restore, export/import, cloning
  • āœ… User Roles - Custom roles, capabilities, permissions, role management
  • āœ… Complete Security - Multi-layer validation and automatic backups

Quick Start

1. Install

npm i -g wpmcp@3.0.0

2. Configure

Add to your MCP client (Claude Desktop, Cline, etc.):

{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": ["-y", "wpmcp@3.0.0"],
      "env": {
        "WORDPRESS_URL": "https://your-site.com",
        "WORDPRESS_USERNAME": "admin",
        "WORDPRESS_PASSWORD": "your-app-password"
      }
    }
  }
}

3. Install WordPress Plugin (Required)

  1. Install wpmcp-plugin/wpmcp.zip to /wp-content/plugins/wpmcp-plugin/
  2. Activate via WordPress Admin → Plugins → "WordPress MCP Server Plugin"
  3. Ensure you have edit_themes and edit_plugins capabilities

What the plugin enables:

  • File system operations (read, write, delete, copy, move)
  • Shortcode execution
  • Cron job management
  • All advanced WordPress features

See wpmcp-plugin/README.md for detailed setup guide.

4. Use

"Create a child theme called 'My Custom Theme'"
"Activate Akismet plugin"
"Read the style.css file from my theme"
"Create a blog post about WordPress and publish it"

Available Tools (130+)

šŸ‘‰ See WPMCP_TOOLS.MD for complete detailed list of all 130 tools.

CategoryToolsWhat You Can Do
Posts (15)create, update, delete, search, schedule, publish, duplicate, bulkManage all blog content
Pages (4)create, update, delete, hierarchyBuild site structure
Media (5)upload, update, delete, featured imagesManage images and files
Users (4)create, update, delete, rolesUser management
Categories (4)create, update, delete, hierarchyOrganize content
Tags (2)create, getTag content
Comments (4)create, update, delete, moderateManage discussions
Settings (4)get, update site settingsConfigure WordPress
SEO (2)meta description, focus keywordsOptimize for search
File System (8)read, write, delete, copy, moveEdit any file
Theme Manager (13)activate, child themes, theme.json, templatesComplete theme control
Plugin Manager (10)activate, deactivate, read/write filesFull plugin control
Menu Manager (8)create, add items, assign locationsFull navigation control
Custom Types (7)get post types, taxonomies, manage termsAdvanced content types
Shortcodes (3)list, execute, check existenceShortcode system
Cron Jobs (5)list, schedule, unschedule, run manuallyTask scheduling
Widgets (6)get sidebars, widgets, types, updateWidget management
Database (6)execute queries, manage options, list tablesDatabase operations
WooCommerce (15)products, orders, customers, inventory, couponsE-commerce management
Gutenberg Blocks (12)block types, patterns, reusable blocks, templatesModern block editor
Security (7)site health, updates, integrity, debug logsSecurity monitoring
Performance (8)cache, optimization, cleanup, image processingPerformance tuning

What You Can Do

Content Management

"Create a blog post about AI and publish it"
"Upload an image and set it as featured image for post 5"
"Get all draft posts"
"Create a new page called 'About Us'"

Theme Customization

"Create a child theme of Twenty Twenty-Five"
"Read my theme's functions.php file"
"Add custom CSS to make headers blue"
"Get the theme.json configuration"
"List all files in my theme"

Menu Management Examples

// Create menu
{
  "name": "Main Navigation",
  "description": "Primary site menu"
}

// Add menu item
{
  "title": "Home",
  "url": "https://yoursite.com",
  "menus": 3
}

// Get menu locations
// No parameters needed

// Assign menu to location
{
  "location": "primary",
  "menuId": 3
}

Plugin Management

"Show me all installed plugins"
"Activate the Contact Form 7 plugin"
"Read the main WooCommerce plugin file"
"Deactivate Hello Dolly"
"Check if Yoast SEO is installed"

Menu Management

"Create a new menu called 'Main Navigation'"
"Add a Home link to the menu"
"Get all registered menu locations"
"Assign the Main Navigation menu to primary location"
"Show me all menu items in the Main menu"

Custom Post Types & Taxonomies

"Show me all registered post types"
"Get details for the 'page' post type"
"Get all taxonomies"
"Show me all categories"
"Create a new category called 'Technology'"

Shortcodes

"List all registered shortcodes"
"Execute [gallery ids='1,2,3']"
"Check if 'contact-form' shortcode exists"

Cron Jobs & Scheduled Tasks

"Show me all scheduled cron jobs"
"Schedule a daily backup task"
"Run WordPress cron manually"
"Get available cron schedules"

Widgets

"Get all widget areas"
"Show me all available widget types"
"Get widgets in the sidebar"
"List inactive widgets"

File Operations

"Read style.css from my theme"
"Create a new custom.css file in my theme"
"Copy functions.php to functions-backup.php"
"Delete old-template.php with backup"

Security Features

All operations are secure:

  • āœ… Only allowed directories (themes, plugins, uploads)
  • āœ… Only safe file extensions (.php, .css, .js, etc.)
  • āœ… Malware pattern detection
  • āœ… PHP syntax validation
  • āœ… Automatic backups before changes
  • āœ… WordPress permission system
  • āœ… File size limits (10MB)

WordPress Authentication

Self-Hosted WordPress:

  1. Use your WordPress admin username and password
  2. Basic Authentication is built into the plugin

WordPress.com:

  1. Requires Business plan or higher
  2. Generate Application Password in Settings → Security

Project Structure

src/tools/
ā”œā”€ā”€ posts.ts          # 15 post management tools
ā”œā”€ā”€ pages.ts          # 4 page tools
ā”œā”€ā”€ media.ts          # 5 media tools
ā”œā”€ā”€ filesystem.ts     # 8 file system tools
ā”œā”€ā”€ themes.ts         # 13 theme management tools
ā”œā”€ā”€ plugins.ts        # 10 plugin management tools
ā”œā”€ā”€ menus.ts          # 8 menu management tools
└── all-features.ts   # Users, categories, tags, comments, settings, SEO

filesystem-plugin/
└── wpmcp-filesystem.php  # Required for file operations

Development

# Clone repository
git clone https://github.com/RaheesAhmed/wordpress-mcp-server.git
cd wordpress-mcp-server

# Install dependencies
npm install

# Build
npm run build

# Run
npm start

Testing

All features tested on live WordPress:

  • āœ… 21/21 tests passed
  • āœ… File operations working
  • āœ… Theme management verified
  • āœ… Plugin control confirmed
  • āœ… Security validated

API Examples

Create Post

{
  "title": "My Post",
  "content": "<p>Content here</p>",
  "status": "publish"
}

Create Child Theme

{
  "parentTheme": "twentytwentyfive",
  "childName": "My Custom Theme"
}

Activate Plugin

{
  "plugin": "akismet/akismet"
}

Read Theme File

{
  "theme": "mytheme",
  "filePath": "functions.php"
}

Write File

{
  "path": "wp-content/themes/mytheme/custom.css",
  "content": "/* Custom styles */",
  "createBackup": true
}

Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/name)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to branch (git push origin feature/name)
  5. Open Pull Request

License

MIT License - see LICENSE


šŸ’ Support This Project

If you find this project valuable, consider supporting its continued development:

Cryptocurrency Donation

CoinNetworkContract AddressDeposit Address
šŸŖ™ USDT (TetherUS)šŸ”— TRX (Tron TRC20)Ending in jLj6tTBJBb7fKyRdhqmWETyZoNP4X98mPk2Jxrt

Copy Address:

TBJBb7fKyRdhqmWETyZoNP4X98mPk2Jxrt

Your contributions help keep this project active and growing! Thank you for your support! šŸ™


Built for AI-powered WordPress development šŸš€

Frequently asked questions

What is Wordpress Mcp Server?

A WordPress MCP server that provides 190+ tools for complete WordPress site management through AI.

How do I install Wordpress Mcp Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Wordpress Mcp Server runs locally from the npm package wpmcp with the command npx -y wpmcp.

Is Wordpress Mcp Server free and open source?

Yes. Wordpress Mcp Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Wordpress Mcp Server support remote (HTTP) connections?

No remote endpoint is listed for Wordpress Mcp Server. It runs locally on your machine over stdio, started by your MCP client.

How is Wordpress Mcp Server's trust score calculated?

Wordpress Mcp Server scores 32 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server