WP MCP Server
Hosted MCP server that bridges Claude.ai with one or more WordPress sites.
README
WP MCP Server
Hosted MCP server that bridges Claude.ai with one or more WordPress sites.
Setup (Ubuntu VPS)
1. Install Node.js
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
2. Deploy the server
# Upload mcp-server/ folder to your VPS, then:
cd mcp-server
npm install
# Copy and edit the .env file
cp .env.example .env
nano .env
Edit .env:
PORT=3000
SERVER_URL=https://mcp.yourdomain.com
SECRET_KEY=your_random_secret_key_here
3. Run with PM2 (keep alive)
npm install -g pm2
pm2 start src/server.js --name wp-mcp-server
pm2 save
pm2 startup
4. Nginx reverse proxy
server {
listen 80;
server_name mcp.yourdomain.com;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
# Required for SSE
proxy_buffering off;
proxy_read_timeout 300s;
chunked_transfer_encoding on;
}
}
Then add SSL:
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d mcp.yourdomain.com
5. Test the server
curl https://mcp.yourdomain.com/health
Connecting a WordPress Site
After installing the WP MCP Connect plugin on WordPress:
- Go to Settings → WP MCP Connect
- Enter your MCP Server URL (
https://mcp.yourdomain.com) - Enter your Admin Key (the
SECRET_KEYfrom.env) - Click Register Site
- Copy the Connector URL that appears
- Paste it into Claude.ai → Settings → Connectors
Architecture
Claude.ai
↓ MCP (SSE)
mcp.yourdomain.com (this server)
↓ REST API + X-MCP-Secret header
yoursite.com/wp-json/wp-mcp-connect/v1/execute
↓
WordPress Abilities Registry
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.