MCP Server - Code Review
About
# MCP Server - Code Review A server implementation for the Model Context Protocol (MCP) that connects Cursor to OpenRouter API via stdio, enabling code review and AI chat functionalities. ## Features - Connects to OpenRouter API to access various large language models - Provides two main functionalities: - Simple text…
Explore
- Connects to OpenRouter API to access various large language models
- Provides two main functionalities:
- Simple text prompt responses (ask tool)
- Automated code review with project context analysis (code_review tool)
- Integrates with repomix for codebase packaging and analysis
- Supports multi-language project detection
- Runs as a stdio server compatible with the MCP protocol
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Server - Code ReviewCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
npm install -g mcp-server-code-review
npm install mcp-server-code-review
npm install
This server implements two main MCP tools:
Sends a simple text prompt to OpenRouter API and returns the response.
"mcp-openrouter-stdio": {
"name": "mcp-openrouter-stdio",
"command": "npx",
"args": [
"mcp-openrouter-stdio",
"--api-key",
"sk-or-v1-your_key",
"--default-model",
"google/gemini-2.0-flash-thinking-exp:free"
],
"transport": "stdio"
},
Performs a code review using OpenRouter API with project context analysis.
{
name: "code_review",
arguments: {
completed_tasks: ["Task 1", "Task 2"],
work_report: "Details of the work performed",
project_path: "/absolute/path/to/project",
planned_tasks: ["Future task 1", "Future task 2"],
language: "js", // Primary language of the project
model: "optional-model-id" // Uses default if not specified
}
}
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server - code review": {
"mcp-server-code-review": {
"command": "node",
"args": [
"test-mcp-server.js"
]
}
}
}
}
McpServers
{
"mcp-server-code-review": {
"command": "node",
"args": [
"test-mcp-server.js"
]
}
}
A server implementation for the Model Context Protocol (MCP) that connects Cursor to OpenRouter API via stdio, enabling code review and AI chat functionalities.
Features
- Connects to OpenRouter API to access various large language models
- Provides two main functionalities:
- Simple text prompt responses (ask tool)
- Automated code review with project context analysis (code_review tool)
- Integrates with repomix for codebase packaging and analysis
- Supports multi-language project detection
- Runs as a stdio server compatible with the MCP protocol
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



