mcp_review_code_tool
MCP server for code review using OpenRouter API. Supports local code review via MCP or web interface.
README
mcp_review_code_tool 项目说明文档
欢迎Star~~
项目简介
mcp_review_code_tool 是一个基于 Model Context Protocol (MCP) 的server tool项目。 本项目主要用于实现代码评审等功能的服务集成。LLM使用的是OpenRouter的api。
开发调试记录: https://wenkil.github.io/2025/03/28/开发一个本地MCP工具进行代码review/
最新更新
🔥 新增Web版代码审查工具:代码逻辑改为了支持通过Web界面进行本地代码审查而非MCP调用,详情请查看 web_code_review/README.md,支持多文件上传、代码质量评估和可视化报告。
技术栈
- Node.js 18+
- TypeScript
- MCP SDK
快速开始
环境准备
- 确保已安装 Node.js 18+ 版本
- 推荐使用 nvm 进行 Node.js 版本管理
安装步骤
- 克隆项目
git clone [项目地址]
cd mcp_review_code_tool
- 安装依赖
npm install
- 构建项目
npm run build
构建输出
构建后的文件将输出到 dist 目录:
dist/mcp_code_review.js- 代码评审工具
配置说明
MCP 服务器配置
在 mcp.json 中进行配置:
{
"mcpServers": {
"代码评审工具": {
"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"
}
}
}
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.