Back to Home
Akungapaul icon

wp-design-mcp

by Akungapaul

Overview

Manages WordPress custom CSS and color palette settings via an MCP server interface.

Installation

Run Command
node server.js

Environment Variables

  • WORDPRESS_URL
  • WORDPRESS_USERNAME
  • WORDPRESS_APP_PASSWORD
  • ENABLE_WP_CLI
  • WP_CLI_PATH
  • WORDPRESS_PATH
  • SSH_HOST
  • SSH_PORT
  • SSH_USER
  • SSH_KEY_PATH

Security Notes

The 'update_color_palette' tool uses WP-CLI to set theme modifications via `cliClient.exec`. The command is constructed using user-provided 'key' and 'value' strings directly injected into a shell command (`theme mod set ${key} "${value}"`). This is highly vulnerable to command injection, as malicious input in 'key' or 'value' could allow arbitrary code execution on the server where WP-CLI is run. For example, a 'key' like `foo"; rm -rf /; #` would execute `rm -rf /` on the host. This constitutes a critical security risk.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-28

Tags

wordpressmcpcssdesigncolors