Offers containerized deployment options with Docker, including pre-configured Docker images and multi-container setups via Docker Compose
Integrates with GitHub for version control and collaborative development of the MCP server codebase
Implements CI/CD pipelines for automated testing and publishing of the package to PyPI
Enables distribution and installation via PyPI package repository for easy deployment
Incorporates testing infrastructure for quality assurance of the MCP server functionality
Connects to WordPress sites, allowing management of blog content, posts, and other WordPress resources via the WordPress API
WordPress MCP Server
A Model Context Protocol (MCP) server that enables Claude AI to create and manage WordPress blog posts. Perfect for researchers, students, and professionals who want to document their work, share insights, and build a technical blog with AI assistance.
🚀 Features
- Direct WordPress Integration: Create, update, and manage blog posts through Claude
- Academic Focus: Built-in prompts for thesis documentation and research blogging
- Flexible Deployment: Support for both Claude Desktop (stdio) and remote (HTTP) modes
- Rich Content Support: Handle categories, tags, excerpts, and full HTML content
- Port-Aware Configuration: Clean separation between WordPress (8000+) and MCP (9000+) ports
- Type Safety: Full type hints and async/await support
📦 Installation
🎯 Quick Start
1. Install and Configure
2. Claude Desktop Integration
Add to your Claude Desktop config (claude_desktop_config.json
):
3. Start Blogging with Claude
Once configured, you can ask Claude to:
🔧 Configuration Options
Environment Variables
Command Line Options
🎓 Perfect for Academic Blogging
Built-in Academic Prompts
The server includes specialized prompts for academic and research blogging:
Thesis Documentation
Algorithm Analysis
Recommended Blog Structure
- Weekly Progress Updates: Document research milestones and discoveries
- Technical Deep Dives: Explain complex algorithms and implementations
- Problem-Solving Sessions: Share debugging experiences and solutions
- Literature Reviews: Summarize and analyze research papers
- Code Showcases: Highlight implementations and optimizations
🛠️ Advanced Usage
Docker Deployment
Development Setup
🔌 Available Tools
Blog Management Tools
Tool | Description | Parameters |
---|---|---|
create_blog_post | Create new blog post | title, content, status, excerpt, categories, tags |
update_blog_post | Update existing post | post_id, title, content, status |
list_blog_posts | List published/draft posts | status, per_page |
test_wordpress_connection | Verify WordPress connectivity | none |
Example Tool Usage
🔒 Security Considerations
- WordPress Credentials: Use WordPress Application Passwords instead of admin passwords
- Network Access: Restrict MCP server access to trusted networks only
- HTTPS: Use HTTPS for WordPress URLs in production
- Firewall Rules: Configure appropriate firewall rules for port access
🐛 Troubleshooting
Common Issues
- Connection Failed
- Port Conflicts
- Permission Errors
- Ensure WordPress user has post creation permissions
- Check WordPress REST API is enabled
- Verify user roles and capabilities
Debug Mode
📋 Port Configuration
Service | Port Range | Default | Purpose |
---|---|---|---|
WordPress | 8000-8999 | 8888 | Web interface |
MCP Server | 9000+ | 9001 | MCP protocol |
This separation ensures clean network architecture and avoids port conflicts.
🤝 Contributing
Contributions are welcome! Please see our Contributing Guide for details.
Development Workflow
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Make changes and add tests
- Run tests:
pytest
- Submit a pull request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🎉 Use Cases
For Students
- Document thesis research progress
- Create technical tutorials and explanations
- Share project updates and insights
- Build a professional portfolio
For Researchers
- Publish research findings and methodologies
- Create accessible explanations of complex topics
- Document experimental results
- Share literature reviews and analysis
For Developers
- Write technical blog posts about algorithms
- Document software development processes
- Share coding insights and best practices
- Create educational programming content
📚 Examples
Check out our examples directory for:
- Sample Claude conversations
- Blog post templates
- Configuration examples
- Integration patterns
🔗 Links
Made with ❤️ for the research and development community
Transform your research journey into engaging blog content with the power of AI assistance!
WordPress MCP Server - Complete Package Structure
📁 Directory Layout
🗂️ File Descriptions
Core Package Files
File | Purpose | Contains |
---|---|---|
src/wordpress_mcp_server/__init__.py | Package entry point | Version, exports, metadata |
src/wordpress_mcp_server/server.py | Main functionality | MCP server, WordPress client |
src/wordpress_mcp_server/cli.py | Command interface | Argument parsing, entry points |
src/wordpress_mcp_server/py.typed | Type safety | PEP 561 marker for type hints |
Configuration Files
File | Purpose | Configures |
---|---|---|
pyproject.toml | Package metadata | Dependencies, build system, tools |
setup.cfg | Additional config | Linting rules, test options |
MANIFEST.in | File inclusion | What files to include in package |
Documentation
File | Purpose | Audience |
---|---|---|
README.md | Main documentation | Users, PyPI page |
CHANGELOG.md | Version history | Users, maintainers |
CONTRIBUTING.md | Development guide | Contributors |
LICENSE | Legal terms | Everyone |
Testing & CI/CD
File | Purpose | Used For |
---|---|---|
tests/ | Test suite | Quality assurance |
.github/workflows/publish.yml | Automation | CI/CD pipeline |
Deployment
File | Purpose | Deployment |
---|---|---|
Dockerfile | Container build | Docker deployment |
docker-compose.yml | Service orchestration | Multi-container setup |
📦 Installation Methods
1. From PyPI (Production)
2. From Source (Development)
3. From Docker
🚀 Quick Start Commands
Package Usage
Development Commands
🔄 Workflow Overview
Development Workflow
- Clone repository
- Setup environment (
venv
, install dependencies) - Make changes (code, tests, docs)
- Test locally (pytest, linting)
- Commit and push
- Create pull request
Release Workflow
- Update version (pyproject.toml, init.py)
- Update CHANGELOG.md
- Test thoroughly
- Create GitHub release
- GitHub Actions publishes to PyPI
User Workflow
- Install package (
pip install wordpress-mcp-server
) - Configure WordPress (URL, credentials)
- Setup Claude Desktop (config file)
- Start blogging with AI assistance!
📋 File Creation Checklist
When setting up the package, create files in this order:
Phase 1: Core Package
src/wordpress_mcp_server/__init__.py
src/wordpress_mcp_server/server.py
src/wordpress_mcp_server/cli.py
src/wordpress_mcp_server/py.typed
Phase 2: Configuration
pyproject.toml
MANIFEST.in
setup.cfg
(optional)
Phase 3: Documentation
README.md
LICENSE
CHANGELOG.md
CONTRIBUTING.md
Phase 4: Testing
tests/__init__.py
tests/test_server.py
tests/test_cli.py
tests/conftest.py
Phase 5: CI/CD
.github/workflows/publish.yml
.gitignore
Phase 6: Docker (Optional)
Dockerfile
docker-compose.yml
.dockerignore
Phase 7: Examples
examples/basic_usage.py
examples/claude_conversations.md
🎯 Key Features
For Users
- Easy Installation:
pip install wordpress-mcp-server
- Simple Configuration: Environment variables and CLI options
- Claude Integration: Works seamlessly with Claude Desktop
- Academic Focus: Built-in prompts for research documentation
For Developers
- Modern Python: Type hints, async/await, Python 3.8+
- Quality Assurance: Tests, linting, CI/CD
- Documentation: Comprehensive README and examples
- Easy Contributing: Clear development setup
For Deployment
- Multiple Options: pip, Docker, source installation
- Flexible Configuration: CLI, environment variables, config files
- Port Management: Smart port allocation (8000+ for WordPress, 9000+ for MCP)
🌟 Next Steps
Once you've created this structure:
- Test locally to ensure everything works
- Publish to Test PyPI first for validation
- Create GitHub repository and push code
- Setup GitHub Actions for automated publishing
- Publish to PyPI for worldwide access
- Share with community and gather feedback
This package structure follows Python packaging best practices and will provide a professional, maintainable foundation for the WordPress MCP Server!
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A server that enables integration between Claude Desktop and WordPress, allowing for AI-assisted blogging through a Message Control Protocol implementation.
Related MCP Servers
- -securityAlicense-qualityServer for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.Last updated -57,424283JavaScriptMIT License
- -securityAlicense-qualityA modular server implementation for Claude AI assistants with integrated tools, enabling Claude to perform actions and access external resources like file systems, web searches, browser automation, financial data, and document generation.Last updated -66PythonMIT License
- -securityAlicense-qualityA server that integrates with Claude Desktop to enable real-time web research capabilities, allowing users to search Google, extract webpage content, and capture screenshots directly from conversations.Last updated -854MIT License
- AsecurityFlicenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -11