Labsco
freshtechbro logo

Vibe Coder

98

from freshtechbro

An advanced MCP server for semantic routing, code generation, workflows, and AI-assisted development.

🔥🔥🔥✓ VerifiedAccount requiredAdvanced setup

Vibe Coder MCP Server

npm downloads npm total downloads

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!

🆕 What's New in Version 0.3.5

🎉 Latest Release - Enhanced CLI, REPL, and Parameter Extraction

Major Improvements:

  • ✨ Complete Hybrid Matcher Overhaul: All 15 MCP tools now have comprehensive parameter extraction
  • 🚀 CLI/REPL Experience: Interactive confirmations, job status polling with visual progress
  • 🔧 Fixed Critical Bugs: Task-list-generator auto-generates user stories, multi-turn conversations work flawlessly
  • 📊 Better Tool Matching: Multi-strategy approach (keyword 35%, pattern 30%, semantic 15%, LLM 20%)
  • ⚡ TypeScript Strict Mode: Zero any types, all explicit typing, production-grade code quality

User Experience Enhancements:

  • Low-confidence matches now prompt for user confirmation
  • Visual progress indicators for long-running jobs
  • Cleaner output with JSON log filtering in interactive mode
  • Session persistence across commands
  • Enhanced error messages and validation feedback

Previous Notable Releases

Version 0.3.1 - Global Installation & Synchronization

  • Fixed global/local version synchronization issues
  • Enhanced clean build process for installations
  • Improved packaging workflow for NPM publication

Version 0.2.8 - CLI Interactive Mode

  • Fixed configuration persistence in interactive mode
  • Enhanced project root detection for CLI users
  • Improved context-aware configuration

Version 0.2.3 - Interactive REPL & Setup Wizard

  • Interactive REPL Mode with chat-style interface and session persistence
  • Enhanced Setup Wizard with automatic first-run detection
  • Configuration Templates in src/config-templates/
  • Performance Improvements with optimized memory usage
  • Unified CLI Binary - single vibe command for all operations

🎯 MCP Client Integration (Claude Desktop, Cursor, Cline AI)

Quick Integration Guide

Vibe-Coder MCP integrates seamlessly with any MCP-compatible client. Here's how to configure it:

In your MCP client's server configuration dialog:

  • Server Name: vibe-coder-mcp
  • Command/URL: npx
  • Arguments: vibe-coder-mcp
  • Environment Variables:
    • OPENROUTER_API_KEY: Your OpenRouter API key (required)
    • VIBE_PROJECT_ROOT: /path/to/your/project (required)
    • LOG_LEVEL: info (optional)
    • NODE_ENV: production (optional)

Option 2: Global Installation

# First install globally
npm install -g vibe-coder-mcp

Then configure:

  • Command/URL: vibe
  • Arguments: (leave empty)
  • Environment Variables: Same as Option 1

Option 3: Node with Full Path

  • Command/URL: node
  • Arguments: /path/to/node_modules/vibe-coder-mcp/build/index.js
  • Environment Variables: Same as Option 1

Claude Desktop Specific Configuration

For Claude Desktop users, add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "vibe-coder-mcp": {
      "command": "npx",
      "args": ["vibe-coder-mcp"],
      "env": {
        "OPENROUTER_API_KEY": "your-openrouter-api-key",
        "VIBE_PROJECT_ROOT": "/path/to/your/project",
        "LOG_LEVEL": "info",
        "NODE_ENV": "production"
      }
    }
  }
}

See example_claude_desktop_config.json for a complete example.

Available Tools After Integration

Once configured, your MCP client will have access to:

  • vibe-task-manager: AI-native task management with RDD methodology
  • research-manager: Deep research using Perplexity integration
  • map-codebase: Advanced codebase analysis (35+ languages)
  • curate-context: Intelligent context curation for AI development
  • generate-prd: Product requirements document generator
  • generate-user-stories: User story generator
  • generate-task-list: Task list generator
  • generate-fullstack-starter-kit: Project scaffolding tool
  • run-workflow: Multi-step workflow execution

Testing Your Integration

After configuration, test by asking your AI assistant:

  • "Use vibe to research React best practices"
  • "Map the codebase for this project"
  • "Generate a PRD for a task management app"

🔄 Migration Guide (v0.2.3)

Breaking Changes

None! Version 0.2.3 is fully backward compatible. All existing configurations and workflows continue to work.

Technical Improvements

  • Unified CLI architecture with single entry point
  • Better error handling and recovery
  • Improved resource cleanup
  • Enhanced type safety throughout codebase
  • Memory leak prevention in long-running sessions
  • CI/CD Pipeline Optimization:
    • 70% faster execution (~3 minutes vs ~10 minutes)
    • Focused on essential checks: type-check, lint, build
    • Unit tests moved to local development workflow
    • See CI/CD Guide for details
  • Memory usage optimized for large codebases
  • Faster first-run experience with smart detection

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
  • Dynamic Port Allocation: Intelligent port management with conflict resolution and graceful degradation
  • 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 with real-time notifications
  • Session State Management: Maintains context across requests within sessions

🧠 AI-Native Task Management

  • Vibe Task Manager: Production-ready task management with 99.9% test success rate and comprehensive integration (Functional but actively being enhanced)
  • Natural Language Processing: 21 supported 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, load balancing, and real-time status synchronization
  • Multi-Transport Agent Support: Full integration across stdio, SSE, WebSocket, and HTTP transports
  • Real Storage Integration: Zero mock code policy - all production integrations
  • Artifact Parsing Integration: Seamless integration with PRD Generator and Task List Generator outputs
  • Session Persistence: Enhanced session tracking with orchestration workflow triggers
  • Comprehensive CLI: Natural language command-line interface with extensive functionality

🔍 Advanced Code Analysis & Context Curation

  • Code Map Tool: 35+ programming language support with 95-97% token reduction optimization
  • Context Curation Tool: Language-agnostic project detection with 95%+ accuracy across 35+ languages
  • Intelligent Codemap Caching: Configurable caching system that reuses recent codemaps to optimize workflow performance
  • Enhanced Import Resolution: Third-party integration for accurate dependency mapping
  • Multi-Strategy File Discovery: 4 parallel strategies for comprehensive analysis
  • Memory Optimization: Sophisticated caching and resource management
  • Security Boundaries: Separate read/write path validation for secure operations

📋 Research & Planning Suite

  • Research Tool: Deep research using Perplexity Sonar via OpenRouter
  • Context Curation: Intelligent codebase analysis with 8-phase workflow pipeline and intelligent codemap caching for AI-driven development
  • Document Generators: PRDs (prd-generator), user stories (user-stories-generator), task lists (task-list-generator), development rules (rules-generator)
  • Project Scaffolding: Full-stack starter kits (fullstack-starter-kit-generator) with dynamic template generation
  • 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.9% test success rate across 2,100+ tests with full integration validation
  • Production Ready: Zero mock implementations, real service integrations
  • Enhanced Error Handling: Advanced error recovery with automatic retry, escalation, and pattern analysis
  • Dynamic Port Management: Intelligent port allocation with conflict resolution and graceful degradation
  • Real-Time Monitoring: Agent health monitoring, task execution tracking, and performance analytics

(See "Detailed Tool Documentation" and "Feature Details" sections below for more)

AI Agent Integration

The Vibe Coder MCP system includes comprehensive system instructions designed to help AI agents and MCP clients effectively leverage the full ecosystem. These instructions provide detailed guidance on tool usage, integration patterns, and best practices.

System Instructions File

The VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md file contains comprehensive guidance for AI agents on how to use the Vibe Coder MCP ecosystem effectively. This file should be integrated into your AI development environment to train your agents on optimal tool usage.

Platform-Specific Integration

Claude Desktop

Place the system instructions in your project's system instructions or custom instructions:

  1. Open Claude Desktop
  2. Navigate to project settings
  3. Add the contents of VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md to the system instructions field
  4. Save and restart Claude Desktop

ChatGPT

Add the system instructions to your custom instructions or project settings:

  1. Open ChatGPT settings
  2. Navigate to custom instructions or project configuration
  3. Paste the contents of VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
  4. Save the configuration

VS Code Extensions (Cline, Roo Coder, Augment)

Integrate the system instructions into your extension's configuration:

  1. Cline: Place in system instructions or memories section
  2. Roo Coder: Add to system instructions or rules folder
  3. Augment: Place in system instructions or memories
  4. Other VS Code forks: Place in system instructions or rules folder with "always active" setting

General MCP Clients

For other MCP-compatible clients:

  1. Locate the system instructions or rules configuration
  2. Add the contents of VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
  3. Set as "always active" or "persistent" if the option is available
  4. Restart the client to apply changes

Key Integration Benefits

  • Comprehensive Tool Knowledge: Agents learn about all 15+ available tools and their capabilities
  • Workflow Orchestration: Guidance on chaining tools together for complex development workflows
  • Job Polling Protocol: Critical instructions for handling asynchronous operations correctly
  • Best Practices: Performance optimization and error handling strategies
  • Integration Patterns: Common workflows for research, planning, and implementation

Usage Examples

Once integrated, your AI agents will be able to:

# Research-driven development
"Research modern React patterns, then create a PRD and generate user stories"

# Complete project setup
"Set up a new e-commerce project with React frontend and Node.js backend"

# Context-aware development
"Analyze this codebase and suggest improvements with implementation tasks"

# Multi-agent coordination
"Register frontend and backend agents, then distribute authentication tasks"

Verification

To verify successful integration:

  1. Ask your AI agent about available Vibe Coder tools
  2. Request a workflow that uses multiple tools in sequence
  3. Check that the agent follows proper job polling protocols
  4. Confirm that outputs are saved to the correct directories

🎯 Unified CLI Architecture (v0.2.3+)

The new unified CLI (unified-cli.ts) provides a single entry point for all Vibe Coder operations:

flowchart TD
    Start[vibe command] --> Detect{First Run?}
    Detect -->|Yes| Setup[Setup Wizard]
    Detect -->|No| Parse[Parse Arguments]
    
    Setup --> Config[Save Configuration]
    Config --> Parse
    
    Parse --> Mode{Mode?}
    Mode -->|--interactive| REPL[Interactive REPL]
    Mode -->|"message"| CLI[CLI Execution]
    Mode -->|none| MCP[MCP Server]
    Mode -->|--setup| Setup
    
    REPL --> Session[Session Management]
    Session --> Chat[Chat Interface]
    Chat --> Tools[Tool Execution]
    
    CLI --> Router[Hybrid Router]
    Router --> Tools
    
    MCP --> Transport{Transport?}
    Transport -->|stdio| Stdio[Stdio Server]
    Transport -->|sse| SSE[SSE Server]

Benefits of Unified CLI:

  • Single binary for all operations (vibe)
  • Consistent command interface
  • Shared configuration management
  • Seamless mode switching
  • Better resource utilization

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 Tool]
        Execute --> TaskMgr[Vibe Task Manager]
        Execute --> CodeMap[Code Map Tool]
        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
│   ├── map-codebase/                # Code Map Tool docs
│   ├── handover/                     # Development handover docs
│   └── *.md                          # Various documentation files
├── VibeCoderOutput/                  # Tool output directory
│   ├── research/                    # 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
│   ├── map-codebase/                # 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
    │   ├── map-codebase/            # 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/                # 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

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/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/map-codebase/README.md

Tool Categories

Analysis & Information Tools

  • Code Map Tool (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.
  • Context Curation Tool (curate-context): Intelligent codebase analysis and context package curation with 8-phase workflow pipeline, intelligent codemap caching, language-agnostic project detection supporting 35+ programming languages, and multi-strategy file discovery for AI-driven development tasks.
  • Research Tool (research): Performs deep research on technical topics using Perplexity Sonar, providing summaries and sources.

Planning & Documentation Tools

  • Rules Generator (rules-generator): Creates project-specific development rules and guidelines.
  • PRD Generator (prd-generator): Generates comprehensive product requirements documents.
  • User Stories Generator (user-stories-generator): Creates detailed user stories with acceptance criteria.
  • Task List Generator (task-list-generator): Builds structured development task lists with dependencies.

Project Scaffolding Tool

  • Fullstack Starter Kit Generator (fullstack-starter-kit-generator): 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 Tool: 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 to process.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
  • 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/                # 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/
  ├── map-codebase/            # 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:

  1. Open Claude Desktop settings
  2. Navigate to "Custom Instructions" or "System Prompt"
  3. Copy the entire content from VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
  4. Paste into the custom instructions field
  5. Save settings

For Augment:

  1. Access Augment settings/preferences
  2. Find "Custom Instructions" or "System Configuration"
  3. Copy and paste the system instructions
  4. Apply changes

For Claude Code/Windsurf/Other MCP Clients:

  1. Locate the custom instructions or system prompt configuration
  2. Copy the content from VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md
  3. Paste into the appropriate field
  4. 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

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.

Status: Functional and production-ready with 99.9% test success rate, but actively being enhanced with new features and improvements.

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
  • Artifact Parsing Integration: Seamlessly imports PRD files from VibeCoderOutput/prd-generator/ and task lists from VibeCoderOutput/generated_task_lists/
  • Session Persistence: Enhanced session tracking with orchestration workflow triggers for reliable multi-step operations
  • Comprehensive CLI: Full command-line interface with natural language processing and structured commands
  • Agent Orchestration: Coordinates multiple AI agents for parallel task execution
  • Integration Ready: Works seamlessly with Code Map Tool, Research Tool, 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 (Enhanced with Intelligent Lookup)
"Decompose my React project into development tasks"
"Decompose PID-TODO-APP-REACT-001 into tasks"  # Using project ID
"Decompose \"Todo App with React\" into tasks"  # Using exact name
"Decompose todo into tasks"  # Using partial name (fuzzy matching)
"Refine the authentication task to include OAuth support"
"What's the current progress on my mobile app?"

🎯 Enhanced Project Lookup Features

  • Intelligent Parsing: Automatically detects project IDs, names, or partial matches
  • Comprehensive Validation: Validates project readiness before decomposition
  • Enhanced Error Messages: Provides actionable guidance with available projects and usage examples
  • Multiple Input Formats: Supports project IDs, quoted names, partial names, and fuzzy matching
  • Confidence Scoring: Shows parsing confidence levels for better user feedback

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]?"
  • "Parse PRD files for [project name]" (NEW)
  • "Import task list from [file path]" (NEW)
  • "Parse all PRDs and create projects automatically" (NEW)

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 Tool              :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 (v0.2.3)

MetricTargetCurrentStatus
Test Success Rate98%+99.9%Exceeded
Response Time (Task Operations)<200ms<150msExceeded
Response Time (Sync Operations)<500ms<350msExceeded
Job Completion Rate95%+96.7%Met
Memory Usage (Code Map Tool)<512MB<400MBOptimized
Unit Test Coverage>70%73%Met
CI/CD Pipeline Speed<5min~3minOptimized
Security Overhead<50ms<35msOptimized
Zero Mock Code Policy100%100%Achieved

Tool-Specific Status

Vibe Task Manager

  • Status: Production Ready (Functional but actively being enhanced)
  • Test Coverage: 99.9%
  • Features: RDD methodology, agent orchestration, natural language processing, artifact parsing, session persistence, comprehensive CLI
  • Performance: <50ms response time for task operations
  • Recent Additions: PRD/task list integration, enhanced session tracking, orchestration workflows

Code Map Tool

  • Status: Production Ready with Advanced Features
  • Memory Optimization: 95-97% token reduction achieved
  • Language Support: 35+ programming languages
  • Import Resolution: Enhanced with adapter-based architecture

Context Curation Tool

  • Status: Production Ready with Intelligent Codemap Caching
  • Language Support: 35+ programming languages with 95%+ accuracy
  • Workflow Pipeline: 8-phase intelligent analysis and curation
  • Project Detection: Language-agnostic with multi-strategy file discovery
  • Performance Optimization: Intelligent caching system that reuses recent codemaps (configurable 1-1440 minutes)

Research Tool

  • 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

Documentation

Core Documentation

  • System Instructions: VIBE_CODER_MCP_SYSTEM_INSTRUCTIONS.md - Complete usage guide for MCP clients
  • CI/CD Guide: CI_CD_GUIDE.md - Streamlined pipeline documentation (70% faster)
  • NPM Publishing Guide: NPM_PUBLISHING_GUIDE.md - Release and deployment process
  • System Architecture: docs/ARCHITECTURE.md - Comprehensive system architecture with Mermaid diagrams
  • 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
  • Context Curation Tool: src/tools/curate-context/README.md - Language-agnostic codebase analysis documentation
  • Code Map Tool: src/tools/map-codebase/README.md - 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

📅 Changelog

Version 0.3.5 (Latest)

  • Enhanced Hybrid Matcher: Complete parameter extraction for all 15 tools
  • CLI/REPL Improvements: Interactive confirmations, job polling with progress
  • Bug Fixes: Task-list-generator auto-generates user stories, multi-turn conversations fixed
  • TypeScript Strict Mode: Zero any types, production-grade code quality

Version 0.3.1

  • Global installation synchronization fixes
  • Enhanced clean build process
  • Improved NPM packaging workflow

Version 0.2.8

  • CLI interactive mode configuration persistence
  • Enhanced project root detection

Version 0.2.7

  • Added missing configuration files to npm package
  • Resolved configuration loading errors

Version 0.2.3

  • Interactive REPL mode with chat interface
  • Enhanced setup wizard with auto-detection
  • Configuration templates
  • Unified CLI binary

For full release history, see GitHub Releases