Vibe Coder MCP Server is a powerful integration for your AI assistant (like Cursor, Cline AI, or Claude Desktop) that provides specialized tools for software development tasks including research, planning, code generation, and project scaffolding through the Model Context Protocol (MCP).
Follow these steps to get the Vibe Coder MCP server up and running with your AI assistant.
Before you begin, ensure you have:
Node.js v18 or higher
node -v
If not installed or outdated, download from nodejs.org.
Git
git --version
If not installed, download from git-scm.com.
OpenRouter API Key
git clone https://github.com/freshtechbro/vibe-coder-mcp.git
cd vibe-coder-mcp
For Windows:
setup.bat
For macOS or Linux:
chmod +x setup.sh
./setup.sh
The setup script will:
Open the .env
file in the main directory and add your OpenRouter API key:
OPENROUTER_API_KEY=your_openrouter_api_key_here
Windows:
cd build
echo %cd%\index.js
macOS/Linux:
cd build
pwd
Then append /index.js
to the result.
Use this JSON template, replacing the placeholders:
"vibe-coder-mcp": {
"command": "node",
"args": ["YOUR_ABSOLUTE_PATH_TO_index.js"],
"env": {
"NODE_ENV": "production",
"OPENROUTER_API_KEY": "YOUR_OPENROUTER_API_KEY",
"OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1",
"GEMINI_MODEL": "google/gemini-pro",
"PERPLEXITY_MODEL": "perplexity/sonar-small-online"
},
"disabled": false,
"autoApprove": [
"research",
"generate-rules",
"generate-prd",
"generate-user-stories",
"generate-task-list",
"generate-fullstack-starter-kit",
"generate-code-stub",
"refactor-code",
"analyze-dependencies",
"git-summary",
"run-workflow"
]
}
Ctrl+Shift+P
or Cmd+Shift+P
)Preferences: Open User Settings (JSON)
mcpServers
objectC:\Users\[YourUsername]\AppData\Roaming\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
~/.config/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
mcpServers
objectC:\Users\[YourUsername]\AppData\Roaming\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
mcpServers
objectAfter installation, you can use the following commands with your AI assistant:
Research modern JavaScript frameworks
Generate a PRD for a task management application
Create development rules for a mobile banking application
Generate user stories for an e-commerce website
Create a task list for a weather app
Generate a python function stub named 'calculate_discount' that takes price and percentage
Refactor this code to use async/await: [paste code snippet]
Analyze dependencies in package.json
Show unstaged git changes
Create a starter kit for a React/Node.js blog application with user authentication
Run workflow newProjectSetup with input { "projectName": "my-new-app", "description": "A simple task manager" }
If the MCP server isn't detected:
args
array is correct/
) even on WindowsIf tools don't work:
"disabled": false
is setautoApprove
array match exactly.env
file and your assistant's configurationRun the server directly for testing:
# Production mode (stdio)
npm start
# Development mode (stdio with pretty logs)
npm run dev
# HTTP interface mode
npm run start:sse
The server will store generated files in the workflow-agent-files
directory for reference.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "vibe-coder-mcp" '{"command":"node","args":["PATH_PLACEHOLDER"],"env":{"NODE_ENV":"production","OPENROUTER_API_KEY":"KEY_PLACEHOLDER","OPENROUTER_BASE_URL":"https://openrouter.ai/api/v1","GEMINI_MODEL":"google/gemini-pro","PERPLEXITY_MODEL":"perplexity/sonar-small-online"},"disabled":false,"autoApprove":["research","generate-rules","generate-prd","generate-user-stories","generate-task-list","generate-fullstack-starter-kit","generate-code-stub","refactor-code","analyze-dependencies","git-summary","run-workflow"]}'
See the official Claude Code MCP documentation for more details.
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 > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"vibe-coder-mcp": {
"command": "node",
"args": [
"PATH_PLACEHOLDER"
],
"env": {
"NODE_ENV": "production",
"OPENROUTER_API_KEY": "KEY_PLACEHOLDER",
"OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1",
"GEMINI_MODEL": "google/gemini-pro",
"PERPLEXITY_MODEL": "perplexity/sonar-small-online"
},
"disabled": false,
"autoApprove": [
"research",
"generate-rules",
"generate-prd",
"generate-user-stories",
"generate-task-list",
"generate-fullstack-starter-kit",
"generate-code-stub",
"refactor-code",
"analyze-dependencies",
"git-summary",
"run-workflow"
]
}
}
}
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 explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"vibe-coder-mcp": {
"command": "node",
"args": [
"PATH_PLACEHOLDER"
],
"env": {
"NODE_ENV": "production",
"OPENROUTER_API_KEY": "KEY_PLACEHOLDER",
"OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1",
"GEMINI_MODEL": "google/gemini-pro",
"PERPLEXITY_MODEL": "perplexity/sonar-small-online"
},
"disabled": false,
"autoApprove": [
"research",
"generate-rules",
"generate-prd",
"generate-user-stories",
"generate-task-list",
"generate-fullstack-starter-kit",
"generate-code-stub",
"refactor-code",
"analyze-dependencies",
"git-summary",
"run-workflow"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect