代码检查器 MCP
Cursor IDE 的代码审查工具,使用 OpenAI 的 GPT 模型提供智能代码分析和建议。
特征
使用 OpenAI 的 GPT 模型进行实时代码审查
通过 MCP 协议与 Cursor IDE 集成
支持 SSE 和 stdio 传输模式
详细的代码分析和具体的改进建议
先决条件
Python 3.10 或更高版本
OpenAI API 密钥
游标 IDE
安装
克隆存储库:
创建并激活虚拟环境:
安装依赖项:
在项目根目录中创建一个
.env
文件并添加您的 OpenAI API 密钥:
用法
启动服务器:
配置 Cursor IDE:
打开光标设置
添加以下配置:
通过选择代码并提供审查上下文来使用 Cursor IDE 中的代码审查工具。
配置
--transport
:在“sse”(用于 Cursor IDE 集成)或“stdio”(用于命令行使用)之间进行选择--port
:指定 SSE 服务器的端口号(默认值:8000)
执照
MIT 许可证
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Cursor IDE 的代码审查工具,使用 OpenAI 的 GPT 模型提供智能代码分析和建议。
Related Resources
Related MCP Servers
- -securityAlicense-qualityAn AI-powered development toolkit for Cursor providing intelligent coding assistance through advanced reasoning, UI screenshot analysis, and code review tools.Last updated -596337MIT License
- -securityAlicense-qualityA Cursor-compatible toolkit that provides intelligent coding assistance through custom AI tools for code architecture planning, screenshot analysis, code review, and file reading capabilities.Last updated -59611MIT License
- -securityFlicense-qualityManaged Code Plugin for Cursor IDE providing integration with Atlassian products (JIRA, Confluence, BitBucket), enabling developers to search for tasks, create new issues, view documentation, and manage code repositories directly from the IDE.Last updated -
- -securityFlicense-qualityA server that integrates with Cursor IDE to provide code review functionality for Azure repositories, enabling AI-powered pull request analysis and feedback.Last updated -2