Token导航 LogoToken导航TokenDH.com
Codereview MCP logo
开发工具未说明官方级别未说明来源级核验

Codereview MCP

MCP Server

MCP CodeReview是一个基于Model Context Protocol (MCP)的Cursor/VS Code插件,通过标准化的MCP接口将AI代码审查流程化,并将Review意见以原生评论的形式直接渲染在IDE的Diff视图中。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
代码审查开发工具TypeScriptCursorCursorVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Groos-dev

提供方

Groos-dev

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

MCP CodeReview

TypeScript

MCP

License

MCP CodeReview It is based on Model Context Protocol (MCP) The cursor/VS code plugin. It streamlines the AI code review process through a standardized MCP interface and renders review comments directly in the diff view of the IDE in the form of native comments.

Core conceptUpgrade Code Review from "casual chat" to "structured workflow".

✨ Core Features

  • Protocol driven (MCP Native)Define review logic through MCP Server, decouple from IDE, and support hot plugging of different LLM backends.
  • Native experience (In Diff Rendering)Say goodbye to the text stuffing in the Chat window. Review comments are directly mounted to the code line using VS Code CommentController API implements native interaction.
  • Workflow orchestrationSupport multiple review modes and targeted problem-solving:

- 🛡️ Security AuditFocus on vulnerability scanning and permission verification.

- 🚀 PerformanceFocus on algorithm complexity and resource leakage.

- 💎 IdiomaticFocus on code style, type safety, and readability.

  • structured outputForce LLM to output strict JSON format to ensure zero illusion in UI rendering.

🏗️ Architecture Overview

Adopting a Client Server hybrid architecture:

graph TD
    A[Cursor / VS Code] -->|MCP Protocol| B(MCP Server)
    B -->|Prompt Engineering| C[LLM Provider]
    C -->|Structured JSON| B
    B -->|Review Data| A
    A -->|VS Code API| D[Diff View Decorations]
  • Extension (Client)Responsible for obtaining Diff context and processing UI rendering(vscode.comments).
  • MCP ServerResponsible for Prompt management, context assembly, and Zod schema validation.

🛠️ tech stack

  • Runtime: Node.js v20 LTS
  • Language: TypeScript v5.4 (Strict Mode)
  • Schema ValidationZod (used to ensure LLM output conforms to UI rendering structure)
  • Linter: Biome
  • Package Manager: pnpm (Monorepo support)

🚀 Quick Start

Pre requirements

  • Node.js >= 20
  • Cursor or VS code

Installation and operation

  1. Building MCP Server
   pnpm install
   pnpm run build --filter=@mcp-codereview/server
  1. Configure cursor MCP

At the cursor MCP Add local server in the settings:

   {
     "mcpServers": {
       "code-review": {
         "command": "node",
         "args": ["/path/to/packages/server/dist/index.js"]
       }
     }
   }
  1. Debugging plugins

press F5 Start VS Code Extension Host.

⚙️ Configuration

in .vscode/settings.json Define default process in:

{
  "mcpCodeReview.defaultWorkflow": "idiomatic",
  "mcpCodeReview.severityLevel": "warning"
}

📝 Contribution Guide

This project strictly follows Conventional Commits and Semantic VersioningPlease run before submitting the code pnpm biome check.

目录标签

目录标签

代码审查开发工具TypeScriptCursor本地部署AI集成IDE插件自动化流程

支持客户端

CursorVS Code

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP