MCP Code Review Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_changed_filesA | 获取变更文件的路径列表。支持两种模式: 模式一:分支对比模式(需要 target_branch) 对比开发分支与目标分支之间的代码差异。 模式二:Commit Hash 模式(需要 from_commit,不需要 target_branch) 指定一个起始 commit hash,获取该 commit 之后到开发分支的所有变更。适用于不想指定目标分支的场景。 使用流程:
描述示例:
|
| generate_code_reviewA | 生成代码Review报告。支持两种模式: 模式一:分支对比模式(需要 target_branch) 对比开发分支与目标分支的代码差异。 模式二:Commit Hash 模式(需要 from_commit,不需要 target_branch) 指定一个起始 commit hash,获取该 commit 之后到开发分支的所有变更并生成报告。 使用场景:
使用方式: 直接调用此工具即可。如果不传 file_descriptions,系统会返回变更文件列表,你需要根据每个文件的完整路径理解其功能,生成简短的中文功能描述(50字以内),然后再次调用此工具传入 file_descriptions 参数。 参数说明:
|
| list_branch_authorsA | 列出变更范围内所有提交的作者信息,帮助用户确认自己的Git用户名。支持两种模式: 模式一:分支对比模式(需要 target_branch) 模式二:Commit Hash 模式(需要 from_commit,不需要 target_branch) 使用场景:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| generate-review | 生成代码Review报告(分支对比模式)- 对比开发分支与目标分支的代码差异,自动生成HTML格式的Review文档 |
| generate-review-from-commit | 生成代码Review报告(Commit Hash模式)- 从指定commit开始到开发分支的所有变更,自动生成HTML格式的Review文档 |
| list-authors | 查看提交作者列表 - 列出变更范围内所有提交的作者信息,帮助确认Git用户名 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| 使用文档 (README) | MCP Code Review Server 的完整使用文档,包含工具说明、参数说明、配置方式和使用示例 |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xlian-fe/mcp-xl-code-review'
If you have feedback or need assistance with the MCP directory API, please join our Discord server