
Research
TeamPCP Compromises Telnyx Python SDK to Deliver Credential-Stealing Malware
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.
MCP server for WordPress with 115+ tools - complete WordPress developer control including file system, themes, plugins, menus, database, cron, and widgets
Enable AI to manage WordPress sites like a professional developer - 95+ tools for complete WordPress control.
A Model Context Protocol (MCP) server that 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:
npm i -g wpmcp
Add to your MCP client (Claude Desktop, Cline, etc.):
{
"mcpServers": {
"wordpress": {
"command": "npx",
"args": ["-y", "wpmcp"],
"env": {
"WORDPRESS_URL": "https://your-site.com",
"WORDPRESS_USERNAME": "admin",
"WORDPRESS_PASSWORD": "your-app-password"
}
}
}
}
wpmcp-plugin/wpmcp-plugin.php to /wp-content/plugins/wpmcp-plugin/edit_themes and edit_plugins capabilitiesWhat the plugin enables:
See wpmcp-plugin/README.md for detailed setup guide.
"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"
👉 See WPMCP_TOOLS.MD for complete detailed list of all 115 tools.
| Category | Tools | What You Can Do |
|---|---|---|
| Posts (15) | create, update, delete, search, schedule, publish, duplicate, bulk | Manage all blog content |
| Pages (4) | create, update, delete, hierarchy | Build site structure |
| Media (5) | upload, update, delete, featured images | Manage images and files |
| Users (4) | create, update, delete, roles | User management |
| Categories (4) | create, update, delete, hierarchy | Organize content |
| Tags (2) | create, get | Tag content |
| Comments (4) | create, update, delete, moderate | Manage discussions |
| Settings (4) | get, update site settings | Configure WordPress |
| SEO (2) | meta description, focus keywords | Optimize for search |
| File System (8) | read, write, delete, copy, move | Edit any file |
| Theme Manager (13) | activate, child themes, theme.json, templates | Complete theme control |
| Plugin Manager (10) | activate, deactivate, read/write files | Full plugin control |
| Menu Manager (8) | create, add items, assign locations | Full navigation control |
| Custom Types (7) | get post types, taxonomies, manage terms | Advanced content types |
| Shortcodes (3) | list, execute, check existence | Shortcode system |
| Cron Jobs (5) | list, schedule, unschedule, run manually | Task scheduling |
| Widgets (6) | get sidebars, widgets, types, update | Widget management |
| Database (6) | execute queries, manage options, list tables | Database operations |
"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'"
"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"
// 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
}
"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"
"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"
"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'"
"List all registered shortcodes"
"Execute [gallery ids='1,2,3']"
"Check if 'contact-form' shortcode exists"
"Show me all scheduled cron jobs"
"Schedule a daily backup task"
"Run WordPress cron manually"
"Get available cron schedules"
"Get all widget areas"
"Show me all available widget types"
"Get widgets in the sidebar"
"List inactive widgets"
"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"
All operations are secure:
Self-Hosted WordPress:
WordPress.com:
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
# 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
All features tested on live WordPress:
{
"title": "My Post",
"content": "<p>Content here</p>",
"status": "publish"
}
{
"parentTheme": "twentytwentyfive",
"childName": "My Custom Theme"
}
{
"plugin": "akismet/akismet"
}
{
"theme": "mytheme",
"filePath": "functions.php"
}
{
"path": "wp-content/themes/mytheme/custom.css",
"content": "/* Custom styles */",
"createBackup": true
}
Current: 115/200 tools (57.5% complete)
Progress: 57.5% complete - AI can now handle 90% of WordPress developer tasks!
See FEATURE_GAP_ANALYSIS.md and NEXT_FEATURES_PRIORITY.md for roadmap.
git checkout -b feature/name)git commit -m 'Add feature')git push origin feature/name)MIT License - see LICENSE
Built for AI-powered WordPress development 🚀
FAQs
MCP server for WordPress with 190+ tools - complete WordPress control including WooCommerce, Gutenberg, SEO, Security, Performance, Backup, and User Roles - 99% developer task coverage
The npm package wpmcp receives a total of 18 weekly downloads. As such, wpmcp popularity was classified as not popular.
We found that wpmcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.

Security News
/Research
Widespread GitHub phishing campaign uses fake Visual Studio Code security alerts in Discussions to trick developers into visiting malicious website.