WordPress MCP Server

io.github.rnaga/wp-mcp

MCP server for WordPress. Manage posts, users, comments, terms, metadata, and settings.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "wp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rnaga/wp-mcp@1.0.9"
      ],
      "env": {
        "LOCAL_USERNAME": "<your LOCAL_USERNAME>",
        "WP_DB_HOST": "<your WP_DB_HOST>",
        "WP_DB_PORT": "3306",
        "WP_DB_NAME": "<your WP_DB_NAME>",
        "WP_DB_USER": "<your WP_DB_USER>",
        "WP_DB_PASSWORD": "<your WP_DB_PASSWORD>",
        "LOCAL_MULTISITE": "false",
        "LOCAL_DEFAULT_BLOG_ID": "1",
        "LOCAL_DEFAULT_SITE_ID": "1",
        "LOCAL_SSL_ENABLED": "false"
      }
    }
  }
}
Environment variables
  • LOCAL_USERNAMErequiredWordPress username to assume for capability checks
  • WP_DB_HOSTrequiredWordPress database host
  • WP_DB_PORTWordPress database port
  • WP_DB_NAMErequiredWordPress database name
  • WP_DB_USERrequiredWordPress database user
  • WP_DB_PASSWORDrequiredsecretWordPress database password
  • LOCAL_MULTISITEEnable WordPress multisite mode
  • LOCAL_DEFAULT_BLOG_IDDefault blog ID for multisite
  • LOCAL_DEFAULT_SITE_IDDefault site ID for multisite
  • LOCAL_SSL_ENABLEDEnable SSL for database connection

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.9
Registry
active
Published
7/22/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that WordPress MCP Server is listed here — it’s also the link we check for a free listing.

WordPress MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-rnaga-wp-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="WordPress MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![WordPress MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-rnaga-wp-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.