Skip to main content
Glama

WordPress MCP Server

Official
by Automattic

MCP WordPress Remote

The mcp-wordpress-remote package acts as a bridge between local Model Context Protocol (MCP) clients and remote WordPress MCP servers. By leveraging npx, you can execute this package without a global installation, simplifying the setup process.

Requirements

  • Node.js version 22 or higher

WordPress MCP plugin

You have to install the wordpress-mcp plugin on your WordPress website, and enable MCP Functionality on Settings > MCP Settings.

Why

  1. Most of the clients does not suport SSE or Streamable communications protocols.
  2. Improved eficiency. This proxy will not keep an open connection to your website, and it will only make simple REST API requests to your website when needed.
  3. Oauth2.1 is not yet available on wordpress out of the box.
  4. Security trough WordPress API passwords and WooCommerce REST API cosumer key and secret
  5. Easy to use. See installation instructions below.

Usage

Environment Variables

The following environment variables are required:

  • WP_API_URL: The URL of your WordPress site (e.g., https://example.com)
  • WP_API_USERNAME: Your WordPress username
  • WP_API_PASSWORD: Your WordPress application password
  • WOO_CUSTOMER_KEY: Your Woocommerce customer key (optional, if you intend to use WooCommerce MCP assets)
  • WOO_CUSTOMER_SECRET: Your WooCommerce customer secret (optional, if you intend to use WooCommerce MCP assets)
  • LOG_FILE: Optional full path to a log file

Configuration in MCP Clients

Claude Desktop

In order to add an MCP server to Claude Desktop you need to edit the configuration file located at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Example configuration:

{ "mcpServers": { "wordpress-mcp": { "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote@latest"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }

https://woocommerce.com/document/woocommerce-rest-api/

Cursor

The configuration file is located at ~/.cursor/mcp.json.

Example configuration:

{ "mcpServers": { "wordpress-mcp": { "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote@latest"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }
VS Code

The configuration file can be created inside .vscode/mcp.json in your workspace/folder.

{ "servers": { "wordpress-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote@latest"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }

More information on VS Code and MCP is available in the VS Code docs

@todo

As of now, this package is in its early development stages. Any suggestions, bugreports, PR's are welcome.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Acts as a bridge between local MCP clients and WordPress websites, enabling communication with WordPress through simple REST API requests rather than keeping open connections.

  1. Requirements
    1. WordPress MCP plugin
      1. Why
        1. Usage
          1. Environment Variables
          2. Configuration in MCP Clients
        2. @todo

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
            Last updated -
            66
            8
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            An MCP server that helps novice developers deploy web applications through conversational interfaces, bridging the gap between LLMs and various hosting environments.
            Last updated -
            1
            Python
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A proxy service that connects MCP clients to remote MCP servers, allowing users to use server keys from MCP.so to access remote resources without running their own server.
            Last updated -
            5,062
            2
            TypeScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A server that enables interaction with WordPress sites through REST API, allowing users to create, retrieve, and update posts using JSON-RPC 2.0 protocol.
            Last updated -
            1
            JavaScript
            MIT License
            • Apple
            • Linux

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Automattic/mcp-wordpress-remote'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server