About
WordPress Code Review MCP Server
README
A lightweight, configurable MCP (Model Context Protocol) server for development teams. Fetches coding guidelines, security rules, and validation patterns from external sources or URL where you have hosted your custom guidelines.
🚀 Key Features
- ✅ No hardcoded rules - Fetch guidelines from any URL
- ✅ Dynamic configuration - Specify source via environment variables
- ✅ Custom validation - Add your own coding standards and security rules
- ✅ Lightweight - External guidelines, minimal codebase
📋 Available Tools
get_guidelines- Fetch development guidelines by categoryvalidate_code- Validate code against configured standardssecurity_check- Security vulnerability scanning
📋 Prerequisites
- Node.js installed (v18+)
🛠 Installation & Setup
Step 1: Clone Repository
git clone https://github.com/miniOrangeDev/wp-code-review-mcp-server.git
cd wp-code-review-mcp
Step 2: Install Dependencies & Build
npm install
npm run build
Step 3: Host Your Guidelines
Host the files from sample-guidelines/html/ on your web server and configure your base URL, for example: https://yourdomain.com/guidelines/
The MCP server will fetch:
https://yourdomain.com/guidelines/guidelines.mdhttps://yourdomain.com/guidelines/validation-rules.mdhttps://yourdomain.com/guidelines/security-rules.md
Step 4: Configure Cursor
Add to your Cursor settings (Ctrl+Shift+P → "Preferences: Open User Settings (JSON)"):
{
"mcpServers": {
"wp-code-review-mcp": {
"command": "node",
"args": ["/path/to/wp-code-review-mcp-server/build/index.js"],
"env": {
"GUIDELINES_URL": "https://yourdomain.com/guidelines"
}
}
}
}
Replace /path/to/wp-code-review-mcp-server with your actual path (e.g., /home/wp-code-review-mcp-server)
Why the path? Unlike published npm packages, this is a local MCP server. The path tells Cursor exactly where to find your built server file.
If you don't see MCP server connected, restart Cursor and the MCP server will be available.
Guidelines Format
Your guidelines server should serve these files:
/guidelines.md- Main development guidelines/validation-rules.md- Code validation rules/security-rules.md- Security scanning rules
Step 5: Test in Cursor
- Open any PHP file in Cursor
- Ask the AI: "Check this code for security issues:
class mo_Test {}" - The AI should detect the short prefix violation!
🔧 Troubleshooting
Having configuration issues? See the Configuration Troubleshooting Guide for common mistakes and solutions.
📝 Customizing Guidelines
Edit the files in sample-guidelines/html/ to add your own:
- Coding standards
- Validation rules
- Security patterns
- Company-specific guidelines
The MCP server automatically uses updated rules without restart.
📄 License
MIT License
Built for Dynamic, Maintainable Development Guidelines 🛡️
Installing Wp Code Review
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/miniOrangeDev/wp-code-review-mcp-serverFAQ
Is Wp Code Review MCP free?
Yes, Wp Code Review MCP is free — one-click install via Unyly at no cost.
Does Wp Code Review need an API key?
No, Wp Code Review runs without API keys or environment variables.
Is Wp Code Review hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Wp Code Review in Claude Desktop, Claude Code or Cursor?
Open Wp Code Review on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Wp Code Review with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
