Skip to main content
Glama

Grumpy Senior Developer MCP

by sinedied

脾气暴躁的高级开发人员担任 MCP 服务器

节点版本

⭐ 如果您喜欢这个项目,请在 GitHub 上为其加注星标!

使用方法模型配置关于

你是一位资深开发者,厌倦了审查和修复这些充满氛围的 PR 造成的混乱?又或者你是一位氛围程序员,厌倦了被要求修复代码?这款 MCP 工具正是你们的理想之选!🫵

这款 MCP 服务器旨在提供与团队中脾气暴躁的高级开发人员相同的视角。它会审查你的代码,告诉你哪些地方需要修复以及存在哪些问题。所有这些都带有你所期望的讽刺和愤世嫉俗的语气。

需要审查的代码:

console.log(`Hello world`)

结果:

Oh great, a one-liner. How inspiring. Let’s dive into this "masterpiece." 1. **Template Literal Abuse:** Really? A template literal for a static string? Back in my day, we didn't waste resources on unnecessary string interpolation when a plain `'Hello world'` would have done just fine. This reeks of laziness. 2. **Semicolon Missing:** No semicolon at the end of the line? What is this, JavaScript anarchy? Sure, JavaScript allows it, but don’t come crying to me when you run headfirst into an ASI (Automatic Semicolon Insertion) gotcha. 3. **Unnecessary Backticks:** Did I mention how pointless those backticks are? Use them when you actually need variable interpolation or multiline strings, not just to show off that you’re following "modern" syntax trends. 4. **Lack of Context:** What is this accomplishing, exactly? A `"Hello world"` with zero context or an explanation of why it exists? Is this a debugging tool? A placeholder? A cry for help? Back in the old days, we wrote comments. Try it sometime. 5. **Console.log Overkill:** Oh sure, `console.log` is fine **now**, but don't pretend this is production-grade. Professionals use proper logging systems, not this poor man’s debugging trick. **Verdict:** Well, it works, I guess. Next time—if there is a next time—try writing something that doesn’t immediately make me regret my choice of career.

[!NOTE]什么是 MCP? 模型上下文协议 (MCP)是一种开放协议,它标准化了应用程序向 LLM 提供上下文的方式。可以将 MCP 想象成 AI 应用程序的 USB-C 端口。正如 USB-C 提供了一种标准化的方式将您的设备连接到各种外围设备和配件一样,MCP 也提供了一种标准化的方式将 AI 模型连接到不同的数据源和工具。

用法

此工具要求您的系统上安装Node.js 20+

与 GitHub Copilot 一起使用

重要提示:VS Code 和 GitHub Copilot 中的 MCP 支持目前需要您启用代理模式或使用最新版VS Code Insiders或更高版本。您可以将 Insiders 版本与常规版 VS Code 一起安装。

您可以使用以下链接安装 MCP 服务器:

或者使用命令行:

# For VS Code code --add-mcp '{"name":"grumpydev","command":"npx","args":["-y","grumpydev-mcp"]}'
# For VS Code Insiders code-insiders --add-mcp '{"name":"grumpydev","command":"npx","args":["-y","grumpydev-mcp"]}'

或者在工作区中的.vscode/mcp.json文件中手动添加它:

{ "servers": { "grumpydev-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "grumpydev-mcp", ], // Optional, if you want to configure the model // "envFile": "${workspaceFolder}/.env" } } }

与 Claude 桌面一起使用

将其添加到您的claude_desktop_config.json中:

{ "mcpServers": { "grumpydev-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "grumpydev-mcp", ], // Optional, if you want to configure the model // "env": { // "GENAISCRIPT_DEFAULT_MODEL": "<your_model_config>", // } } } }

使用 MCP 检查器进行测试

  1. 在终端窗口中,启动 MCP Inspector:
    npx -y @modelcontextprotocol/inspector
  2. 按住 Ctrl 键并单击,即可从应用程序显示的 URL 加载 MCP Inspector Web 应用程序(例如http://127.0.0.1:6274
  3. 将命令设置为npx并将参数设置为-y grumpydev-mcp ,然后单击**“连接”**按钮。
  4. **“工具”选项卡中,选择“列出工具”** 。单击某个工具,然后选择**“运行工具”**

模型配置

您可以通过设置GENAISCRIPT_DEFAULT_MODEL环境变量来配置此 MCP 服务器使用的模型。此变量应包含您要使用的模型的提供程序和名称,例如github:gpt-4o 。默认情况下,它使用带有 GPT-4o 模型的GitHub 模型

您可以使用GenAIScript支持的任何提供程序/模型,有关更多详细信息,请参阅模型配置部分。某些模型可能需要额外配置作为环境变量,例如 API 密钥或其他凭据。

关于

此 MCP 工具是使用GenAIScript构建的。

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP 服务器以脾气暴躁的高级开发人员的讽刺和愤世嫉俗的语气审查代码,帮助识别 PR 中的问题并提供代码质量反馈。

  1. 用法
    1. 与 GitHub Copilot 一起使用
    2. 与 Claude 桌面一起使用
    3. 使用 MCP 检查器进行测试
  2. 模型配置
    1. 关于

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.
        Last updated -
        3
        4
        JavaScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        An MCP server that provides tools and resources for managing a coding project's todo list, allowing users to view, add, update, and delete todo items with details like priority, status, and tags.
        Last updated -
        1
        Python
      • -
        security
        A
        license
        -
        quality
        An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
        Last updated -
        173
        Python
        MIT License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        An MCP server that analyzes codebases and generates contextual prompts, making it easier for AI assistants to understand and work with code repositories.
        Last updated -
        10
        Python
        MIT License

      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/sinedied/grumpydev-mcp'

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