Content
# mcp_review_code_tool Project Documentation
## Welcome to Star~~
## Project Introduction
mcp_review_code_tool is a server tool project based on the Model Context Protocol (MCP). This project is mainly used for service integration of functions such as code review. The LLM uses the OpenRouter API.
Development and debugging records:
https://wenkil.github.io/2025/03/28/Developing_a_Local_MCP_Tool_for_Code_Review/
## Latest Updates
🔥 **New Web-based Code Review Tool**: The code logic has been modified to support local code review through a web interface instead of MCP calls. For details, please refer to [web_code_review/README.md](web_code_review/README.md), which supports multi-file uploads, code quality assessment, and visual reports.
## Tech Stack
- Node.js 18+
- TypeScript
- MCP SDK
## Quick Start
### Environment Preparation
1. Ensure that Node.js version 18+ is installed.
2. It is recommended to use nvm for Node.js version management.
### Installation Steps
1. Clone the project
```bash
git clone [project address]
cd mcp_review_code_tool
```
2. Install dependencies
```bash
npm install
```
3. Build the project
```bash
npm run build
```
### Build Output
The built files will be output to the `dist` directory:
- `dist/mcp_code_review.js` - Code review tool
## Configuration Instructions
### MCP Server Configuration
Configure in `mcp.json`:
```json
{
"mcpServers": {
"Code Review Tool": {
"command": "node",
"args": ["your path/dist/mcp_code_review.js"],
"cwd": "your path",
"env": {
"OPENAI_API_KEY": "your api key",
"OPENAI_API_BASE": "https://openrouter.ai/api/v1",
"OPENAI_API_MODEL": "qwen/qwen-2.5-coder-32b-instruct:free"
}
}
}
}
```
Connection Info
You Might Also Like
MarkItDown MCP
Converting files and office documents to Markdown.
Time
Obtaining current time information and converting time between different...
Filesystem
Model Context Protocol Servers
Sequential Thinking
Offers a structured approach to dynamic and reflective problem-solving,...
Git
Model Context Protocol Servers
Context 7
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors