mcp-wpcom-remote
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-wpcom-remotelist my recent posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP WordPress.com Remote
A Model Context Protocol (MCP) server for seamless WordPress.com integration
This package wraps @automattic/mcp-wordpress-remote with WordPress.com-optimized defaults, making it easy to connect AI assistants like Claude Desktop to WordPress.com sites.
Features
WordPress.com Optimized - Pre-configured for WordPress.com public API
Secure OAuth 2.0 Authentication - One-click setup with persistent token storage
Zero Configuration - Works out of the box for WordPress.com sites
Complete MCP Support - Tools, resources, prompts, and more
Quick Start
Installation
npm install @automattic/mcp-wpcom-remoteConfiguration
Add to your MCP client configuration (e.g., Claude Desktop's claude_desktop_config.json):
{
"mcpServers": {
"wordpress.com": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wpcom-remote"]
}
}
}First Run
Start your MCP client (Claude Desktop, etc.)
Browser opens automatically for WordPress.com authorization
Authorize the application - tokens are stored permanently
Start using WordPress.com features in your AI assistant
That's it! No additional configuration needed for WordPress.com.
WordPress.com Defaults
This package automatically configures:
API Endpoint:
https://public-api.wordpress.com/wpcom/v2/mcp/v1OAuth Client ID:
121755(WordPress.com MCP client)OAuth Enabled:
trueby defaultCallback Port:
3000Config Directory:
~/.mcp-auth/wpcom-remote-{version}/
Advanced Configuration
Custom Configuration
You can override any default settings using environment variables:
{
"mcpServers": {
"wordpress.com": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wpcom-remote"],
"env": {
"OAUTH_CALLBACK_PORT": "8080",
"LOG_FILE": "/path/to/logfile.log"
}
}
}
}JWT Token Authentication
For server-to-server authentication:
{
"mcpServers": {
"wordpress.com": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wpcom-remote"],
"env": {
"JWT_TOKEN": "your-jwt-token-here"
}
}
}
}Custom WordPress.com Endpoint
If you need to use a different WordPress.com endpoint:
{
"mcpServers": {
"wordpress.com": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wpcom-remote"],
"env": {
"WP_API_URL": "https://your-custom-endpoint.com/wpcom/v2/mcp/v1"
}
}
}
}Environment Variables
Variable | Default | Description |
|
| WordPress.com API endpoint |
|
| Enable OAuth authentication |
|
| OAuth callback port |
|
| OAuth callback hostname |
|
| WordPress.com OAuth client ID |
|
| Config directory override |
| (none) | JWT token for authentication |
| (none) | Log file path |
Development Mode
For development and testing, you can use the local repository:
Setup
Clone the repository:
git clone https://github.a8c.com/Automattic/mcp-wpcom-remote.git cd mcp-wpcom-remoteInstall dependencies:
npm installBuild the project:
npm run build
Configuration
Configure your MCP client to use the local version:
{
"mcpServers": {
"wordpress.com": {
"command": "node",
"args": ["/path/to/your/mcp-wpcom-remote/dist/proxy.js"]
}
}
}Troubleshooting
OAuth Issues
Browser doesn't open:
Check if port 3000 is available
Try a different port with
OAUTH_CALLBACK_PORT
Authorization fails:
Verify WordPress.com account permissions
Try clearing tokens:
rm -rf ~/.mcp-auth/wpcom-remote-*/
Port Conflicts
If port 3000 is already in use:
{
"env": {
"OAUTH_CALLBACK_PORT": "8080"
}
}What's Different from mcp-wordpress-remote
This package (mcp-wpcom-remote) is a WordPress.com-optimized wrapper that:
Pre-configures WordPress.com API endpoint
Uses WordPress.com OAuth client ID by default
Enables OAuth by default (vs disabled in the generic package)
Uses wpcom-specific config directory for token isolation
Integrates logging from the underlying package for consistent log formatting
For self-hosted WordPress sites, use @automattic/mcp-wordpress-remote directly.
Requirements
Node.js 22+ (inherited from underlying package)
WordPress.com account (for OAuth authentication)
License
GPL v2 or later
Contributing
Contributions welcome! This project is maintained by Automattic Inc.
Need help? Check the troubleshooting section or open an issue.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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-wpcom-remote'
If you have feedback or need assistance with the MCP directory API, please join our Discord server