Back to Home
docdyhr icon

mcp-wordpress

Verified Safe

by docdyhr

Overview

AI-driven SEO optimization and comprehensive management for WordPress sites via a Model Context Protocol (MCP) server.

Installation

Run Command
node dist/index.js

Environment 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

Stats

Interest Score49
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars60
Forks8
Last Update2026-01-16

Tags

WordPressSEOAIREST APINode.jsTypeScriptContent ManagementSite AuditMetadata