mcp-wordpress-remote
The mcp-wordpress-remote package serves as a bridge between local Model Context Protocol (MCP) clients and remote WordPress MCP servers. It requires Node.js version 22 or higher and necessitates the installation of a specific plugin on the WordPress site. This proxy enhances efficiency by making REST API requests without maintaining an open connection, thereby improving security.
GitHub Stars
65
User Rating
Not Rated
Forks
8
Issues
1
Views
0
Favorites
0
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
- Most of the clients does not suport SSE or Streamable communications protocols.
- 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.
- Oauth2.1 is not yet available on wordpress out of the box.
- Security trough WordPress API passwords and WooCommerce REST API cosumer key and secret
- 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 usernameWP_API_PASSWORD
: Your WordPress application passwordWOO_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
Please check WordPress-mcp plugin git repository for configuration details
@todo
As of now, this package is in its early development stages. Any suggestions, bugreports, PR's are welcome.
2,480
Followers
1,184
Repositories
0
Gists
20
Total Contributions