wordpress-developer
Turn your AI into a full-stack WordPress developer
claude mcp add --transport stdio nightnei-wordpress-developer-mcp-server npx -y wordpress-developer-mcp-server \ --env OPENAI_API_KEY="your-openai-api-key" \ --env WORDPRESS_SITE_URL="https://example.com" \ --env WORDPRESS_ADMIN_PASSWORD="your-password" \ --env WORDPRESS_ADMIN_USERNAME="admin"
How to use
This MCP server turns AI into a capable WordPress developer. Once running, you can prompt it to generate WordPress plugins, themes, custom blocks, and code snippets tailored to WordPress development workflows. The server aims to assist with tasks such as creating shortcodes, implementing REST API endpoints, building Gutenberg blocks, debugging PHP or JavaScript for WordPress, and scaffolding WordPress projects. Use it to brainstorm features, convert user stories into executable WordPress code, and iterate on development tasks with AI-assisted guidance.
To use the server, run the installation steps to start the MCP server locally, then interact with it through Claude Desktop or your preferred interface. Provide clear prompts specifying your WordPress objective, desired PHP/JS scaffolding, and any constraints (PHP version, WordPress version, coding standards). The tool will respond with code blocks, file structures, and step-by-step instructions, which you can copy into your WordPress project and adapt as needed.
How to install
Prerequisites:
- macOS system (as currently supported)
- curl available in the terminal
- Node.js and npm (for running via npx) or access to a package registry that hosts the MCP server
Installation steps:
- Install the MCP server via the provided install script: curl -fsSL https://raw.githubusercontent.com/nightnei/wordpress-developer-mcp-server/main/install.sh | bash
- Ensure the server is accessible locally and note any port it binds to (if applicable).
- Install any required dependencies if prompted by the install script, and set up environment variables when the server asks for them (such as OPENAI_API_KEY and WordPress credentials).
- Start the MCP server as instructed by the installation script or by running the command from your mcp_config (for example, via npx as shown in the configuration).
- Open Claude Desktop (or your chosen interface) and connect to the running MCP server to begin issuing prompts.
Prerequisites recap:
- macOS system
- curl
- Access to a package registry (npm if using npx) or the installation script provided by the project
- API keys and WordPress credentials as needed by the server
Additional notes
Notes and tips:
- This server is currently macOS-only with Claude Desktop support.
- Ensure OPENAI_API_KEY and any WordPress credentials are set in your environment or provided during setup.
- If you encounter network or dependency issues, run the installation script again or consult the repository for updated installation instructions.
- When prompting, be explicit about WordPress version, PHP version, and any plugins or themes you want to target to improve accuracy.
- If you plan to run multiple WordPress tasks, consider structuring prompts with clear objectives and expected deliverables (e.g., file paths, code snippets, and testing steps).
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud