WordPress MCP Server
Provides tools for managing WordPress sites via the REST API, including posts, users, media, categories, tags, and site settings.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WordPress MCP Serverlist my published posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WordPress MCP Server
A Model Context Protocol (MCP) server for managing WordPress sites via the REST API. This server provides 18 tools for comprehensive WordPress management including posts, users, media, categories, tags, and site settings.
Features
Posts Management (6 tools)
list_posts: List posts with filtering options (status, date, author, categories, tags)
retrieve_post: Get detailed information about a specific post
create_post: Create new posts with full metadata support
update_post: Update existing posts with selective field updates
delete_post: Delete posts (with trash/permanent delete options)
Users Management (3 tools)
list_users: List site users (admin permission required)
get_me: Get current user information and capabilities
validate_credential: Test WordPress authentication
Media Management (3 tools)
list_media: List media files with filtering options
update_media: Update media metadata (title, slug, author)
delete_media: Delete media files
Categories Management (4 tools)
list_categories: List categories with search and filtering
create_category: Create new categories with hierarchy support
update_category: Update existing category information
delete_category: Remove categories
Tags Management (4 tools)
list_tags: List tags with search and filtering
create_tag: Create new tags
update_tag: Update existing tag information
delete_tag: Remove tags
Site Management (1 tool)
get_site_settings: Get WordPress site settings (admin required)
Related MCP server: WordPress + WooCommerce MCP Server
Prerequisites
WordPress Site Requirements
WordPress.com sites are NOT supported - only self-hosted WordPress sites (TODO: verify this)
Permalinks must be configured - go to Settings > Permalinks and choose any structure other than "Plain"
Application Password required - regular WordPress passwords won't work
Setting up Application Password
Go to your WordPress admin dashboard
Navigate to Users > Your Profile
Scroll to "Application Passwords" section
Click "Add New Application Password"
Give it a name (e.g., "MCP Server") and click "Add New Application Password"
Copy the generated password - you'll need this for the
WORDPRESS_PASSWORDenvironment variable
Installation
Clone or download this project
Install dependencies using uv:
uv syncEnvironment Variables
WORDPRESS_SITE: The full URL to your WordPress site (with https:// or http://)WORDPRESS_USERNAME: Your WordPress username (not email)WORDPRESS_PASSWORD: The application password you created (NOT your regular WordPress password)
Usage
Running the MCP Server
uv run python main.pyDevelopment
The project structure:
wordpress-mcp/
├── src/
│ ├── config.py # Configuration and WordPress client
│ ├── server.py # FastMCP server setup
│ └── tools/ # Individual tool implementations
│ ├── posts.py # Posts management
│ ├── users.py # Users management
│ ├── media.py # Media management
│ ├── categories.py # Categories management
│ ├── tags.py # Tags management
│ └── site.py # Site settings
├── main.py # Server entry point
└── pyproject.toml # Dependencies and configurationMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with WordPress sites through REST APIs, allowing programmatic management of posts, users, comments, categories, and tags with secure authentication.Last updated2948MIT
- Flicense-qualityDmaintenanceEnables comprehensive management of WordPress sites and WooCommerce stores through REST APIs, including content management, e-commerce operations, user administration, and store analytics.Last updated4
- Alicense-qualityFmaintenanceEnables interaction with WordPress sites through the REST API, supporting content management for posts, pages, users, plugins, and custom post types with Application Password authentication.Last updated1,8612MIT
- Flicense-qualityDmaintenanceEnables management of WordPress posts and pages including creating, updating, deleting, duplicating, scheduling, and bulk editing content through the WordPress REST API.Last updated
Related MCP Connectors
WordPress MCP server: publish posts, AI images, SEO and full site management, self-hosted
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Sync Lightroom, Figma, Dropbox & Canva assets to WordPress and Shopify via natural language.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/obot-platform/wordpress-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server