mcp-wordpress
If you are the rightful owner of mcp-wordpress and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP WordPress Server is a comprehensive Model Context Protocol server designed for efficient WordPress management through the WordPress REST API v2.
MCP WordPress Server

A comprehensive Model Context Protocol (MCP) server for WordPress management through the WordPress REST API v2. Completely written in TypeScript with modular architecture and 95%+ test coverage.
๐ Features
- 59 WordPress Management Tools across 10 categories
- โก Intelligent Caching System - Multi-layer response caching with 50-70% performance improvement
- ๐ Real-Time Performance Monitoring - Comprehensive metrics, analytics, and optimization insights
- ๐ Auto-Generated API Documentation - Complete tool documentation with OpenAPI specification
- ๐ณ Docker Support - Containerized deployment for production environments
- ๐ Modular Architecture - Manager-based composition pattern (94% code reduction)
- Multi-Site Support - Manage multiple WordPress sites from one configuration
- 100% TypeScript - Complete type safety and IntelliSense
- ๐ฏ 95%+ Test Coverage - All critical functionality verified and tested
- โก Performance Optimized - Intelligent rate limiting and memory management
- ๐ Flexible Authentication - Supports App Passwords, JWT, Basic Auth, API Key
- ๐ Comprehensive Monitoring - Structured logging and error tracking
- ๐ Production Ready - Security-reviewed and battle-tested
- ๐ 100% Backward Compatible - Zero breaking changes during refactoring
โก Quick Start
Choose your preferred setup method:
- ๐ - Zero installation, always latest version
- ๐ป - Local development and customization
- ๐ณ - Containerized deployment
- ๐ฆ - Claude Desktop Extension package
Ultra-Quick NPX Start
# Run directly with NPX (recommended)
npx -y mcp-wordpress
# Or install globally
npm install -g mcp-wordpress
mcp-wordpress
Setup Wizard
# For any installation method
npm run setup
๐ Latest Achievement: v1.2.1 - Test Infrastructure & Multi-Site Enhancement
Building on v1.2.0's performance monitoring and documentation features, v1.2.1 delivers 100% test reliability, enhanced multi-site support, and production-ready repository organization:
โ Test Infrastructure Overhaul (v1.2.1)
- ๐ง 100% Test Success Rate: Fixed all failing integration and tool tests
- ๐ Multi-Site Testing: Comprehensive test suite for multi-site WordPress configurations
- ๐ก๏ธ Enhanced Security: Improved .gitignore and credential protection
- ๐ Test Organization: Streamlined test scripts and better error reporting
- โก Quick Validation: New
npm run test:multisite
command for rapid configuration testing
๐ Multi-Site Configuration Enhancements (v1.2.1)
- ๐ Complete Documentation: Comprehensive Claude Desktop setup guide for multi-site usage
- ๐ง Fixed Configuration: Resolved JWT authentication validation issues
- โ Site Validation: Enhanced uniqueness checks for site URLs and IDs
- ๐ Quick Testing: Instant validation of all configured WordPress sites
- ๐ Status Reporting: Clear success/failure reporting for each site configuration
๐ Previous Achievement: v1.2.0 - Performance & Documentation Revolution
We've implemented a comprehensive performance monitoring system, intelligent caching, auto-generated documentation, and Docker containerization - all while maintaining complete backward compatibility:
โก Performance Monitoring System
- ๐ Real-Time Metrics: Response times, cache hit rates, error tracking, system resources
- ๐ Historical Analytics: Trend analysis, anomaly detection, predictive insights
- ๐ฏ Industry Benchmarks: Compare against performance standards with optimization recommendations
- ๐จ Smart Alerts: Automated performance alerts and threshold monitoring
- ๐ Comprehensive Reports: Export detailed performance data in multiple formats
- โ๏ธ Optimization Engine: AI-powered recommendations for performance improvements
๐๏ธ Intelligent Caching System
- ๐ 50-70% Performance Improvement: Reduced API calls for taxonomy and authentication operations
- ๐ Multi-Layer Architecture: HTTP response caching + in-memory application cache + intelligent invalidation
- ๐ฏ Site-Specific Isolation: Complete cache separation for multi-site WordPress installations
- ๐ง Cache Management Tools: 4 new MCP tools for monitoring and managing cache performance
- โฑ๏ธ Sub-Millisecond Operations: Cache hits deliver responses in under 1ms
๐ Auto-Generated Documentation
- ๐ Complete API Documentation: All 59 tools with examples, parameters, and usage guides
- ๐ง OpenAPI Specification: Machine-readable API spec for integration
- ๐ Automated CI/CD Pipeline: Documentation updates automatically on code changes
- โ Quality Validation: Comprehensive documentation quality checks
- ๐ Multi-Format Output: Markdown, JSON, and OpenAPI formats
๐ณ Docker Containerization
- ๐ฆ Production-Ready Images: Optimized Docker containers for deployment
- ๐ง Development Environment: Docker Compose for local development
- โ๏ธ Environment Configuration: Flexible configuration via environment variables
- ๐ Easy Deployment: One-command deployment to any Docker environment
๐ Complete Documentation:
๐ Authentication & Testing Status (v1.2.4+)
โ
Application Passwords - Tested and working perfectly
โ
JWT Authentication - Supported with plugin
โ
Basic Authentication - Development ready
โ
API Key Authentication - Plugin-based support
โ
Main Test Suite - 100% success rate (144/144 tests passing)
โ
Security Tests - 100% success rate (40/40 tests passing)
โ
Performance Tests - 100% success rate (8/8 tests passing)
โ
Tool Tests - 100% success rate (14/14 tools working)
โ
CI/CD Pipeline - Fully functional with automated publishing
The setup wizard guides you through:
- WordPress site configuration
- Authentication method selection
- Connection testing
- Claude Desktop configuration
๐ Claude Desktop Integration
๐ Complete Setup Guides
For detailed setup instructions, see our comprehensive guides:
- - Zero installation method
- - Local development
- - Containerized deployment
- - Desktop Extension package
๐ค Claude Desktop Quick Prompts
For NPX Users (Easiest):
Set up MCP WordPress using NPX. My site: [YOUR_SITE_URL], username: [YOUR_USERNAME]. Help with application password creation and Claude Desktop configuration.
For Local Development:
Set up MCP WordPress locally from GitHub. Clone, install, configure for my site: [YOUR_SITE_URL], username: [YOUR_USERNAME]. Include Claude Desktop setup.
Replace placeholders with your actual WordPress details - Claude will handle the rest!
๐ง Configuration
The MCP WordPress server supports multiple configuration methods to fit different needs.
Setup Methods Overview
Method | Best For | Configuration File |
---|---|---|
NPX | Quick start, always latest | Claude Desktop config only |
NPM | Local development | .env or Claude Desktop config |
Docker | Production deployment | Environment variables or mounted config |
DTX | Simple GUI setup | DTX config + optional multi-site file |
Environment Variables
Core Configuration:
WORDPRESS_SITE_URL=https://your-wordpress-site.com
WORDPRESS_USERNAME=your-username
WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
WORDPRESS_AUTH_METHOD=app-password
DEBUG=false
๐ Detailed Configuration Guides:
- - Claude Desktop environment variables
- - Local
.env
file setup - - Container environment setup
- - Extension package setup
Claude Desktop Integration
Configuration File Locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
Quick NPX Example:
{
"mcpServers": {
"mcp-wordpress": {
"command": "npx",
"args": ["-y", "mcp-wordpress"],
"env": {
"WORDPRESS_SITE_URL": "https://your-site.com",
"WORDPRESS_USERNAME": "your-username",
"WORDPRESS_APP_PASSWORD": "your-app-password"
}
}
}
}
๐ See the detailed setup guides above for complete configuration examples for each method.
๐ Multi-Site Configuration
MCP WordPress Server supports managing multiple WordPress sites from a single configuration. This is perfect for agencies, developers managing multiple client sites, or anyone with multiple WordPress installations.
Setting Up Multi-Site Configuration
- Create a
mcp-wordpress.config.json
file in your project root:
{
"sites": [
{
"id": "site1",
"name": "My Main Site",
"config": {
"WORDPRESS_SITE_URL": "https://site1.com",
"WORDPRESS_USERNAME": "admin",
"WORDPRESS_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
}
},
{
"id": "site2",
"name": "My Blog",
"config": {
"WORDPRESS_SITE_URL": "https://blog.site2.com",
"WORDPRESS_USERNAME": "editor",
"WORDPRESS_APP_PASSWORD": "yyyy yyyy yyyy yyyy yyyy yyyy",
"WORDPRESS_AUTH_METHOD": "app-password"
}
},
{
"id": "dev",
"name": "Development Site",
"config": {
"WORDPRESS_SITE_URL": "http://localhost:8080",
"WORDPRESS_USERNAME": "dev_user",
"WORDPRESS_APP_PASSWORD": "zzzz zzzz zzzz zzzz zzzz zzzz"
}
}
]
}
- Configure Claude Desktop for Multi-Site:
{
"mcpServers": {
"mcp-wordpress": {
"command": "npx",
"args": ["mcp-wordpress"]
}
}
}
Note: When using multi-site configuration, you don't need to specify environment variables in Claude Desktop. The server will read from your mcp-wordpress.config.json
file.
Using Multi-Site Tools
When you have multiple sites configured, all tools require a site
parameter:
# List posts from site1
wp_list_posts --site="site1"
# Create a post on the blog site
wp_create_post --site="site2" --title="New Blog Post" --content="Content here"
# Get user info from development site
wp_get_current_user --site="dev"
Important Multi-Site Notes
- Site IDs must be unique - Each site needs a unique identifier
- Security: The
mcp-wordpress.config.json
file contains sensitive credentials and should NEVER be committed to version control - Default Site: If only one site is configured, it will be used by default without needing the
--site
parameter - Authentication: Each site can use different authentication methods (app-password, jwt, basic, api-key)
Example: Managing Multiple Client Sites
{
"sites": [
{
"id": "client-acme",
"name": "ACME Corporation",
"config": {
"WORDPRESS_SITE_URL": "https://acme-corp.com",
"WORDPRESS_USERNAME": "mcp_admin",
"WORDPRESS_APP_PASSWORD": "aaaa bbbb cccc dddd eeee ffff"
}
},
{
"id": "client-tech",
"name": "TechStartup Blog",
"config": {
"WORDPRESS_SITE_URL": "https://blog.techstartup.io",
"WORDPRESS_USERNAME": "content_manager",
"WORDPRESS_APP_PASSWORD": "gggg hhhh iiii jjjj kkkk llll"
}
},
{
"id": "client-shop",
"name": "Online Shop",
"config": {
"WORDPRESS_SITE_URL": "https://shop.example.com",
"WORDPRESS_USERNAME": "shop_admin",
"WORDPRESS_APP_PASSWORD": "mmmm nnnn oooo pppp qqqq rrrr",
"WORDPRESS_AUTH_METHOD": "jwt",
"WORDPRESS_JWT_SECRET": "your-jwt-secret-here"
}
}
]
}
Then in Claude Desktop, you can manage all sites:
# Check posts across all client sites
wp_list_posts --site="client-acme" --per_page=5
wp_list_posts --site="client-tech" --per_page=5
wp_list_posts --site="client-shop" --per_page=5
# Update content on specific sites
wp_update_post --site="client-acme" --id=123 --title="Updated Title"
# Manage media across sites
wp_list_media --site="client-shop" --media_type="image"
๐ Build System
TypeScript Build
# Compile
npm run build
# Watch mode
npm run build:watch
# Type checking
npm run typecheck
Development
# Development mode with debug output
npm run dev
# Check status
npm run status
# Re-run setup
npm run setup
๐ Authentication
WordPress Application Passwords (Recommended)
- WordPress Admin โ Users โ Profile
- Scroll to Application Passwords
- Enter name (e.g., "MCP WordPress Server")
- Click Add New Application Password
- Copy generated password (format:
xxxx xxxx xxxx xxxx xxxx xxxx
)
Alternative Authentication Methods
# JWT Authentication (requires JWT plugin)
WORDPRESS_AUTH_METHOD=jwt
WORDPRESS_JWT_SECRET=your-jwt-secret
# Basic Authentication (not recommended for production)
WORDPRESS_AUTH_METHOD=basic
WORDPRESS_PASSWORD=your-actual-password
# API Key Authentication (requires API Key plugin)
WORDPRESS_AUTH_METHOD=api-key
WORDPRESS_API_KEY=your-api-key
๐ Available Tools (59 Tools)
๐ Posts (6 Tools)
wp_list_posts
- List and filter blog postswp_get_post
- Get specific postwp_create_post
- Create new postswp_update_post
- Edit postswp_delete_post
- Delete postswp_get_post_revisions
- Get post revisions
๐ Pages (6 Tools)
wp_list_pages
- List pageswp_get_page
- Get specific pagewp_create_page
- Create new pageswp_update_page
- Edit pageswp_delete_page
- Delete pageswp_get_page_revisions
- Get page revisions
๐ผ๏ธ Media (6 Tools)
wp_list_media
- Browse media librarywp_get_media
- Get media detailswp_upload_media
- Upload fileswp_update_media
- Edit media metadatawp_delete_media
- Delete mediawp_get_media_sizes
- Get available image sizes
๐ฅ Users (6 Tools)
wp_list_users
- List userswp_get_user
- Get user detailswp_create_user
- Create new userswp_update_user
- Edit user profileswp_delete_user
- Delete userswp_get_current_user
- Get current user
๐ฌ Comments (7 Tools)
wp_list_comments
- List commentswp_get_comment
- Get comment detailswp_create_comment
- Create new commentswp_update_comment
- Edit commentswp_delete_comment
- Delete commentswp_approve_comment
- Approve commentswp_spam_comment
- Mark comments as spam
๐ท๏ธ Taxonomies (10 Tools)
wp_list_categories
- List categorieswp_get_category
- Get category detailswp_create_category
- Create new categorieswp_update_category
- Edit categorieswp_delete_category
- Delete categorieswp_list_tags
- List tagswp_get_tag
- Get tag detailswp_create_tag
- Create new tagswp_update_tag
- Edit tagswp_delete_tag
- Delete tags
โ๏ธ Site Management (7 Tools)
wp_get_site_settings
- Get site settingswp_update_site_settings
- Update site settingswp_get_site_stats
- Get site statisticswp_search_site
- Site-wide searchwp_get_application_passwords
- List app passwordswp_create_application_password
- Create new app passwordswp_delete_application_password
- Delete app passwords
๐ Authentication (6 Tools)
wp_test_auth
- Test authenticationwp_get_auth_status
- Get authentication statuswp_start_oauth_flow
- Start OAuth flowwp_complete_oauth_flow
- Complete OAuth flowwp_refresh_oauth_token
- Refresh OAuth tokenwp_switch_auth_method
- Switch authentication method
โก Cache Management (4 Tools)
wp_cache_stats
- Get real-time cache performance statisticswp_cache_clear
- Clear cache entries with optional pattern matchingwp_cache_warm
- Pre-populate cache with essential datawp_cache_info
- Get detailed cache configuration and status
๐ Performance Monitoring (6 Tools)
wp_performance_stats
- Get real-time performance statistics and metricswp_performance_history
- Get historical performance data and trendswp_performance_benchmark
- Compare current performance against industry benchmarkswp_performance_alerts
- Get performance alerts and anomaly detection resultswp_performance_optimize
- Get optimization recommendations and insightswp_performance_export
- Export comprehensive performance report
๐งช Testing
Current Test Status โ
- Main Test Suite: 144/144 passed (100%) - Optimized for CI/CD reliability
- TypeScript Build Tests: 21/21 passed (100%)
- Security Tests: 40/40 passed (100%) - Comprehensive vulnerability testing
- Configuration Tests: 27/27 passed (100%) - Multi-site validation
- Property-Based Tests: 12/12 passed (100%) - Generative testing
- Performance Tests: 8/8 passed (100%) - Regression detection
- Contract Tests: Available via dedicated command when needed
- Overall Success Rate: 100% - All critical functionality verified
Test Commands
# Run all tests (improved)
npm test
# Run tests with Docker test environment (recommended)
npm run test:with-env
# Tests with coverage (70% threshold)
npm run test:coverage
# Quick tests
npm run test:fast
# Individual test suites
npm run test:security # Security tests
npm run test:config # Configuration tests
npm run test:property # Property-based tests
npm run test:contracts # Contract tests
npm run test:performance # Performance regression tests
# Integration tests
npm run test:mcp # MCP protocol tests
npm run test:tools # Tool functionality tests
npm run test:auth # Authentication tests
# Live contract tests with automated setup
npm run test:contracts:live
# Tests in watch mode
npm run test:watch
# Manual authentication check
./scripts/wp-auth-check.sh
Docker Test Environment
The project now includes a complete Docker test environment for reliable testing:
# Start test environment
./scripts/start-test-env.sh
# Run tests with test environment
npm run test:with-env
# Stop test environment
docker-compose -f docker-compose.test.yml down
The test environment includes:
- WordPress with pre-configured test user and application password
- MySQL database
- Pact broker for contract testing
- Automated WordPress configuration for API testing
๐ Status & Monitoring
# Check connection status
npm run status
# Debug mode
DEBUG=true npm run dev
# Lint code
npm run lint
# Auto-fix linting errors
npm run lint:fix
๐ Project Structure
mcp-wordpress/
โโโ src/ # TypeScript source code
โ โโโ index.ts # Main MCP server
โ โโโ server.ts # Server compatibility
โ โโโ types/ # TypeScript definitions
โ โ โโโ wordpress.ts # WordPress API types
โ โ โโโ mcp.ts # MCP protocol types
โ โ โโโ client.ts # Client interface types
โ โ โโโ index.ts # Type exports
โ โโโ client/ # WordPress API client
โ โ โโโ api.ts # HTTP client
โ โ โโโ auth.ts # Authentication
โ โโโ tools/ # MCP tool implementations
โ โ โโโ posts.ts # Post management
โ โ โโโ pages.ts # Page management
โ โ โโโ media.ts # Media management
โ โ โโโ users.ts # User management
โ โ โโโ comments.ts # Comment management
โ โ โโโ taxonomies.ts # Categories/Tags
โ โ โโโ site.ts # Site settings
โ โ โโโ auth.ts # Authentication
โ โโโ utils/ # Utility functions
โ โโโ debug.ts # Debug logger
โโโ dist/ # Compiled JavaScript files
โโโ bin/ # Utility scripts
โ โโโ setup.js # Setup wizard
โ โโโ status.js # Status checker
โโโ tests/ # Test suite
โโโ scripts/ # Build and test scripts
โโโ tsconfig.json # TypeScript configuration
โโโ jest.config.json # Jest test configuration
โโโ package.json # Node.js project configuration
๐ก TypeScript Features
- Complete Type Safety - Compile-time validation
- IntelliSense Support - Better IDE integration
- Type-safe API Client - Typed HTTP methods
- Comprehensive WordPress Types - 400+ lines of precise definitions
- MCP Protocol Types - Tool definitions and handlers
- Enhanced Error Handling - Typed exceptions
- Source Maps - Debugging support
๐ง WordPress Requirements
- WordPress 5.0+ with REST API enabled
- HTTPS (recommended for production)
- User with appropriate permissions
- Application Passwords enabled (WordPress 5.6+)
WordPress User Roles
Role | Access |
---|---|
Administrator | Full access to all functions |
Editor | Posts, pages, comments, media |
Author | Own posts and media |
Contributor | Own posts (drafts only) |
Subscriber | Read only |
๐ Troubleshooting
Common Issues
-
"Cannot connect to WordPress"
- Check WORDPRESS_SITE_URL
- Ensure REST API is accessible
- Test:
curl https://your-site.com/wp-json/wp/v2/
-
"Authentication failed"
- Verify username and app password
- Ensure Application Passwords are enabled
- Try running
npm run setup
again
-
"TypeScript compilation errors"
- Run
npm run typecheck
- Ensure all dependencies are installed
- Run
Debug Logs
DEBUG=true npm run dev
๐ API Documentation
๐ณ Docker Support
Docker support with production-ready containers and Claude Desktop integration.
Quick Docker Start
# Single-site with environment variables
docker run --rm -i \
-e WORDPRESS_SITE_URL=https://your-site.com \
-e WORDPRESS_USERNAME=your-username \
-e WORDPRESS_APP_PASSWORD=your-app-password \
docdyhr/mcp-wordpress:latest
# Multi-site with config file
docker run --rm -i \
-v ./mcp-wordpress.config.json:/app/mcp-wordpress.config.json:ro \
docdyhr/mcp-wordpress:latest
Claude Desktop Docker Integration
Single-Site:
{
"mcpServers": {
"mcp-wordpress": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"WORDPRESS_SITE_URL=https://your-site.com",
"-e",
"WORDPRESS_USERNAME=your-username",
"-e",
"WORDPRESS_APP_PASSWORD=your-app-password",
"docdyhr/mcp-wordpress:latest"
]
}
}
}
Multi-Site:
{
"mcpServers": {
"mcp-wordpress": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v",
"/path/to/mcp-wordpress.config.json:/app/mcp-wordpress.config.json:ro",
"docdyhr/mcp-wordpress:latest"
]
}
}
}
๐ Complete Docker Guide:
๐งช Contract Testing with Live WordPress
Test the MCP server against a real WordPress instance using our automated testing setup:
# Automated live contract testing (recommended)
npm run test:contracts:live
This command will:
- ๐ณ Start isolated WordPress + MySQL containers (port 8081)
- โ๏ธ Auto-configure WordPress with test data and authentication
- ๐งช Run contract tests against the live WordPress API
- ๐งน Clean up automatically when done
Features:
- Zero Conflicts: Uses isolated containers with separate ports
- Fully Automated: WordPress installation, user creation, and app password generation
- Real API Testing: Validates actual WordPress REST API behavior
- CI/CD Ready: Works in continuous integration environments
Manual Setup Alternative:
# Test setup phase only
bash scripts/test-setup-only.sh
# Use existing WordPress instance
export WORDPRESS_TEST_URL="https://your-wordpress-site.com"
export WORDPRESS_USERNAME="your-username"
export WORDPRESS_APP_PASSWORD="your-app-password"
export PACT_LIVE_TESTING="true"
npm run test:contracts
๐ Full Contract Testing Guide:
๐ Recent Updates
v1.2.0 - Performance & Documentation Revolution
- โ
Real-Time Performance Monitoring
- Comprehensive metrics collection (response times, cache hit rates, system resources)
- Historical performance analysis with trend detection
- Industry benchmark comparisons with optimization recommendations
- Smart alerts and anomaly detection
- Comprehensive performance reports with export options
- AI-powered optimization engine for performance improvements
- โก Intelligent Caching System
- 50-70% performance improvement with reduced API calls
- Multi-layer caching architecture with intelligent invalidation
- Site-specific cache isolation for multi-site installations
- New MCP tools for cache performance monitoring and management
- Sub-millisecond response times for cache hits
- ๐ Auto-Generated Documentation
- Complete API documentation for all 59 tools with examples and usage guides
- Machine-readable OpenAPI specification for integration
- Automated CI/CD pipeline for documentation updates
- Comprehensive documentation quality validation
- Multi-format output including Markdown, JSON, and OpenAPI
- ๐ณ Docker Containerization
- Production-ready Docker images for easy deployment
- Docker Compose setup for local development
- Flexible environment configuration via variables
- One-command deployment to any Docker environment
๐ Read the full release notes for all details!
๐ Release & Publishing
This project uses automated semantic versioning and publishing to NPM and Docker Hub.
๐ฆ Installation Options
NPM Package:
# Latest stable version
npm install -g mcp-wordpress
# Specific version
npm install -g mcp-wordpress@1.2.2
# Use with npx (no installation)
npx mcp-wordpress
Docker Images:
# Latest stable version
docker pull docdyhr/mcp-wordpress:latest
# Specific version
docker pull docdyhr/mcp-wordpress:1.2.2
# Test container (interactive)
docker run --rm -i docdyhr/mcp-wordpress:latest
๐ท๏ธ Release Process
Automated Releases:
- Releases are automatically created when conventional commits are pushed to the
main
branch - Semantic versioning determines the version bump automatically
- NPM and Docker Hub publishing happens automatically on release
Conventional Commit Format:
# Patch release (1.2.2 โ 1.2.4)
fix: resolve authentication timeout issue
# Minor release (1.2.2 โ 1.3.0)
feat: add new performance monitoring tools
# Major release (1.2.2 โ 2.0.0)
feat!: redesign MCP tool interface
BREAKING CHANGE: tool parameter structure has changed
Manual Release (if needed):
# Test release locally
npm run release:dry
# Create release manually (requires proper permissions)
npm run release
๐ Release Checklist
For contributors planning releases:
-
Pre-Release Validation:
- โ
All tests passing (
npm test
) - โ Documentation updated
- โ Performance benchmarks within acceptable range
- โ
Security audit clean (
npm audit
)
- โ
All tests passing (
-
Commit with Conventional Format:
git add . git commit -m "feat: add new functionality" git push origin main
-
Automated Process Handles:
- ๐ Generate release notes
- ๐ท๏ธ Create GitHub release
- ๐ฆ Publish to NPM with provenance
- ๐ณ Build and push Docker images (multi-arch)
- ๐ Update CHANGELOG.md
- ๐ Update Docker Hub description
๐ Distribution Channels
- NPM:
mcp-wordpress
- Docker Hub:
docdyhr/mcp-wordpress
- GitHub Releases: Latest releases
๐ Acknowledgments
Special thanks to Stephan Ferraro for the upstream main project that inspired this implementation.
"We are all standing on the shoulders of giants"