
Vibe Coder
Vibe-Coder-MCP server extends AI assistants with specialized software development tools.
Installation
Installing for Claude Desktop
Manual Configuration Required
This MCP server requires manual configuration. Run the command below to open your configuration file:
npx mcpbar@latest edit -c claude
This will open your configuration file where you can add the Vibe Coder MCP server manually.
Vibe Coder MCP Server
Vibe Coder is an MCP (Model Context Protocol) server designed to supercharge your AI assistant (like Cursor, Cline AI, or Claude Desktop) with powerful tools for software development. It helps with research, planning, generating requirements, creating starter projects, and more!
Overview & Features
Vibe Coder MCP integrates with MCP-compatible clients to provide the following capabilities:
🚀 Core Architecture
- Quad Transport Support: stdio, SSE, WebSocket, and HTTP transport protocols for maximum client compatibility
- Semantic Request Routing: Intelligently routes requests using embedding-based semantic matching with sequential thinking fallbacks
- Tool Registry Architecture: Centralized tool management with self-registering tools
- Unified Communication Protocol: Agent coordination across all transport mechanisms
- Session State Management: Maintains context across requests within sessions
🧠 AI-Native Task Management
- Vibe Task Manager: Production-ready task management with 99.8% test success rate
- Natural Language Processing: 6 core intents with multi-strategy recognition (pattern matching + LLM fallback)
- Recursive Decomposition Design (RDD): Intelligent project breakdown into atomic tasks
- Agent Orchestration: Multi-agent coordination with capability mapping and load balancing
- Real Storage Integration: Zero mock code policy - all production integrations
🔍 Advanced Code Analysis
- Code Map Generator: 30+ programming language support with 95-97% token reduction optimization
- Enhanced Import Resolution: Third-party integration for accurate dependency mapping
- Memory Optimization: Sophisticated caching and resource management
- Security Boundaries: Separate read/write path validation for secure operations
📋 Research & Planning Suite
- Research Manager: Deep research using Perplexity Sonar via OpenRouter
- Document Generators: PRDs (
generate-prd
), user stories (generate-user-stories
), task lists (generate-task-list
), development rules (generate-rules
) - Project Scaffolding: Full-stack starter kits (
generate-fullstack-starter-kit
) with multiple tech stacks - Workflow Execution: Predefined sequences of tool calls defined in
workflows.json
⚡ Performance & Reliability
- Asynchronous Execution: Job-based processing with real-time status tracking
- Performance Optimized: <200ms response times, <400MB memory usage
- Comprehensive Testing: 99.8% test success rate across 2,093+ tests
- Production Ready: Zero mock implementations, real service integrations
- Standardized Error Handling: Consistent error patterns across all tools
(See "Detailed Tool Documentation" and "Feature Details" sections below for more)
Setup Guide
Follow these micro-steps to get the Vibe Coder MCP server running and connected to your AI assistant.
Step 1: Prerequisites
-
Check Node.js Version:
- Open a terminal or command prompt.
- Run
node -v
- Ensure the output shows v18.0.0 or higher (required).
- If not installed or outdated: Download from nodejs.org.
-
Check Git Installation:
- Open a terminal or command prompt.
- Run
git --version
- If not installed: Download from git-scm.com.
-
Get OpenRouter API Key:
- Visit openrouter.ai
- Create an account if you don't have one.
- Navigate to API Keys section.
- Create a new API key and copy it.
- Keep this key handy for Step 4.
Step 2: Get the Code
-
Create a Project Directory (optional):
- Open a terminal or command prompt.
- Navigate to where you want to store the project:
cd ~/Documents # Example: Change to your preferred location
-
Clone the Repository:
- Run:
(Or use your fork's URL if applicable)git clone https://github.com/freshtechbro/vibe-coder-mcp.git
- Run:
-
Navigate to Project Directory:
- Run:
cd vibe-coder-mcp
- Run:
Step 3: Run the Setup Script
Choose the appropriate script for your operating system:
For Windows:
- In your terminal (still in the vibe-coder-mcp directory), run:
setup.bat
- Wait for the script to complete (it will install dependencies, build the project, and create necessary directories).
- If you see any error messages, refer to the Troubleshooting section below.
For macOS or Linux:
- Make the script executable:
chmod +x setup.sh
- Run the script:
./setup.sh
- Wait for the script to complete.
- If you see any error messages, refer to the Troubleshooting section below.
The script performs these actions:
- Checks Node.js version (v18+)
- Installs all dependencies via npm
- Creates necessary
VibeCoderOutput/
subdirectories (as defined in the script). - Builds the TypeScript project.
- Copies
.env.example
to.env
if.env
doesn't already exist. You will need to edit this file. - Sets executable permissions (on Unix systems).
Step 4: Configure Environment Variables (.env
)
The setup script (from Step 3) automatically creates a .env
file in the project's root directory by copying the .env.example
template, only if .env
does not already exist.
-
Locate and Open
.env
: Find the.env
file in the mainvibe-coder-mcp
directory and open it with a text editor. -
Add Your OpenRouter API Key (Required):
- The file contains a template based on
.env.example
:# OpenRouter Configuration ## Specifies your unique API key for accessing OpenRouter services. ## Replace "Your OPENROUTER_API_KEY here" with your actual key obtained from OpenRouter.ai. OPENROUTER_API_KEY="Your OPENROUTER_API_KEY here" ## Defines the base URL for the OpenRouter API endpoints. ## The default value is usually correct and should not need changing unless instructed otherwise. OPENROUTER_BASE_URL=https://openrouter.ai/api/v1 ## Sets the specific Gemini model to be used via OpenRouter for certain AI tasks. ## ':free' indicates potential usage of a free tier model if available and supported by your key. GEMINI_MODEL=google/gemini-2.0-flash-thinking-exp:free
- Crucially, replace
"Your OPENROUTER_API_KEY here"
with your actual OpenRouter API key. Remove the quotes if your key doesn't require them.
- The file contains a template based on
-
Configure Output Directory (Optional):
- To change where generated files are saved (default is
VibeCoderOutput/
inside the project), add this line to your.env
file:VIBE_CODER_OUTPUT_DIR=/path/to/your/desired/output/directory
- Replace the path with your preferred absolute path. Use forward slashes (
/
) for paths. If this variable is not set, the default directory (VibeCoderOutput/
) will be used.
- To change where generated files are saved (default is
-
Configure Code-Map Generator Directory (Optional):
- To specify which directory the code-map-generator tool is allowed to scan, add this line to your
.env
file:CODE_MAP_ALLOWED_DIR=/path/to/your/source/code/directory
- Replace the path with the absolute path to the directory containing the source code you want to analyze. This is a security boundary - the tool will not access files outside this directory.
- To specify which directory the code-map-generator tool is allowed to scan, add this line to your
-
Configure Vibe Task Manager Read Directory (Optional):
- To specify which directory the Vibe Task Manager is allowed to read from for security purposes, add this line to your
.env
file:VIBE_TASK_MANAGER_READ_DIR=/path/to/your/project/source/directory
- Replace the path with the absolute path to the directory containing your project files that the task manager should have access to.
- Default Value: If not specified, defaults to
process.cwd()
(the current working directory where the server is running). - Security: This variable works with the filesystem security implementation that defaults to 'strict' mode, preventing access to system directories and unauthorized paths.
- Note:
VIBE_TASK_MANAGER_READ_DIR
(for task manager file operations),CODE_MAP_ALLOWED_DIR
(for code analysis), andVIBE_CODER_OUTPUT_DIR
(for writing output files) are separate security boundaries for different tool operations.
- To specify which directory the Vibe Task Manager is allowed to read from for security purposes, add this line to your
-
Review Other Settings (Optional):
- You can add other environment variables supported by the server, such as
LOG_LEVEL
(e.g.,LOG_LEVEL=debug
) orNODE_ENV
(e.g.,NODE_ENV=development
).
- You can add other environment variables supported by the server, such as
-
Save the
.env
File.
Step 5: Integrate with Your AI Assistant (MCP Settings)
This crucial step connects Vibe Coder to your AI assistant by adding its configuration to the client's MCP settings file.
5.1: Locate Your Client's MCP Settings File
The location varies depending on your AI assistant:
-
Cursor AI / Windsurf / RooCode (VS Code based):
- Open the application.
- Open the Command Palette (
Ctrl+Shift+P
orCmd+Shift+P
). - Type and select
Preferences: Open User Settings (JSON)
. - This opens your
settings.json
file where themcpServers
object should reside.
-
Cline AI (VS Code Extension):
- Windows:
%APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
- macOS:
~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Linux:
~/.config/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- (Note: If using standard VS Code instead of Cursor, replace
Cursor
withCode
in the path)
- Windows:
-
Claude Desktop:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
- Windows:
5.2: Add the Vibe Coder Configuration
-
Open the settings file identified above in a text editor.
-
Find the
"mcpServers": { ... }
JSON object. If it doesn't exist, you may need to create it (ensure the overall file remains valid JSON). For example, an empty file might become{"mcpServers": {}}
. -
Add the following configuration block inside the curly braces
{}
of themcpServers
object. If other servers are already listed, add a comma,
after the previous server's closing brace}
before pasting this block.// This is the unique identifier for this MCP server instance within your client's settings "vibe-coder-mcp": { // Specifies the command used to execute the server. Should be 'node' if Node.js is in your system's PATH "command": "node", // Provides the arguments to the 'command'. The primary argument is the absolute path to the compiled server entry point // !! IMPORTANT: Replace with the actual absolute path on YOUR system. Use forward slashes (/) even on Windows !! "args": ["/Users/username/Documents/Dev Projects/Vibe-Coder-MCP/build/index.js"], // Sets the current working directory for the server process when it runs // !! IMPORTANT: Replace with the actual absolute path on YOUR system. Use forward slashes (/) even on Windows !! "cwd": "/Users/username/Documents/Dev Projects/Vibe-Coder-MCP", // Defines the communication transport protocol between the client and server "transport": "stdio", // Environment variables to be passed specifically to the Vibe Coder server process when it starts // API Keys should be in the .env file, NOT here "env": { // Absolute path to the LLM configuration file used by Vibe Coder // !! IMPORTANT: Replace with the actual absolute path on YOUR system !! "LLM_CONFIG_PATH": "/Users/username/Documents/Dev Projects/Vibe-Coder-MCP/llm_config.json", // Sets the logging level for the server "LOG_LEVEL": "debug", // Specifies the runtime environment "NODE_ENV": "production", // Directory where Vibe Coder tools will save their output files // !! IMPORTANT: Replace with the actual absolute path on YOUR system !! "VIBE_CODER_OUTPUT_DIR": "/Users/username/Documents/Dev Projects/Vibe-Coder-MCP/VibeCoderOutput", // Directory that the code-map-generator tool is allowed to scan // This is a security boundary - the tool will not access files outside this directory "CODE_MAP_ALLOWED_DIR": "/Users/username/Documents/Dev Projects/Vibe-Coder-MCP/src", // Directory that the Vibe Task Manager is allowed to read from for security purposes // Defaults to process.cwd() if not specified. Works with strict security mode by default. "VIBE_TASK_MANAGER_READ_DIR": "/Users/username/Documents/Dev Projects/Vibe-Coder-MCP" }, // A boolean flag to enable (false) or disable (true) this server configuration "disabled": false, // A list of tool names that the MCP client is allowed to execute automatically "autoApprove": [ "research", "generate-rules", "generate-user-stories", "generate-task-list", "generate-prd", "generate-fullstack-starter-kit", "refactor-code", "git-summary", "run-workflow", "map-codebase" ] }
-
CRUCIAL: Replace all placeholder paths (like
/path/to/your/vibe-coder-mcp/...
) with the correct absolute paths on your system where you cloned the repository. Use forward slashes/
for paths, even on Windows (e.g.,C:/Users/YourName/Projects/vibe-coder-mcp/build/index.js
). Incorrect paths are the most common reason the server fails to connect. -
Save the settings file.
-
Completely close and restart your AI assistant application (Cursor, VS Code, Claude Desktop, etc.) for the changes to take effect.
Step 6: Test Your Configuration
-
Start Your AI Assistant:
- Completely restart your AI assistant application.
-
Test a Simple Command:
- Type a test command like:
Research modern JavaScript frameworks
- Type a test command like:
-
Check for Proper Response:
- If working correctly, you should receive a research response.
- If not, check the Troubleshooting section below.
Project Architecture
The Vibe Coder MCP server follows a modular, TypeScript ESM architecture with dual transport support and comprehensive tool ecosystem:
flowchart TD
subgraph "Core Architecture"
Init[index.ts] --> Config[Configuration Loader]
Config --> Transport{Transport Type}
Transport --> |stdio| StdioTransport[Stdio Transport]
Transport --> |sse| SSETransport[SSE Transport]
StdioTransport --> Server[MCP Server]
SSETransport --> Server
Server --> ToolReg[Tool Registry]
ToolReg --> InitEmbed[Initialize Embeddings]
InitEmbed --> Ready[Server Ready]
end
subgraph "Request Processing"
Req[Client Request] --> SessionMgr[Session Manager]
SessionMgr --> Router[Hybrid Router]
Router --> Semantic[Semantic Matcher]
Router --> Sequential[Sequential Thinking]
Semantic --> |High Confidence| Execute[Tool Execution]
Sequential --> |Fallback| Execute
Execute --> JobMgr[Job Manager]
JobMgr --> Response[Response to Client]
end
subgraph "Tool Ecosystem"
Execute --> Research[Research Manager]
Execute --> TaskMgr[Vibe Task Manager]
Execute --> CodeMap[Code Map Generator]
Execute --> FullStack[Fullstack Generator]
Execute --> PRDGen[PRD Generator]
Execute --> UserStories[User Stories Generator]
Execute --> TaskList[Task List Generator]
Execute --> Rules[Rules Generator]
Execute --> Workflow[Workflow Runner]
end
subgraph "Support Services"
JobMgr --> AsyncJobs[Async Job Processing]
Execute --> FileOps[File Operations]
Execute --> LLMHelper[LLM Integration]
Execute --> ErrorHandler[Error Handling]
Execute --> StateManager[Session State]
end
subgraph "Configuration & Security"
Config --> LLMConfig[LLM Config Mapping]
Config --> MCPConfig[MCP Tool Config]
Config --> EnvVars[Environment Variables]
FileOps --> SecurityBoundary[Security Boundaries]
SecurityBoundary --> ReadOps[Read Operations]
SecurityBoundary --> WriteOps[Write Operations]
end
Directory Structure
vibe-coder-mcp/
├── .env # Environment configuration
├── .env.example # Environment template
├── llm_config.json # LLM model mappings
├── mcp-config.json # MCP tool configurations
├── package.json # Project dependencies
├── README.md # This documentation
├── VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md # System prompt documentation
├── setup.bat # Windows setup script
├── setup.sh # macOS/Linux setup script
├── tsconfig.json # TypeScript configuration
├── vitest.config.ts # Vitest (testing) configuration
├── workflows.json # Workflow definitions
├── build/ # Compiled JavaScript (after build)
├── docs/ # Additional documentation
│ ├── code-map-generator/ # Code Map Generator docs
│ ├── handover/ # Development handover docs
│ └── *.md # Various documentation files
├── VibeCoderOutput/ # Tool output directory
│ ├── research-manager/ # Research reports
│ ├── rules-generator/ # Development rules
│ ├── prd-generator/ # Product requirements
│ ├── user-stories-generator/ # User stories
│ ├── task-list-generator/ # Task lists
│ ├── fullstack-starter-kit-generator/ # Project templates
│ ├── code-map-generator/ # Code maps and diagrams
│ ├── vibe-task-manager/ # Task management data
│ └── workflow-runner/ # Workflow outputs
└── src/ # Source code
├── index.ts # Entry point
├── logger.ts # Logging configuration (Pino)
├── server.ts # MCP server setup
├── services/ # Core services
│ ├── routing/ # Semantic routing system
│ │ ├── embeddingStore.ts # Embedding management
│ │ ├── hybridMatcher.ts # Hybrid routing logic
│ │ └── toolRegistry.ts # Tool registry
│ ├── sse-notifier/ # SSE notification system
│ ├── JobManager.ts # Async job management
│ └── ToolService.ts # Tool execution service
├── tools/ # MCP Tools
│ ├── index.ts # Tool registration
│ ├── sequential-thinking.ts # Fallback routing
│ ├── code-map-generator/ # Code analysis tool
│ │ ├── cache/ # Memory management
│ │ ├── grammars/ # Tree-sitter grammars
│ │ ├── importResolvers/ # Import resolution adapters
│ │ └── *.ts # Core implementation
│ ├── fullstack-starter-kit-generator/ # Project scaffolding
│ ├── prd-generator/ # PRD creation
│ ├── research-manager/ # Research tool
│ ├── rules-generator/ # Rule generation
│ ├── task-list-generator/ # Task list generation
│ ├── user-stories-generator/ # User story generation
│ ├── vibe-task-manager/ # AI-native task management
│ │ ├── __tests__/ # Comprehensive test suite
│ │ ├── cli/ # Command-line interface
│ │ ├── core/ # Core algorithms
│ │ ├── integrations/ # Tool integrations
│ │ ├── prompts/ # LLM prompts (YAML)
│ │ ├── services/ # Business logic services
│ │ ├── types/ # TypeScript definitions
│ │ └── utils/ # Utility functions
│ └── workflow-runner/ # Workflow execution engine
├── types/ # TypeScript type definitions
└── utils/ # Shared utilities
├── configLoader.ts # Configuration management
├── errors.ts # Error handling
└── llmHelper.ts # LLM integration helpers
Semantic Routing System
Vibe Coder uses a sophisticated routing approach to select the right tool for each request:
flowchart TD
Start[Client Request] --> Process[Process Request]
Process --> Hybrid[Hybrid Matcher]
subgraph "Primary: Semantic Routing"
Hybrid --> Semantic[Semantic Matcher]
Semantic --> Embeddings[Query Embeddings]
Embeddings --> Tools[Tool Embeddings]
Tools --> Compare[Compare via Cosine Similarity]
Compare --> Score[Score & Rank Tools]
Score --> Confidence{High Confidence?}
end
Confidence -->|Yes| Registry[Tool Registry]
subgraph "Fallback: Sequential Thinking"
Confidence -->|No| Sequential[Sequential Thinking]
Sequential --> LLM[LLM Analysis]
LLM --> ThoughtChain[Thought Chain]
ThoughtChain --> Extraction[Extract Tool Name]
Extraction --> Registry
end
Registry --> Executor[Execute Tool]
Executor --> Response[Return Response]
Tool Registry Pattern
The Tool Registry is a central component for managing tool definitions and execution:
flowchart TD
subgraph "Tool Registration (at import)"
Import[Import Tool] --> Register[Call registerTool]
Register --> Store[Store in Registry Map]
end
subgraph "Tool Definition"
Def[ToolDefinition] --> Name[Tool Name]
Def --> Desc[Description]
Def --> Schema[Zod Schema]
Def --> Exec[Executor Function]
end
subgraph "Server Initialization"
Init[server.ts] --> Import
Init --> GetAll[getAllTools]
GetAll --> Loop[Loop Through Tools]
Loop --> McpReg[Register with MCP Server]
end
subgraph "Tool Execution"
McpReg --> ExecTool[executeTool Function]
ExecTool --> GetTool[Get Tool from Registry]
GetTool --> Validate[Validate Input]
Validate -->|Valid| ExecFunc[Run Executor Function]
Validate -->|Invalid| ValidErr[Return Validation Error]
ExecFunc -->|Success| SuccessResp[Return Success Response]
ExecFunc -->|Error| HandleErr[Catch & Format Error]
HandleErr --> ErrResp[Return Error Response]
end
Sequential Thinking Process
The Sequential Thinking mechanism provides LLM-based fallback routing:
flowchart TD
Start[Start] --> Estimate[Estimate Number of Steps]
Estimate --> Init[Initialize with System Prompt]
Init --> First[Generate First Thought]
First --> Context[Add to Context]
Context --> Loop{Needs More Thoughts?}
Loop -->|Yes| Next[Generate Next Thought]
Next -->|Standard| AddStd[Add to Context]
Next -->|Revision| Rev[Mark as Revision]
Next -->|New Branch| Branch[Mark as Branch]
Rev --> AddRev[Add to Context]
Branch --> AddBranch[Add to Context]
AddStd --> Loop
AddRev --> Loop
AddBranch --> Loop
Loop -->|No| Extract[Extract Final Solution]
Extract --> End[End With Tool Selection]
subgraph "Error Handling"
Next -->|Error| Retry[Retry with Simplified Request]
Retry -->|Success| AddRetry[Add to Context]
Retry -->|Failure| FallbackEx[Extract Partial Solution]
AddRetry --> Loop
FallbackEx --> End
end
Session State Management
flowchart TD
Start[Client Request] --> SessionID[Extract Session ID]
SessionID --> Store{State Exists?}
Store -->|Yes| Retrieve[Retrieve Previous State]
Store -->|No| Create[Create New State]
Retrieve --> Context[Add Context to Tool]
Create --> NoContext[Execute Without Context]
Context --> Execute[Execute Tool]
NoContext --> Execute
Execute --> SaveState[Update Session State]
SaveState --> Response[Return Response to Client]
subgraph "Session State Structure"
State[SessionState] --> PrevCall[Previous Tool Call]
State --> PrevResp[Previous Response]
State --> Timestamp[Timestamp]
end
Workflow Execution Engine
The Workflow system enables multi-step sequences:
flowchart TD
Start[Client Request] --> Parse[Parse Workflow Request]
Parse --> FindFlow[Find Workflow in workflows.json]
FindFlow --> Steps[Extract Steps]
Steps --> Loop[Process Each Step]
Loop --> PrepInput[Prepare Step Input]
PrepInput --> ExecuteTool[Execute Tool via Registry]
ExecuteTool --> SaveOutput[Save Step Output]
SaveOutput --> NextStep{More Steps?}
NextStep -->|Yes| MapOutput[Map Output to Next Input]
MapOutput --> Loop
NextStep -->|No| FinalOutput[Prepare Final Output]
FinalOutput --> End[Return Workflow Result]
subgraph "Input/Output Mapping"
MapOutput --> Direct[Direct Value]
MapOutput --> Extract[Extract From Previous]
MapOutput --> Transform[Transform Values]
end
Workflow Configuration
Workflows are defined in the workflows.json
file located in the root directory of the project. This file contains predefined sequences of tool calls that can be executed with a single command.
File Location and Structure
- The
workflows.json
file must be placed in the project root directory (same level as package.json) - The file follows this structure:
{ "workflows": { "workflowName1": { "description": "Description of what this workflow does", "inputSchema": { "param1": "string", "param2": "string" }, "steps": [ { "id": "step1_id", "toolName": "tool-name", "params": { "param1": "{workflow.input.param1}" } }, { "id": "step2_id", "toolName": "another-tool", "params": { "paramA": "{workflow.input.param2}", "paramB": "{steps.step1_id.output.content[0].text}" } } ], "output": { "summary": "Workflow completed message", "details": ["Output line 1", "Output line 2"] } } } }
Parameter Templates
Workflow step parameters support template strings that can reference:
- Workflow inputs:
{workflow.input.paramName}
- Previous step outputs:
{steps.stepId.output.content[0].text}
Triggering Workflows
Use the run-workflow
tool with:
Run the newProjectSetup workflow with input {"productDescription": "A task manager app"}
Detailed Tool Documentation
Each tool in the src/tools/
directory includes comprehensive documentation in its own README.md file. These files cover:
- Tool overview and purpose
- Input/output specifications
- Workflow diagrams (Mermaid)
- Usage examples
- System prompts used
- Error handling details
Refer to these individual READMEs for in-depth information:
src/tools/fullstack-starter-kit-generator/README.md
src/tools/prd-generator/README.md
src/tools/research-manager/README.md
src/tools/rules-generator/README.md
src/tools/task-list-generator/README.md
src/tools/user-stories-generator/README.md
src/tools/workflow-runner/README.md
src/tools/code-map-generator/README.md
Tool Categories
Analysis & Information Tools
- Code Map Generator (
map-codebase
): Scans a codebase to extract semantic information (classes, functions, comments) and generates either a human-readable Markdown map with Mermaid diagrams or a structured JSON representation with absolute file paths for imports and enhanced class property information. - Research Manager (
research-manager
): Performs deep research on technical topics using Perplexity Sonar, providing summaries and sources.
Planning & Documentation Tools
- Rules Generator (
generate-rules
): Creates project-specific development rules and guidelines. - PRD Generator (
generate-prd
): Generates comprehensive product requirements documents. - User Stories Generator (
generate-user-stories
): Creates detailed user stories with acceptance criteria. - Task List Generator (
generate-task-list
): Builds structured development task lists with dependencies.
Project Scaffolding Tool
- Fullstack Starter Kit Generator (
generate-fullstack-starter-kit
): Creates customized project starter kits with specified frontend/backend technologies, including basic setup scripts and configuration.
Workflow & Orchestration
- Workflow Runner (
run-workflow
): Executes predefined sequences of tool calls for common development tasks.
Generated File Storage
By default, outputs from the generator tools are stored for historical reference in the VibeCoderOutput/
directory within the project. This location can be overridden by setting the VIBE_CODER_OUTPUT_DIR
environment variable in your .env
file or AI assistant configuration.
Security Boundaries for Read and Write Operations
For security reasons, the Vibe Coder MCP tools maintain separate security boundaries for read and write operations with a security-by-default approach:
-
Read Operations:
- Code Map Generator: Only reads from directories explicitly authorized through the
CODE_MAP_ALLOWED_DIR
environment variable - Vibe Task Manager: Only reads from directories authorized through the
VIBE_TASK_MANAGER_READ_DIR
environment variable (defaults toprocess.cwd()
) - Security Mode: The Vibe Task Manager defaults to 'strict' security mode, which prevents access to system directories like
/private/var/spool/postfix/
,/System/
, and other unauthorized paths - Filesystem Security: Comprehensive blacklist enforcement and permission checking prevent EACCES errors and unauthorized file access
- Code Map Generator: Only reads from directories explicitly authorized through the
-
Write Operations: All output files are written to the
VIBE_CODER_OUTPUT_DIR
directory (or its subdirectories). This separation ensures that tools can only write to designated output locations, protecting your source code from accidental modifications. -
Security Implementation: The filesystem security system includes:
- Adaptive Timeout Management: Prevents operations from hanging indefinitely with intelligent retry and cancellation
- Path Validation: Comprehensive validation of all file paths before access
- Permission Checking: Proactive permission verification to prevent access errors
- System Directory Protection: Built-in blacklist of system directories that should never be accessed
Example structure (default location):
VibeCoderOutput/
├── research-manager/ # Research reports
│ └── TIMESTAMP-QUERY-research.md
├── rules-generator/ # Development rules
│ └── TIMESTAMP-PROJECT-rules.md
├── prd-generator/ # PRDs
│ └── TIMESTAMP-PROJECT-prd.md
├── user-stories-generator/ # User stories
│ └── TIMESTAMP-PROJECT-user-stories.md
├── task-list-generator/ # Task lists
│ └── TIMESTAMP-PROJECT-task-list.md
├── fullstack-starter-kit-generator/ # Project templates
│ └── TIMESTAMP-PROJECT/
├── code-map-generator/ # Code maps and diagrams
│ └── TIMESTAMP-code-map/
└── workflow-runner/ # Workflow outputs
└── TIMESTAMP-WORKFLOW/
System Instructions for MCP Clients
For optimal performance with AI assistants and MCP clients, use the comprehensive system instructions provided in VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
. This document contains detailed guidance for:
- Tool-specific usage patterns and best practices
- Natural language command structures
- Asynchronous job polling guidelines
- Integration workflows and examples
- Error handling and troubleshooting
How to Use System Instructions
For Claude Desktop:
- Open Claude Desktop settings
- Navigate to "Custom Instructions" or "System Prompt"
- Copy the entire content from
VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
- Paste into the custom instructions field
- Save settings
For Augment:
- Access Augment settings/preferences
- Find "Custom Instructions" or "System Configuration"
- Copy and paste the system instructions
- Apply changes
For Claude Code/Windsurf/Other MCP Clients:
- Locate the custom instructions or system prompt configuration
- Copy the content from
VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
- Paste into the appropriate field
- Save/apply the configuration
Benefits of Using System Instructions:
- 98%+ tool operation success rate
- Optimal natural language command recognition
- Proper asynchronous job handling
- Efficient workflow orchestration
- Reduced errors and improved troubleshooting
Usage Examples
Interact with the tools via your connected AI assistant:
- Research:
Research modern JavaScript frameworks
- Generate Rules:
Create development rules for a mobile banking application
- Generate PRD:
Generate a PRD for a task management application
- Generate User Stories:
Generate user stories for an e-commerce website
- Generate Task List:
Create a task list for a weather app based on [user stories]
- Sequential Thinking:
Think through the architecture for a microservices-based e-commerce platform
- Fullstack Starter Kit:
Create a starter kit for a React/Node.js blog application with user authentication
- Run Workflow:
Run workflow newProjectSetup with input { "projectName": "my-new-app", "description": "A simple task manager" }
- Map Codebase:
Generate a code map for the current project
,map-codebase path="./src"
, orGenerate a JSON representation of the codebase structure with output_format="json"
- Vibe Task Manager:
Create a new project for building a todo app
,List all my projects
,Run task authentication-setup
,What's the status of my React project?
Vibe Task Manager - AI-Native Task Management
The Vibe Task Manager is a comprehensive task management system designed specifically for AI agents and development workflows. It provides intelligent project decomposition, natural language command processing, and seamless integration with other Vibe Coder tools.
Key Features
- Natural Language Processing: Understands commands like "Create a project for building a React app" or "Show me all pending tasks"
- Recursive Decomposition Design (RDD): Automatically breaks down complex projects into atomic, executable tasks
- Agent Orchestration: Coordinates multiple AI agents for parallel task execution
- Integration Ready: Works seamlessly with Code Map Generator, Research Manager, and other tools
- File Storage: All project data stored in
VibeCoderOutput/vibe-task-manager/
following established conventions
Quick Start Examples
# Project Management
"Create a new project for building a todo app with React and Node.js"
"List all my projects"
"Show me the status of my web app project"
# Task Management
"Create a high priority task for implementing user authentication"
"List all pending tasks for the todo-app project"
"Run the database setup task"
# Project Analysis
"Decompose my React project into development tasks"
"Refine the authentication task to include OAuth support"
"What's the current progress on my mobile app?"
Command Structure
The Vibe Task Manager supports both structured commands and natural language:
Structured Commands:
vibe-task-manager create project "Name" "Description" --options
vibe-task-manager list projects --status pending
vibe-task-manager run task task-id --force
vibe-task-manager status project-id --detailed
Natural Language (Recommended):
- "Create a project for [description]"
- "Show me all [status] projects"
- "Run the [task name] task"
- "What's the status of [project]?"
For complete documentation, see src/tools/vibe-task-manager/README.md
and the system instructions in VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
.
Implementation Status & Performance Metrics
Current Epic Status
The Vibe Coder MCP project follows an epic-based development approach with comprehensive tracking:
gantt
title Vibe Coder MCP Development Progress
dateFormat YYYY-MM-DD
section Core Infrastructure
Tool Registry & Routing :done, epic1, 2024-01-01, 2024-02-15
MCP Server Implementation :done, epic2, 2024-01-15, 2024-03-01
Async Job Management :done, epic3, 2024-02-15, 2024-03-15
section Tool Development
Research & Planning Tools :done, epic4, 2024-02-01, 2024-04-01
Code Map Generator :done, epic5, 2024-03-01, 2024-05-15
Vibe Task Manager Core :done, epic6, 2024-04-01, 2024-06-15
section Advanced Features
Performance Optimization :active, epic7, 2024-06-01, 2024-07-15
Security Implementation :epic8, 2024-07-01, 2024-08-15
Analytics & Monitoring :epic9, 2024-07-15, 2024-09-01
Epic Completion Summary
- Epic 1-5: ✅ Complete (100% - Core infrastructure and basic tools)
- Epic 6.1: ✅ Complete (98.3% test success rate - Deep MCP Tool Integration)
- Epic 6.2: 🔄 In Progress (Performance Optimization - 75% complete)
- Epic 7.1: 📋 Planned (Security Implementation - Ready for implementation)
- Epic 8: 📋 Planned (Advanced Analytics & Monitoring - Designed)
Performance Targets & Current Metrics
Metric | Target | Current | Status |
---|---|---|---|
Test Success Rate | 98%+ | 99.8% | ✅ Exceeded |
Response Time (Task Operations) | <200ms | <150ms | ✅ Exceeded |
Response Time (Sync Operations) | <500ms | <350ms | ✅ Exceeded |
Job Completion Rate | 95%+ | 96.7% | ✅ Met |
Memory Usage (Code Map Generator) | <512MB | <400MB | ✅ Optimized |
Test Coverage | >90% | 99.8% | ✅ Exceeded |
Security Overhead | <50ms | <35ms | ✅ Optimized |
Zero Mock Code Policy | 100% | 100% | ✅ Achieved |
Tool-Specific Status
Vibe Task Manager
- Status: Production Ready
- Test Coverage: 95.8%
- Features: RDD methodology, agent orchestration, natural language processing
- Performance: <50ms response time for task operations
Code Map Generator
- Status: Production Ready with Advanced Features
- Memory Optimization: 95-97% token reduction achieved
- Language Support: 30+ programming languages
- Import Resolution: Enhanced with adapter-based architecture
Research Manager
- Status: Production Ready
- Integration: Perplexity Sonar API
- Performance: <2s average research query response
Other Tools
- Fullstack Generator: Production Ready
- PRD/User Stories/Task List Generators: Production Ready
- Workflow Runner: Production Ready
Running Locally (Optional)
While the primary use is integration with an AI assistant (using stdio), you can run the server directly for testing:
Running Modes
-
Production Mode (Stdio):
npm start
- Logs go to stderr (mimics AI assistant launch)
- Use NODE_ENV=production
-
Development Mode (Stdio, Pretty Logs):
npm run dev
- Logs go to stdout with pretty formatting
- Requires
nodemon
andpino-pretty
- Use NODE_ENV=development
-
SSE Mode (HTTP Interface):
# Production mode over HTTP npm run start:sse # Development mode over HTTP npm run dev:sse
- Uses HTTP instead of stdio
- Configured via PORT in .env (default: 3000)
- Access at http://localhost:3000
Detailed Troubleshooting
Connection Issues
MCP Server Not Detected in AI Assistant
-
Check Configuration Path:
- Verify the absolute path in the
args
array is correct - Ensure all slashes are forward slashes
/
even on Windows - Run
node <path-to-build/index.js>
directly to test if Node can find it
- Verify the absolute path in the
-
Check Configuration Format:
- Make sure JSON is valid without syntax errors
- Check that commas between properties are correct
- Verify that the
mcpServers
object contains your server
-
Restart the Assistant:
- Completely close (not just minimize) the application
- Reopen and try again
Server Starts But Tools Don't Work
-
Check Disabled Flag:
- Ensure
"disabled": false
is set - Remove any
//
comments as JSON doesn't support them
- Ensure
-
Verify autoApprove Array:
- Check that tool names in the
autoApprove
array match exactly - Try adding
"process-request"
to the array if using hybrid routing
- Check that tool names in the
API Key Issues
-
OpenRouter Key Problems:
- Double-check that the key is correctly copied
- Verify the key is active in your OpenRouter dashboard
- Check if you have sufficient credits
-
Environment Variable Issues:
- Verify the key is correct in both:
- The
.env
file (for local runs) - Your AI assistant's configuration env block
- The
- Verify the key is correct in both:
Path & Permission Issues
-
Build Directory Not Found:
- Run
npm run build
to ensure the build directory exists - Check if build output is going to a different directory (check tsconfig.json)
- Run
-
File Permission Errors:
- Ensure your user has write access to the workflow-agent-files directory
- On Unix systems, check if build/index.js has execute permission
Log Debugging
-
For Local Runs:
- Check the console output for error messages
- Try running with
LOG_LEVEL=debug
in your.env
file
-
For AI Assistant Runs:
- Set
"NODE_ENV": "production"
in the env configuration - Check if the assistant has a logging console or output window
- Set
Tool-Specific Issues
- Semantic Routing Not Working:
- First run may download embedding model - check for download messages
- Try a more explicit request that mentions the tool name
Documentation
Core Documentation
- System Instructions:
VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
- Complete usage guide for MCP clients - Performance & Testing:
docs/PERFORMANCE_AND_TESTING.md
- Performance metrics, testing strategies, and quality assurance - Vibe Task Manager:
src/tools/vibe-task-manager/README.md
- Comprehensive task management documentation - Code Map Generator:
docs/code-map-generator/
- Advanced codebase analysis documentation
Tool Documentation
- Individual Tool READMEs: Each tool directory contains detailed documentation
- Configuration Guides: Environment setup and configuration management
- API Reference: Tool schemas and parameters documented in system instructions
- Integration Examples: Practical workflows and usage patterns
Architecture Documentation
- System Architecture: Mermaid diagrams in README and system instructions
- Tool Architecture: Individual tool architecture diagrams
- Performance Metrics: Current status and optimization strategies
- Development Guidelines: Contributing and development best practices
Contributing
We welcome contributions! Please see our contributing guidelines and ensure all tests pass before submitting pull requests.
Development Workflow
- Fork the repository
- Create a feature branch
- Make your changes with comprehensive tests
- Ensure all tests pass (
npm test
) - Submit a pull request with detailed description
Quality Standards
- Test Coverage: Maintain >90% test coverage
- TypeScript: Use strict TypeScript with proper typing
- Documentation: Update relevant documentation for changes
- Performance: Consider performance impact of changes
License
This project is licensed under the MIT License - see the LICENSE file for details.
Stars
31Forks
8Last commit
19 days agoRepository age
3 monthsLicense
MIT
Auto-fetched from GitHub .
MCP servers similar to Vibe Coder:

Stars
Forks
Last commit

Stars
Forks
Last commit

Stars
Forks
Last commit