AI-native management hub for WordPress, WooCommerce, and self-hosted services via Model Context Protocol (MCP)
Project description
MCP Hub
The AI-native management hub for WordPress, WooCommerce, and self-hosted services.
Connect your sites, stores, repos, and databases — manage them all through Claude, ChatGPT, Cursor, or any MCP client.
Why MCP Hub?
WordPress powers 43% of the web. WooCommerce runs 36% of online stores. Yet no MCP server existed for managing them through AI — until now.
MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and 8 other self-hosted services through any AI assistant. Instead of clicking through dashboards, just tell your AI what to do:
"Update the SEO meta description for all WooCommerce products that don't have one"
"Create a new blog post about our Black Friday sale and schedule it for next Monday"
"Check the health of all 12 WordPress sites and report any with slow response times"
What Makes MCP Hub Different
| Feature | ManageWP | MainWP | AI Content Plugins | MCP Hub |
|---|---|---|---|---|
| Multi-site management | Yes | Yes | No | Yes |
| AI agent integration | No | No | No | Native (MCP) |
| Full WordPress API | Dashboard | Dashboard | Content only | 67 tools |
| WooCommerce management | No | Limited | No | 28 tools |
| Git/CI management | No | No | No | 56 tools (Gitea) |
| Automation workflows | No | No | No | 56 tools (n8n) |
| Self-hosted | No | Yes | N/A | Yes |
| Open source | No | Core only | Varies | Fully open |
| Price | $0.70-8/site/mo | $29-79/yr | $19-79/mo | Free |
565 Tools Across 9 Plugins
| Plugin | Tools | What You Can Do |
|---|---|---|
| WordPress | 67 | Posts, pages, media, users, menus, taxonomies, SEO (Rank Math/Yoast) |
| WooCommerce | 28 | Products, orders, customers, coupons, reports, shipping |
| WordPress Advanced | 22 | Database ops, bulk operations, WP-CLI, system management |
| Gitea | 56 | Repos, issues, pull requests, releases, webhooks, organizations |
| n8n | 56 | Workflows, executions, credentials, variables, audit |
| Supabase | 70 | Database, auth, storage, edge functions, realtime |
| OpenPanel | 42 | Events, export, insights, profiles, projects, system |
| Appwrite | 100 | Databases, auth, storage, functions, teams, messaging |
| Directus | 100 | Collections, items, users, files, flows, permissions |
| Coolify | 30 | Applications, deployments, servers, env vars, logs |
| System | 24 | Health monitoring, API keys, OAuth management, audit |
| Total | 596 | Constant count — scales to unlimited sites |
Quick Start
Option 1: Docker (Recommended)
git clone https://github.com/airano-ir/mcphub.git
cd mcphub
cp env.example .env
# Edit .env — set MASTER_API_KEY, then add sites via the web dashboard
docker compose up -d
Option 2: Docker Hub (No Clone)
# Create a .env file with MASTER_API_KEY (see "Configure Your Sites" below)
docker run -d --name mcphub -p 8000:8000 --env-file .env airano/mcphub:latest
Option 3: From Source
git clone https://github.com/airano-ir/mcphub.git
cd mcphub
pip install -e .
cp env.example .env
# Edit .env — set MASTER_API_KEY
python server.py --transport streamable-http --port 8000
Verify It Works
After starting the server, wait ~30 seconds then:
# Check server health
curl http://localhost:8000/health
Open the web dashboard in your browser: http://localhost:8000/dashboard
You should see the login page. Log in with your MASTER_API_KEY or via GitHub/Google OAuth (if configured).
Try It Now (No Setup Required)
Don't want to self-host? Use the hosted instance at mcp.example.com:
- Log in with GitHub or Google
- Add your sites via the dashboard (My Sites → Add Service)
- Go to Connect page — generate config for your AI client
- Copy-paste the config into Claude Desktop, VS Code, or Claude Code
Your personal MCP endpoint: https://mcp.example.com/u/{your-user-id}/{alias}/mcp
Configure Your Sites
Sites are managed via the web dashboard — no environment variables needed.
- Set
MASTER_API_KEYin your.envfile - Start the server and open the dashboard
- Add sites with their credentials (URL, username, password/token)
# .env — only system configuration needed
MASTER_API_KEY=your-secure-key-here
Full Environment Variable Reference
System Configuration:
| Variable | Required | Default | Description |
|---|---|---|---|
MASTER_API_KEY |
Recommended | Auto-generated | Master API key for admin access |
LOG_LEVEL |
No | INFO |
Logging level (DEBUG, INFO, WARNING, ERROR) |
ENCRYPTION_KEY |
For Live Platform | — | AES-256-GCM key for credential encryption |
OAUTH_JWT_SECRET_KEY |
For OAuth | — | JWT secret for ChatGPT auto-registration (not needed for Claude/Cursor) |
OAUTH_BASE_URL |
For OAuth | — | Public URL of your server (not needed for Claude/Cursor) |
OAuth is only needed for ChatGPT Remote MCP auto-registration. For Claude Desktop, Claude Code, Cursor, and VS Code — just use
MASTER_API_KEYwith Bearer token auth.
Plugin Credential Reference — when adding sites via dashboard, you'll need:
| Plugin | Required Credentials | Notes |
|---|---|---|
| WordPress | URL, Username, App Password | How to create App Password |
| WooCommerce | URL, Consumer Key, Consumer Secret | WooCommerce → Settings → Advanced → REST API |
| WordPress Advanced | URL, Username, App Password, Container | Container = Docker container name (for WP-CLI) |
| Gitea | URL, Token | Settings → Applications → Personal Access Token |
| n8n | URL, API Key | Settings → API → Create API Key |
| Supabase | URL, Service Role Key | Supabase Dashboard → Settings → API |
| OpenPanel | URL, Client ID, Client Secret | OpenPanel Dashboard → Project Settings |
| Appwrite | URL, API Key, Project ID | Appwrite Console → Settings → API Keys |
| Directus | URL, Static Token | Directus Admin → Settings |
| Coolify | URL, API Token | Coolify → Keys & Tokens → API tokens |
Connect Your AI Client
All MCP clients use Bearer token authentication: Authorization: Bearer YOUR_API_KEY
Use a plugin-specific endpoint (e.g.,
/wordpress/mcp) instead of/mcpto reduce tool count and save tokens. See Architecture below.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcphub-wordpress": {
"type": "streamableHttp",
"url": "http://your-server:8000/wordpress/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Claude Code
Add to .mcp.json in your project:
{
"mcpServers": {
"mcphub-wordpress": {
"type": "http",
"url": "http://your-server:8000/wordpress/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Cursor
Go to Settings > MCP Servers > Add Server:
- Name: MCP Hub WordPress
- URL:
http://your-server:8000/wordpress/mcp - Headers:
Authorization: Bearer YOUR_API_KEY
VS Code + Copilot
Add to .vscode/mcp.json:
{
"servers": {
"mcphub-wordpress": {
"type": "http",
"url": "http://your-server:8000/wordpress/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
ChatGPT (Remote MCP)
MCP Hub supports Open Dynamic Client Registration (RFC 7591). ChatGPT can auto-register as an OAuth client:
- Deploy MCP Hub with
OAUTH_BASE_URLset - In ChatGPT, add MCP server:
https://your-server:8000/mcp - ChatGPT auto-discovers OAuth metadata and registers
Transport types: Use
"type": "streamableHttp"for Claude Desktop and"type": "http"for VS Code/Claude Code. Using"type": "sse"will cause400 Bad Requesterrors.
Architecture
/mcp → Admin endpoint (all 565 tools)
/system/mcp → System tools only (24 tools)
/wordpress/mcp → WordPress tools (67 tools)
/woocommerce/mcp → WooCommerce tools (28 tools)
/wordpress-advanced/mcp → WordPress Advanced tools (22 tools)
/gitea/mcp → Gitea tools (56 tools)
/n8n/mcp → n8n tools (56 tools)
/supabase/mcp → Supabase tools (70 tools)
/openpanel/mcp → OpenPanel tools (42 tools)
/appwrite/mcp → Appwrite tools (100 tools)
/directus/mcp → Directus tools (100 tools)
/coolify/mcp → Coolify tools (30 tools)
/project/{alias}/mcp → Per-project endpoint (auto-injects site)
/u/{user_id}/{alias}/mcp → Per-user endpoint (hosted/OAuth users)
Recommendation: Use plugin-specific endpoints instead of /mcp (596 tools) to minimize token usage.
| Endpoint | Use Case | Tools |
|---|---|---|
/u/{user_id}/{alias}/mcp |
Hosted users (OAuth login) | 22-100 |
/project/{alias}/mcp |
Single-site workflow (recommended) | 22-100 |
/{plugin}/mcp |
Multi-site management | 23-101 |
/mcp |
Admin & discovery only | 565 |
Security
- OAuth 2.1 + PKCE (RFC 8414, 7591, 7636) with auto-registration for Claude/ChatGPT
- Per-project API keys with scoped permissions (read/write/admin)
- Rate limiting: 60/min, 1,000/hr, 10,000/day per client
- GDPR-compliant audit logging with automatic sensitive data filtering
- Web dashboard with real-time health monitoring (8 pages, EN/FA i18n)
Compatibility Note: MCP Hub requires FastMCP 2.x (
>=2.14.0,<3.0.0). FastMCP 3.0 introduced breaking changes and is not yet supported. If you install dependencies manually, ensure you don't upgrade to FastMCP 3.x.
WordPress Plugin Requirements
Some MCP Hub tools require companion WordPress plugins:
| Tools | Requirement |
|---|---|
SEO tools (wordpress_get_post_seo, etc.) |
Airano MCP SEO Bridge (GitHub) + Rank Math or Yoast SEO |
WP-CLI tools (15 tools: wp_cache_*, wp_db_*, etc.) |
Docker socket + CONTAINER config |
| WordPress Advanced database/system tools | Docker socket + CONTAINER config |
| OpenPanel analytics integration | OpenPanel Self-Hosted (Download ZIP) |
| WooCommerce tools | WooCommerce plugin installed on your WordPress site |
Docker socket is needed for WP-CLI and WordPress Advanced system tools. Add to your docker-compose:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
Set the container field when adding a WordPress site in the dashboard. Without Docker socket, WP-CLI tools return "not available" but all REST API tools work normally.
Documentation
| Guide | Description |
|---|---|
| Getting Started | Full setup walkthrough |
| Architecture | System design and module reference |
| API Keys Guide | Per-project API key management |
| OAuth Guide | OAuth 2.1 setup for Claude/ChatGPT |
| Gitea Guide | Gitea plugin configuration |
| Deployment Guide | Docker and Coolify deployment |
| Troubleshooting | Common issues and solutions |
| Plugin Development | Build your own plugin |
Development
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests (481 tests)
pytest
# Format and lint
black . && ruff check --fix .
# Run server locally
python server.py --transport streamable-http --port 8000
Support This Project
MCP Hub is free and open-source. Development is funded by community donations.
Donate with Crypto (NOWPayments) — Global, no geographic restrictions.
| Goal | Monthly | Enables |
|---|---|---|
| Infrastructure | $50/mo | Demo hosting, CI/CD, domain |
| Part-time maintenance | $500/mo | Updates, security patches, issue triage |
| Active development | $2,000/mo | New plugins, features, community support |
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
Priority areas:
- New plugin development
- Client setup guides
- Workflow templates and examples
- Test coverage expansion
- Translations (i18n)
License
MIT License. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcphub_server-3.7.0.tar.gz.
File metadata
- Download URL: mcphub_server-3.7.0.tar.gz
- Upload date:
- Size: 516.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93a76db663029d35a0096110a0c2aaabf5bbaf0be29b72aa480118f4688a6007
|
|
| MD5 |
257d7f56e8d127d59e1d820fb21cc8e4
|
|
| BLAKE2b-256 |
98611bd11b02e0d405e515acdfcb434c6bc66d70d773b88199eacd00776b397f
|
File details
Details for the file mcphub_server-3.7.0-py3-none-any.whl.
File metadata
- Download URL: mcphub_server-3.7.0-py3-none-any.whl
- Upload date:
- Size: 560.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d912ef1fc29f57f7bf5045592d66989404287e65ee665ee9d0e6ee9809d11927
|
|
| MD5 |
731d75ec4221cae7c316a251790e5c0b
|
|
| BLAKE2b-256 |
2855b8833a19a1c683fb66e53110defd229c24d1c520986ade25db35a61c594e
|