mcp-wordpress
Verified Safeby docdyhr
Overview
AI-driven SEO optimization and comprehensive management for WordPress sites via a Model Context Protocol (MCP) server.
Installation
node dist/index.jsEnvironment Variables
- WORDPRESS_SITE_URL
- WORDPRESS_USERNAME
- WORDPRESS_APP_PASSWORD
- WORDPRESS_PASSWORD
- WORDPRESS_JWT_SECRET
- WORDPRESS_API_KEY
- WORDPRESS_COOKIE_NONCE
- NODE_ENV
- DEBUG
- LOG_LEVEL
- CACHE_ENABLED
- CACHE_MAX_SIZE_MB
- CACHE_DEFAULT_TTL_MS
- WORDPRESS_TIMEOUT
- WORDPRESS_MAX_RETRIES
- SECURITY_RATE_LIMIT
- LLM_API_KEY
- LLM_API_ENDPOINT
Security Notes
The server demonstrates a strong focus on security. It uses environment variables for sensitive data (e.g., WordPress credentials, JWT secrets) and includes explicit redaction for logs. Input validation is performed using Zod schemas and custom validators (`ParameterValidatorImpl`, `InputValidator`). It has a dedicated `src/security` directory with modules for AI-driven vulnerability scanning, automated remediation, code review, and security monitoring, indicating a proactive approach. Network-related code (`WordPressClient`, `ComposedRequestManager`) handles timeouts, retries, and rate limiting. The `validateAndSanitizeUrl` function prevents common URL-based attacks and private IP/localhost access in production. Potential risks are primarily tied to WordPress itself (plugin vulnerabilities) or misconfiguration, rather than inherent flaws in the server's code, but this is mitigated by robust configuration validation and security features.
Similar Servers
microcms-mcp-server
This MCP server enables AI assistants like Claude to interact with and manage content and media within the microCMS headless CMS.
wpcs-mcp-server
Integrates WordPress Coding Standards (WPCS) checks and automatic fixes with Claude AI for WordPress plugin/theme development workflows.
ddev-mcp
Provides AI assistants with DDEV development environment automation for various web projects, managing environments, databases, and executing commands.
wordpress-mcp-server
A comprehensive AI-powered platform for managing WordPress and WooCommerce sites, covering development, content, security, and performance tasks.