The Grumpy Senior Developer MCP server provides code reviews with a sarcastic, cynical tone mimicking a grumpy senior developer. It analyzes your code and highlights potential issues, making it useful for both experienced developers and those learning best practices.
Before installing, ensure you have Node.js 20+ installed on your system.
To use this MCP server with GitHub Copilot:
Important: MCP support in VS Code requires either enabling Agent mode or using VS Code Insiders.
# 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"]}'
Add this to your .vscode/mcp.json
file in your workspace:
{
"servers": {
"grumpydev-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"grumpydev-mcp"
]
// Optional: "envFile": "${workspaceFolder}/.env"
}
}
}
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"grumpydev-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"grumpydev-mcp"
]
// Optional model configuration:
// "env": {
// "GENAISCRIPT_DEFAULT_MODEL": "<your_model_config>"
// }
}
}
}
Start MCP Inspector:
npx -y @modelcontextprotocol/inspector
Open the inspector interface by clicking the URL shown (typically http://127.0.0.1:6274)
Configure the connection:
npx
-y grumpydev-mcp
Go to the Tools tab, select List Tools, then click on a tool and select Run Tool
You can customize the model used by setting the GENAISCRIPT_DEFAULT_MODEL
environment variable:
GENAISCRIPT_DEFAULT_MODEL=github:gpt-4o
By default, the server uses GitHub Models with GPT-4o. You can use any provider/model supported by GenAIScript. Some models may require additional configuration through environment variables, such as API keys.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.