Grumpy Senior Developer MCP

by sinedied
Verified

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.

Integrations

  • Integrates with GitHub Copilot to provide code review functionality with a senior developer perspective, highlighting issues and suggesting fixes in a sarcastic tone.

脾气暴躁的高级开发人员担任 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 服务器:

或者使用命令行:

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>", // } } } }

模型配置

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

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

关于

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

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

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

  1. Usage
    1. Use with GitHub Copilot
    2. Use with Claude desktop
  2. Model configuration
    1. About
      ID: 77gp20mbr7