Grumpy Senior Developer MCP
脾气暴躁的高级开发人员担任 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 检查器进行测试
在终端窗口中,启动 MCP Inspector:
npx -y @modelcontextprotocol/inspector按住 Ctrl 键并单击,即可从应用程序显示的 URL 加载 MCP Inspector Web 应用程序(例如http://127.0.0.1:6274 )
将命令设置为
npx并将参数设置为-y grumpydev-mcp,然后单击**“连接”**按钮。在**“工具”选项卡中,选择“列出工具”** 。单击某个工具,然后选择**“运行工具”** 。
Related MCP server: code-review-mcp-server
模型配置
您可以通过设置GENAISCRIPT_DEFAULT_MODEL环境变量来配置此 MCP 服务器使用的模型。此变量应包含您要使用的模型的提供程序和名称,例如github:gpt-4o 。默认情况下,它使用带有 GPT-4o 模型的GitHub 模型。
您可以使用GenAIScript支持的任何提供程序/模型,有关更多详细信息,请参阅模型配置部分。某些模型可能需要额外配置作为环境变量,例如 API 密钥或其他凭据。
关于
此 MCP 工具是使用GenAIScript构建的。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that automates code reviews through linting, testing, and git diff analysis. It also generates conventional commit messages and detailed pull request descriptions based on file changes and code patterns.
- AlicenseNot gradedqualityFmaintenanceAn MCP server that provides senior-level code review, quality checks, security analysis, and refactoring suggestions directly in your editor.1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that performs automated code reviews by analyzing git diffs against configurable review standards with custom reviewer personas.2MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that enables checking GitHub and Codeberg PR reviews, change requests, and conversations.MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that gives your AI access to the source code and docs of all public github repos
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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