- Home
- MCP servers
- WordPress Code Review MCP Server v2.0
WordPress Code Review MCP Server v2.0
- typescript
5
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"miniorangedev-wp-code-review-mcp-server": {
"command": "node",
"args": [
"/path/to/wp-code-review-mcp-server/build/index.js"
],
"env": {
"GUIDELINES_URL": "https://yourdomain.com/guidelines"
}
}
}
}You host a lightweight MCP server that fetches coding guidelines, validation rules, and security checks from a remote source. By wiring your local environment to serve guidelines, you enable automated code reviews as you work, keeping your development standards consistent across projects.
How to use
Use an MCP client to connect to your local MCP server and start validating code against your hosted guidelines. Your server runs locally and fetches rules from the URL you provide, so you can update guidelines without touching the client.
Typical usage flow: connect your MCP client to the local server, ensure the guidelines URL is reachable, and trigger the client to run guideline checks or security scans as you edit code. As you work, the server automatically serves the latest rules it fetches from your hosted guidelines.
How to install
Prerequisites: Node.js installed (v18 or later). You need a hostable copy of the MCP server code and a running build to execute the server.
# Step 1: Clone the MCP server 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
Configure and run locally
Your server runs as a local process. Use the following configuration to point your client to the built server and the guidelines URL you host.
{
"mcpServers": {
"wp_code_review": {
"command": "node",
"args": ["/path/to/wp-code-review-mcp-server/build/index.js"],
"env": {
"GUIDELINES_URL": "https://yourdomain.com/guidelines"
}
}
}
}
Test in Cursor
Open any PHP file in Cursor and issue a check to verify that the server properly enforces guidelines and security checks.
Open a PHP file in Cursor
Ask the AI: "Check this code for security issues: `class mo_Test {}`"
Expect the AI to report guideline violations based on the hosted rules.
Available tools
get_guidelines
Fetch development guidelines by category from configured sources.
validate_code
Validate code against configured standards and rules.
security_check
Perform security vulnerability scanning according to configured rules.