35 Total Endpoints (up from 18) - 94% increase in functionality!
- β
wp_get_media
- List all media files - β
wp_get_media_item
- Get specific media item - β
wp_upload_media
- Upload new media - β¨ NEW
wp_update_media
- Update metadata (title, alt text, caption, description) - β¨ NEW
wp_delete_media
- Delete media files
- β¨ NEW
wp_get_comments
- List comments with filters - β¨ NEW
wp_get_comment
- Get specific comment - β¨ NEW
wp_create_comment
- Create new comments - β¨ NEW
wp_update_comment
- Update comment content/status - β¨ NEW
wp_delete_comment
- Delete comments
- β¨ NEW
wp_get_users
- List all users - β¨ NEW
wp_get_user
- Get specific user details - β¨ NEW
wp_get_current_user
- Get authenticated user info
- β
wp_get_categories
- List categories - β
wp_get_tags
- List tags - β¨ NEW
wp_create_category
- Create new categories - β¨ NEW
wp_create_tag
- Create new tags - β¨ NEW
wp_update_category
- Update category details - β¨ NEW
wp_delete_category
- Delete categories
- β¨ NEW
wp_get_site_info
- Get site settings and configuration - β¨ NEW
wp_get_post_types
- List all available post types
wp_get_posts
- List posts with filterswp_get_post
- Get single postwp_create_post
- Create new postwp_update_post
- Update existing postwp_delete_post
- Delete post
wp_get_pages
- List pageswp_get_page
- Get single pagewp_create_page
- Create new pagewp_update_page
- Update existing pagewp_delete_page
- Delete page
wp_get_media
- List media fileswp_get_media_item
- Get single media itemwp_upload_media
- Upload new mediawp_update_media
β NEW!wp_delete_media
β NEW!
wp_get_comments
- List commentswp_get_comment
- Get single commentwp_create_comment
- Create new commentwp_update_comment
- Update commentwp_delete_comment
- Delete comment
wp_get_users
- List all userswp_get_user
- Get user detailswp_get_current_user
- Get current user
wp_get_custom_posts
- List custom postswp_get_custom_post
- Get single custom postwp_create_custom_post
- Create custom post
wp_get_categories
- List categorieswp_get_tags
- List tagswp_create_category
β NEW!wp_create_tag
β NEW!wp_update_category
β NEW!wp_delete_category
β NEW!
wp_get_site_info
- Site settingswp_get_post_types
- Available post types
{
"tool": "wp_update_media",
"args": {
"id": 123,
"title": "Beautiful Sunset",
"alt_text": "A stunning sunset over the ocean",
"caption": "Taken at Santa Monica Beach",
"description": "High-resolution sunset photograph"
}
}
// Create comment
{
"tool": "wp_create_comment",
"args": {
"post": 42,
"content": "Great article!",
"author_name": "John Doe",
"author_email": "john@example.com"
}
}
// Update comment status
{
"tool": "wp_update_comment",
"args": {
"id": 15,
"status": "approve"
}
}
// Create category
{
"tool": "wp_create_category",
"args": {
"name": "Technology",
"description": "Tech-related articles",
"slug": "tech"
}
}
// Update category
{
"tool": "wp_update_category",
"args": {
"id": 5,
"name": "Tech & Innovation",
"parent": 2
}
}
{
"tool": "wp_get_site_info",
"args": {}
}
// Returns: title, description, url, timezone, language, etc.
Content Type | Before v2.0 | After v2.0 | Coverage |
---|---|---|---|
Posts | 5 endpoints | 5 endpoints | 100% β |
Pages | 5 endpoints | 5 endpoints | 100% β |
Media | 3 endpoints | 5 endpoints | 100% β |
Comments | 0 endpoints | 5 endpoints | 100% β¨ |
Users | 0 endpoints | 3 endpoints | 75% β¨ |
Taxonomy | 2 endpoints | 6 endpoints | 100% β¨ |
Custom Posts | 3 endpoints | 3 endpoints | 100% β |
Site Info | 0 endpoints | 2 endpoints | NEW β¨ |
TOTAL | 18 endpoints | 35 endpoints | 94% more! |
No changes to installation process - same as before:
# Clone the repo
git clone https://github.com/Davidi18/wordpress-mcp.git
cd wordpress-mcp
# Set up environment
cp .env.example .env
# Edit .env with your WordPress credentials
# Run
npm start
- Complete Content Management - Full CRUD operations on all WordPress content types
- Media Workflow - Now you can update media metadata without re-uploading
- Comment Moderation - Manage comments programmatically
- User Management - Query and manage WordPress users
- Taxonomy Control - Create and organize categories/tags dynamically
- Site Intelligence - Get site configuration and post type information
- π€ AI-powered content management systems
- π± Headless WordPress implementations
- π Content synchronization tools
- π WordPress data analytics
- π οΈ Automation workflows
- π Third-party integrations
- Media update and delete endpoints
- Complete comments CRUD system
- User management endpoints
- Category and tag creation/update/delete
- Site information endpoints
- Enhanced error handling
- Better response formatting
- Updated server version to 2.0.0
- Enhanced tool descriptions
- More detailed input schemas
- Better TypeScript compatibility
Found a bug or want to add more endpoints? PRs are welcome!
MIT License - see LICENSE file for details
Enhanced by Claude & n8n-MCP tools integration Original by @Davidi18