Skip to main content

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.

GitHub Release License: MIT Python 3.11+ PyPI Docker Plugins: 8 CI


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 65 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

8 Public Plugins, Hundreds of Tools

The exact tool count grows as new plugins ship and existing ones gain endpoints. What you actually expose is controlled by your ENABLED_PLUGINS setting and per-key scope — pick a plugin-specific endpoint to keep the surface area small.

Plugin Approx. Tools What You Can Do
WordPress ~70 Posts, pages, media (incl. AI image generation), users, menus, taxonomies, SEO (Rank Math/Yoast)
WooCommerce ~30 Products, orders, customers, coupons, reports, shipping
WordPress Specialist ~58 Plugins, themes, users, options, cron, page editing, site config + layout, db inspection/maintenance, bulk fan-out (companion-backed)
Gitea ~65 Repos, issues, pull requests, releases, webhooks, organizations, labels, batch files, tree, search, compare
n8n ~55 Workflows, executions, credentials, variables, audit
Supabase ~70 Database, auth, storage, edge functions, realtime
OpenPanel ~40 Events, export, insights, profiles, projects, system
Coolify ~65 Applications, deployments, servers, projects, databases, services
System ~25 Health monitoring, API keys, OAuth management, audit

Per-site duplication does not inflate the tool count — adding a second WordPress site reuses the same WordPress tools with a different site argument.


Quick Start

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:

  1. Log in with GitHub or Google
  2. Add your sites via the dashboard (My Sites → Add Service)
  3. Go to Connect page — generate config for your AI client
  4. 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.

  1. Set MASTER_API_KEY in your .env file
  2. Start the server and open the dashboard
  3. 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_KEY with 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 Specialist URL, Username, App Password Requires Airano MCP Bridge v2.18.3+ on the WP site; user must have manage_options
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

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 /mcp to 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:

  1. Deploy MCP Hub with OAUTH_BASE_URL set
  2. In ChatGPT, add MCP server: https://your-server:8000/mcp
  3. 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 cause 400 Bad Request errors.


Architecture

/mcp                        → Admin endpoint (every enabled tool)
/system/mcp                 → System tools only
/wordpress/mcp              → WordPress tools
/woocommerce/mcp            → WooCommerce tools
/wordpress-specialist/mcp   → WordPress Specialist tools (companion-backed)
/gitea/mcp                  → Gitea tools
/n8n/mcp                    → n8n tools
/supabase/mcp               → Supabase tools
/openpanel/mcp              → OpenPanel tools
/coolify/mcp                → Coolify 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 the all-tools /mcp admin endpoint to keep your AI client's tool window small (and your token bill lower).

Endpoint Use Case
/u/{user_id}/{alias}/mcp Hosted users (OAuth login) — single service
/project/{alias}/mcp Single-site workflow (recommended)
/{plugin}/mcp Multi-site management for one service
/mcp Admin & discovery only — every enabled tool

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 3.x (>=3.0.0,<4.0.0). The legacy multi-endpoint server and ProjectManager have been removed in v3.5.0.

WordPress Plugin Requirements

Some MCP Hub tools require companion WordPress plugins:

Tools Requirement
SEO + capability/audit tools (wordpress_get_post_seo, capability probe, audit hook, etc.) Airano MCP Bridge (GitHub) + Rank Math or Yoast SEO
Companion-backed maintenance (wordpress_wp_cache_flush, transient cleanup/list, DB check/optimize) Airano MCP Bridge v2.18.5+
WordPress Specialist (~58 tools: plugins / themes / users / options / cron / page editing / site config + layout / db inspection / bulk fan-out) Airano MCP Bridge v2.18.5+
OpenPanel analytics integration OpenPanel Self-Hosted (Download ZIP)
WooCommerce tools WooCommerce plugin installed on your WordPress site

No WordPress tool requires Docker socket or a WordPress container name. Shared-hosted and companion-managed sites use WordPress Application Passwords plus the Airano MCP Bridge REST routes.


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
WordPress Attachment Ingestion Chat-attached media and plugin/theme zip handoff
WordPress/WooCommerce Scope Recipes Least-privilege recipes for content, catalog, media, analytics, and admin tasks
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
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.


Metadata

Release files for mcphub-server 3.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcphub-server 3.14.0
File Size Uploaded Provenance Actions
mcphub_server-3.14.0.tar.gz 854.4 kB Without provenance Details for mcphub_server-3.14.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcphub-server 3.14.0
File Interpreter ABI Platform Actions
mcphub_server-3.14.0-py3-none-any.whl Python 3 none any Details for mcphub_server-3.14.0-py3-none-any.whl

Total release size: 1.7 MB

Release files / mcphub_server-3.14.0.tar.gz

Download URL mcphub_server-3.14.0.tar.gz
Size 854.4 kB
Tags Source
SHA-256 checksum
How to use checksums
babaca5c5d5b55782230211a874e0c2549e9f43abf6b5cad028532e3457817b1
BLAKE2b-256 checksum
How to use checksums
ea4dcf8f68df1b2dd6c54a01b8f2a0232819e38536dbfd72e514d9b3f1edcc8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / mcphub_server-3.14.0-py3-none-any.whl

Download URL mcphub_server-3.14.0-py3-none-any.whl
Size 843.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db01ae0909c10e5d93cfd8315bd8ec4b9f41299d37b59d4585a570c739147097
BLAKE2b-256 checksum
How to use checksums
0278530d09c89de6ee202546d5902222efe4b75a735efeff51688ee114ef1c2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for mcphub-server 3.14.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page