Skip to main content
Glama
jacklandis29

CodeChecker MCP

by jacklandis29

代码检查器 MCP

Cursor IDE 的代码审查工具,使用 OpenAI 的 GPT 模型提供智能代码分析和建议。

特征

  • 使用 OpenAI 的 GPT 模型进行实时代码审查

  • 通过 MCP 协议与 Cursor IDE 集成

  • 支持 SSE 和 stdio 传输模式

  • 详细的代码分析和具体的改进建议

Related MCP server: AI Development Assistant MCP Server

先决条件

  • Python 3.10 或更高版本

  • OpenAI API 密钥

  • 游标 IDE

安装

  1. 克隆存储库:

git clone https://github.com/jacklandis29/codechecker-mcp.git
cd codechecker-mcp
  1. 创建并激活虚拟环境:

python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. 安装依赖项:

pip install -e .
  1. 在项目根目录中创建一个.env文件并添加您的 OpenAI API 密钥:

OPENAI_API_KEY=your_api_key_here

用法

  1. 启动服务器:

python main.py --transport sse --port 8000
  1. 配置 Cursor IDE:

    • 打开光标设置

    • 添加以下配置:

{
  "mcp": {
    "endpoint": "http://127.0.0.1:8000/sse",
    "enabled": true
  }
}
  1. 通过选择代码并提供审查上下文来使用 Cursor IDE 中的代码审查工具。

配置

  • --transport :在“sse”(用于 Cursor IDE 集成)或“stdio”(用于命令行使用)之间进行选择

  • --port :指定 SSE 服务器的端口号(默认值:8000)

执照

MIT 许可证

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/jacklandis29/codechecker-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server