Skip to main content
Glama

AI Development Assistant MCP Server

by kleneway

🤖 AI 开发助手 MCP 服务器

欢迎使用您的 AI 开发工具包,它专为 Cursor 而设计,是一个模型上下文协议 (MCP) 服务器!该项目通过自定义 AI 工具提供智能编码辅助。请注意,这主要是一个教程演示,而非可用于生产的工具。

✨ 特点

🎨 代码架构师

调用高级推理 LLM 来为编码代理生成计划和指令。

📸 截图伙伴

截取 UI 设计截图并将其与作曲家代理一起使用。

🔍 代码审查

使用 git diffs 来触发代码审查。

🚀 入门

1. 环境设置

首先,你需要设置环境变量。在src/env/keys.ts创建一个文件:

export const OPENAI_API_KEY = "your_key_here"; // Add any other keys you need

⚠️安全提示:不建议在生产环境中将 API 密钥直接存储在源代码中。这仅适用于本地开发和学习。您也可以在 Cursor MCP 界面中以内联方式设置环境变量。

2.安装

npm install # or yarn install

3. 构建服务器

npm run build

4. 添加到光标

该项目旨在用作 Cursor 中的 MCP 服务器。设置方法如下:

  1. 打开游标
  2. 前往Cursor Settings > Features > MCP
  3. 点击+ Add New MCP Server
  4. 填写表格:
    • 职位名称:AI开发助理
    • 类型:stdio
    • 命令node /path/to/your/project/dist/index.js

📘专业提示:您可能需要使用项目构建的 index.js 文件的完整路径。

添加服务器后,您应该会在“可用工具”下看到您的工具。如果没有,请尝试点击 MCP 服务器部分右上角的刷新按钮。

有关 MCP 设置的更多详细信息,请参阅Cursor MCP 文档

🛠️ 使用工具

配置完成后,您可以直接在 Cursor 的 Composer 中使用这些工具。AI 会自动建议使用相关工具,您也可以通过名称或描述明确请求它们。

例如,尝试在 Composer 中输入:

  • “审查此代码以获得最佳实践”
  • “帮我设计一个新功能”
  • “分析一下这个UI截图”

代理人在进行任何工具调用之前都会征求您的批准。

📘专业提示:您可以更新 .cursorrules 文件,其中包含有关如何在特定场景下使用这些工具的说明,代理将自动使用这些工具。

📁 项目结构

src/ ├── tools/ │ ├── architect.ts # Code structure generator │ ├── screenshot.ts # Screenshot analysis tool │ └── codeReview.ts # Code review tool ├── env/ │ └── keys.ts # Environment configuration (add your API keys here!) └── index.ts # Main entry point

🤝 贡献

欢迎贡献!请随时提交 Pull 请求。

📝 许可证

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

🐛 问题与支持

发现错误或需要帮助?请通过以下方式提交问题:

  1. 你想做什么
  2. 事实如何?
  3. 复现步骤
  4. 您的环境详细信息

不过说实话,这只是一个教程演示,并非正式版工具,所以我可能不会修复任何问题。不过,欢迎大家 fork 它,将它变成你自己的版本!

由开发人员用❤️制作,为开发人员服务

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

一个由人工智能驱动的 Cursor 开发工具包,通过高级推理、UI 屏幕截图分析和代码审查工具提供智能编码帮助。

  1. ✨ 特点
    1. 🎨 代码架构师
    2. 📸 截图伙伴
    3. 🔍 代码审查
  2. 🚀 入门
    1. 环境设置
    2. 2.安装
    3. 构建服务器
    4. 添加到光标
  3. 🛠️ 使用工具
    1. 📁 项目结构
      1. 🤝 贡献
        1. 📝 许可证
          1. 🐛 问题与支持

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              Facilitates integration with the Cursor code editor by enabling real-time code indexing, analysis, and bi-directional communication with Claude, supporting concurrent sessions and automatic reconnection.
              Last updated -
              2
              21
              31
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              A code review tool for Cursor IDE that uses OpenAI's GPT models to provide intelligent code analysis and suggestions.
              Last updated -
              2
              Python
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A 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 -
              690
              2
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              Provides audio feedback by playing sound effects when Cursor AI completes code generation, creating a more interactive coding experience.
              Last updated -
              15
              TypeScript

            View all related MCP servers

            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/kleneway/awesome-cursor-mpc-server'

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