WordPress MCP Server
by rnagaio.github.rnaga/wp-mcpv1.0.9
MCP server for WordPress. Manage posts, users, comments, terms, metadata, and settings.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install WordPress MCP server
Install in Claude Code
claude mcp add wp -e LOCAL_USERNAME='<local-username>' -e WP_DB_HOST='<wp-db-host>' -e WP_DB_NAME='<wp-db-name>' -e WP_DB_USER='<wp-db-user>' -e WP_DB_PASSWORD='<wp-db-password>' -- npx -y @rnaga/wp-mcp local startInstall in Cursor
{
"mcpServers": {
"wp": {
"command": "npx",
"args": [
"-y",
"@rnaga/wp-mcp",
"local",
"start"
],
"env": {
"LOCAL_USERNAME": "<local-username>",
"WP_DB_HOST": "<wp-db-host>",
"WP_DB_NAME": "<wp-db-name>",
"WP_DB_USER": "<wp-db-user>",
"WP_DB_PASSWORD": "<wp-db-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"wp": {
"command": "npx",
"args": [
"-y",
"@rnaga/wp-mcp",
"local",
"start"
],
"env": {
"LOCAL_USERNAME": "<local-username>",
"WP_DB_HOST": "<wp-db-host>",
"WP_DB_NAME": "<wp-db-name>",
"WP_DB_USER": "<wp-db-user>",
"WP_DB_PASSWORD": "<wp-db-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"wp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rnaga/wp-mcp",
"local",
"start"
],
"env": {
"LOCAL_USERNAME": "<local-username>",
"WP_DB_HOST": "<wp-db-host>",
"WP_DB_NAME": "<wp-db-name>",
"WP_DB_USER": "<wp-db-user>",
"WP_DB_PASSWORD": "<wp-db-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"wp": {
"command": "npx",
"args": [
"-y",
"@rnaga/wp-mcp",
"local",
"start"
],
"env": {
"LOCAL_USERNAME": "<local-username>",
"WP_DB_HOST": "<wp-db-host>",
"WP_DB_NAME": "<wp-db-name>",
"WP_DB_USER": "<wp-db-user>",
"WP_DB_PASSWORD": "<wp-db-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| LOCAL_USERNAME | yes | — | WordPress username to assume for capability checks |
| WP_DB_HOST | yes | — | WordPress database host |
| WP_DB_PORT | — | — | WordPress database port |
| WP_DB_NAME | yes | — | WordPress database name |
| WP_DB_USER | yes | — | WordPress database user |
| WP_DB_PASSWORD | yes | yes | WordPress database password |
| LOCAL_MULTISITE | — | — | Enable WordPress multisite mode |
| LOCAL_DEFAULT_BLOG_ID | — | — | Default blog ID for multisite |
| LOCAL_DEFAULT_SITE_ID | — | — | Default site ID for multisite |
| LOCAL_SSL_ENABLED | — | — | Enable SSL for database connection |
| LOCAL_SSL_CA_FILEPATH | — | — | Path to SSL CA certificate file |
| LOCAL_SSL_CERT_FILEPATH | — | — | Path to SSL certificate file |
| LOCAL_SSL_KEY_FILEPATH | — | — | Path to SSL key file |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-22 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-22 · 3mo ago · official registry · v1.0.9
FAQ
›How do I install the WordPress MCP server in Claude Code?
Run: claude mcp add wp -e LOCAL_USERNAME='<local-username>' -e WP_DB_HOST='<wp-db-host>' -e WP_DB_NAME='<wp-db-name>' -e WP_DB_USER='<wp-db-user>' -e WP_DB_PASSWORD='<wp-db-password>' -- npx -y @rnaga/wp-mcp local start. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does WordPress require an API key?
Yes. It expects LOCAL_USERNAME, WP_DB_HOST, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD, of which 1 is a secret.
›Can I use WordPress as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is WordPress in the official MCP registry?
Yes, as io.github.rnaga/wp-mcp.