Search Results :

×

How to Connect Your WordPress Site to Claude Desktop Using the MCP Server?


The WordPress MCP Adapter allows you to connect your Claude Desktop to your WordPress site and give Claude direct access to your WordPress posts, pages, and site settings via the REST API. Once the connection is set up, Claude can read and manage your WordPress content without leaving the desktop app.

This guide covers the full setup process, including editing the config file, generating an Application Password, and confirming the connection is live.

Before you begin, make sure you have the following ready:

  • WordPress v6.9 or higher is required (for WordPress v6.8, the Abilities API plugin must be used)
  • Upload and activate the WordPress MCP adapter plugin in your WordPress site

Note and Contact Us - WordPress Claude Desktop Integration

Note: If you also want to connect your WordPress site with ChatGPT or Cursor, we have dedicated setup guides available for both integrations.


To fill in the WP_API_PASSWORD field, generate an Application Password from your WordPress admin panel.

  • Log in to your WordPress Admin Dashboard.
  • Go to your User Profile.
  • Scroll down to the Application Passwords section.
  • Give it a name like Claude Desktop, and click Add New Application Password to generate the key.
  • Copy the generated password and paste it into the WP_API_PASSWORD field in the config as mentioned in step 4.
  • Open Claude Desktop and go to Settings, then click on the Developer tab.
WordPress Cluade Desktop Integration - Edit config file

  • Under the Local MCP Servers section, click Edit config. This opens the file browser and takes you directly to the claude_desktop_config.json file.
  • All MCP servers are registered inside the mcpServers object in this file. For a remote WordPress site using the REST API, add the HTTP transport configuration below.

Note and Contact Us - WordPress Claude Desktop Integration

Note: Replace the placeholder values with your actual site details and save your file once you update them.


    {
        "mcpServers": {
            "wordpress-mcp-server": {
                "command": "npx",
                "args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
                "env": {
                    "WP_API_URL": "<your-domain>/wp-json/mcp/mcp-adapter-default-server",
                    "WP_API_USERNAME": "<your-username>",
                    "WP_API_PASSWORD": "<your-password>"
                }
            }
        }
    }

  • Save the claude_desktop_config.json file once your configuration is complete. Then fully restart Claude Desktop. It only reads MCP server configurations on startup, so a restart is required for the changes to take effect.
  • Go back to the Developer tab in Claude Desktop. Under Local MCP servers, you should see your WordPress MCP server listed. If you see a Running Status next to the server name, you are connected, and Claude is ready to work with your WordPress site.
WordPress Cluade Desktop Integration - MCP Servers

  • If the server does not show as running, check that your WP_API_URL, WP_API_USERNAME, and WP_API_PASSWORD values are correct and that Node.js is installed on your machine.

You have successfully connected your WordPress site to Claude Desktop using the configured WordPress MCP server and completed the setup process. The integration is now active and ready for use.



 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again



ADFS_sso ×
Hello there!

Need Help? We are right here!

support