trackmcp
Back to directory
freshtechbro

Vibe-Coder-MCP

View on GitHub

Vibe-Coder-MCP server extends AI assistants with specialized software development tools.

103 stars TypeScriptOthers Updated Sep 4, 2026
agentsmcpmcp-serveraugmentcodeclaude-desktopclinecursorroo-code

Documentation

Vibe Coder MCP Server

npm version
npm downloads
npm total downloads
GitHub release
Node.js Version
License
GitHub stars

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

๐Ÿš€ Quick Start

bash
# Install globally (recommended)
npm install -g vibe-coder-mcp@latest

# Run setup wizard on first use
vibe --setup

# Or use instantly with npx (no installation)
npx vibe-coder-mcp@latest --setup

The setup wizard will:

1. โœ… Configure your OpenRouter API key

2. โœ… Set up project directories

3. โœ… Create configuration files from templates

4. โœ… Validate your environment

5. โœ… Get you ready to use all features!

๐Ÿ“ฆ Installation

npm version
npm downloads
bash
# Recommended: Install globally for the 'vibe' command
npm install -g vibe-coder-mcp@latest

# Or run instantly without installation
npx vibe-coder-mcp@latest

Installation Methods

Global Installation (Recommended)

bash
npm install -g vibe-coder-mcp@latest

# Use the 'vibe' command anywhere
vibe                                    # Start MCP server
vibe "create a PRD for a todo app"     # CLI mode
vibe --interactive                     # Interactive REPL mode
vibe --setup                           # Setup wizard

Quick Run with npx

bash
# No installation needed
npx vibe-coder-mcp@latest
npx vibe-coder-mcp@latest "research React best practices"

Local Project Installation

bash
npm install vibe-coder-mcp
npx vibe-coder-mcp "map the codebase structure"

Command Line Usage

bash
# MCP Server Mode (for Claude Desktop, Cursor, etc.)
vibe                                    # Start with stdio transport
vibe --sse                             # Start with Server-Sent Events

# CLI Mode - Natural Language Commands
vibe "research modern JavaScript frameworks"
vibe "create a PRD for an e-commerce platform"
vibe "map the codebase structure" --json
vibe "generate user stories for auth system"

# Interactive REPL Mode
vibe --interactive                     # Chat interface with context retention

# Configuration
vibe --setup                           # Run setup wizard
vibe --help                            # Show all options
vibe --version                         # Show version

Interactive Mode Features:

  • Chat-style conversation with context retention
  • Live tool execution with progress indicators
  • Session persistence and history
  • Markdown rendering support
  • Multiple themes and customization
  • Slash commands for quick actions

๐ŸŽฏ 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

bash
# 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`:

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"

๐Ÿ†• Unified Project Root Configuration

Zero Configuration for CLI Users

bash
# Automatic project detection - just run from your project!
cd /path/to/your/project
vibe "map the codebase structure"

Simple Configuration for MCP Clients

json
{
  "env": {
    "OPENROUTER_API_KEY": "your_key_here",
    "VIBE_PROJECT_ROOT": "/path/to/your/project"
  }
}
  • One Variable: `VIBE_PROJECT_ROOT` replaces multiple directory configs
  • Auto-Detection: CLI automatically detects project root
  • Backward Compatible: Legacy variables still supported

๐Ÿ”ง Environment Configuration

Required: You need an OpenRouter API key to use Vibe Coder MCP.

Get Your OpenRouter API Key

1. Visit openrouter.ai

2. Create an account if you don't have one

3. Navigate to API Keys section

4. Create a new API key and copy it

Set Up Environment Variables

Option 1: Using Setup Wizard (Recommended for v0.2.3+)

bash
# Run the interactive setup wizard
vibe --setup

# The wizard will:
# โ€ข Configure your OpenRouter API key
# โ€ข Set up project directories
# โ€ข Create configuration files
# โ€ข Validate your setup

Option 2: Environment Variables

bash
# Set your OpenRouter API key
export OPENROUTER_API_KEY="your_api_key_here"

# Optional: Set custom directories
export VIBE_CODER_OUTPUT_DIR="/path/to/output/directory"
export VIBE_PROJECT_ROOT="/path/to/your/project"

# Legacy variables (still supported for backward compatibility)
export CODE_MAP_ALLOWED_DIR="/path/to/your/source/code"
export VIBE_TASK_MANAGER_READ_DIR="/path/to/your/project"

Option 3: Create .env file (templates provided in v0.2.3+)

Create a `.env` file in your working directory (or copy from `src/config-templates/.env.template`):

dotenv
# Required: Your OpenRouter API key
OPENROUTER_API_KEY="your_api_key_here"

# Optional: Unified project root configuration
VIBE_CODER_OUTPUT_DIR="/path/to/output/directory"
VIBE_PROJECT_ROOT="/path/to/your/project"
VIBE_USE_PROJECT_ROOT_AUTO_DETECTION="true"

# Legacy variables (still supported for backward compatibility)
CODE_MAP_ALLOWED_DIR="/path/to/your/source/code"  
VIBE_TASK_MANAGER_READ_DIR="/path/to/your/project"

# Optional: Other settings
OPENROUTER_BASE_URL="https://openrouter.ai/api/v1"
GEMINI_MODEL="google/gemini-2.5-flash-preview-05-20"

Directory Configuration (Unified & Simplified)

๐Ÿ†• Unified Configuration (Recommended)

  • VIBE_PROJECT_ROOT: Single variable for all project operations (automatic detection enabled by default for CLI)
  • VIBE_USE_PROJECT_ROOT_AUTO_DETECTION: Enable automatic project root detection for CLI users (default: `"true"`)
  • VIBE_CODER_OUTPUT_DIR: Where generated files are saved (default: `./VibeCoderOutput/`)

Legacy Configuration (Still Supported)

  • CODE_MAP_ALLOWED_DIR: Security boundary for code analysis (fallback if VIBE_PROJECT_ROOT not set)
  • VIBE_TASK_MANAGER_READ_DIR: Security boundary for task manager operations (fallback if VIBE_PROJECT_ROOT not set)

Auto-Detection Benefits:

  • Zero Configuration: CLI users get automatic project root detection
  • Context Aware: Different behavior for CLI vs MCP client usage
  • Intelligent Fallbacks: 5-priority resolution chain ensures reliable operation

๐Ÿ”Œ MCP Client Setup

Configure your AI assistant to connect to Vibe Coder MCP:

For Cursor AI / Windsurf / VS Code MCP Clients

Add this to your MCP settings (usually in `settings.json`):

json
{
  "mcpServers": {
    "vibe-coder-mcp": {
      "command": "npx",
      "args": ["vibe-coder-mcp"],
      "env": {
        "OPENROUTER_API_KEY": "your_api_key_here"
      }
    }
  }
}

For Claude Desktop

Add this to your `claude_desktop_config.json`:

json
{
  "mcpServers": {
    "vibe-coder-mcp": {
      "command": "npx",
      "args": ["vibe-coder-mcp"],
      "env": {
        "OPENROUTER_API_KEY": "your_api_key_here",
        "VIBE_PROJECT_ROOT": "/path/to/your/project"
      }
    }
  }
}

๐Ÿ’ป CLI Usage Guide

Vibe Coder includes a powerful command-line interface with multiple modes for direct interaction with all tools.

Interactive Setup Wizard (Enhanced in v0.2.3)

bash
# First-time setup (runs automatically on first use)
vibe --setup

# Features:
# โ€ข Smart first-run detection
# โ€ข OS-specific configuration paths
# โ€ข Non-interactive mode for CI/CD
# โ€ข Configuration validation
# โ€ข Backup system for existing configs

# Reconfigure existing installation
vibe --reconfigure

Interactive REPL Mode (NEW in v0.2.3!)

bash
# Start interactive chat session
vibe --interactive

# Or with alias
vibe -i

# Resume a previous session
vibe --resume

REPL Features:

  • ๐ŸŽฏ Chat Interface: Natural conversation flow with context retention
  • ๐Ÿ“ Multi-line Input: Use `"""` for multi-line messages
  • ๐ŸŽจ Themes: Multiple color themes with `/theme` command
  • ๐Ÿ’พ Session Management: Auto-save and resume capabilities
  • ๐Ÿ“Š Markdown Rendering: Rich text formatting in responses
  • โšก Live Progress: Real-time execution feedback
  • ๐Ÿ”ง Slash Commands: Quick actions like `/tools`, `/history`, `/save`
  • ๐ŸŽฎ Auto-completion: Tab completion for commands and tools

CLI Command Examples

Research & Analysis

bash
vibe "research modern React patterns and best practices"
vibe "analyze current trends in microservices architecture"
vibe "research security best practices for Node.js APIs"

Project Planning

bash
vibe "create a PRD for an e-commerce platform with user authentication"
vibe "generate user stories for authentication system"
vibe "create development tasks from user stories"

Code Analysis & Generation

bash
vibe "map the codebase structure"
vibe "create context for implementing authentication"
vibe "generate a fullstack starter kit for e-commerce"
vibe "create coding standards for TypeScript projects"

Task Management

bash
vibe "create a new project for building a todo app"
vibe "list all my projects"
vibe "show project status for MyApp"
vibe "create high priority task for implementing OAuth"

CLI Options

bash
# Output formats
vibe "research React hooks" --json
vibe "create PRD for todo app" --yaml

# Verbosity control
vibe "create project MyApp" --verbose
vibe "research Node.js patterns" --quiet

# Interactive REPL mode (NEW!)
vibe --interactive
vibe -i

# Session management (NEW!)
vibe --resume 
vibe --list-sessions

Interactive REPL Commands (v0.2.3+)

Once in interactive mode (`vibe --interactive`), use these commands:

bash
# Help and navigation
/help              # Show available commands
/tools             # List all MCP tools
/status            # Show session status

# Session management
/save              # Save current session
/sessions          # List saved sessions
/export [file]     # Export session to markdown

# Conversation control
/clear             # Clear conversation history
/history           # Show conversation history

# Customization
/theme             # Change color theme
/markdown          # Toggle markdown rendering
/config            # Manage configuration

# Exit
/quit or /exit     # Exit interactive mode

File Organization

Generated files are automatically organized in `VibeCoderOutput/`:

code
VibeCoderOutput/
โ”œโ”€โ”€ research/                    # Research reports
โ”œโ”€โ”€ prd-generator/              # Product requirements
โ”œโ”€โ”€ user-stories-generator/     # User stories
โ”œโ”€โ”€ task-list-generator/        # Development tasks
โ”œโ”€โ”€ fullstack-starter-kit-generator/  # Project templates
โ”œโ”€โ”€ map-codebase/              # Code analysis
โ”œโ”€โ”€ vibe-task-manager/         # Task management data
โ””โ”€โ”€ workflow-runner/           # Workflow outputs

๐Ÿ”„ 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

๐Ÿ“š Development Setup (Advanced)

If you want to contribute to development or run from source, follow the detailed setup guide below.

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: Detect{First Run?}
Detect -->YesSetup[Setup Wizard]
Detect -->NoParse[Parse Arguments]

Setup --> Config[Save Configuration]

Config --> Parse

Parse --> Mode{Mode?}

Mode -->--interactiveREPL[Interactive REPL]
Mode -->"message"CLI[CLI Execution]
Mode -->noneMCP[MCP Server]
Mode -->--setupSetup

REPL --> Session[Session Management]

Session --> Chat[Chat Interface]

Chat --> Tools[Tool Execution]

CLI --> Router[Hybrid Router]

Router --> Tools

MCP --> Transport{Transport?}

Transport -->stdioStdio[Stdio Server]
Transport -->sseSSE[SSE Server]
code
**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 -->stdioStdioTransport[Stdio Transport]
Transport -->sseSSETransport[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 ConfidenceExecute[Tool Execution]
Sequential -->FallbackExecute

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

code
## 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

code
## 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]

code
## 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 -->ValidExecFunc[Run Executor Function]
Validate -->InvalidValidErr[Return Validation Error]
ExecFunc -->SuccessSuccessResp[Return Success Response]
ExecFunc -->ErrorHandleErr[Catch & Format Error]

HandleErr --> ErrResp[Return Error Response]

end

code
## 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 -->YesNext[Generate Next Thought]
Next -->StandardAddStd[Add to Context]
Next -->RevisionRev[Mark as Revision]
Next -->New BranchBranch[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 -->ErrorRetry[Retry with Simplified Request]
Retry -->SuccessAddRetry[Add to Context]
Retry -->FailureFallbackEx[Extract Partial Solution]

AddRetry --> Loop

FallbackEx --> End

end

code
## Session State Management

flowchart TD

Start[Client Request] --> SessionID[Extract Session ID]

SessionID --> Store{State Exists?}

Store -->YesRetrieve[Retrieve Previous State]
Store -->NoCreate[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

code
## 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

code
## 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"]

}

}

}

}

code
### 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"}

code
## 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/

code
## 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

## Usage Examples

### Via CLI (Direct Command Line)

Research and analysis

vibe "research modern JavaScript frameworks"

vibe "create development rules for a mobile banking application"

Project planning

vibe "generate a PRD for a task management application"

vibe "generate user stories for an e-commerce website"

vibe "create a task list for a weather app based on user stories"

Code generation and analysis

vibe "create a starter kit for a React/Node.js blog application with user authentication"

vibe "map the codebase structure" --json

vibe "curate context for adding authentication to my React app"

Task management

vibe "create a new project for building a todo app"

vibe "list all my projects"

vibe "show status of my React project"

Workflow automation

vibe "run workflow newProjectSetup with input {\"projectName\": \"my-new-app\"}"

code
### Via MCP Client (AI Assistant Integration)
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"`, or `Generate a JSON representation of the codebase structure with output_format="json"`
*   **Context Curation:** `Curate context for adding authentication to my React app`, `Generate context package for refactoring the user service`, or `Analyze this codebase for performance optimization opportunities`
*   **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.

**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?"

code
### ๐ŸŽฏ 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

code
### 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)

| Metric | Target | Current | Status |
|--------|--------|---------|--------|
| Test Success Rate | 98%+ | 99.9% | โœ… **Exceeded** |
| Response Time (Task Operations) | 70% | 73% | โœ… **Met** |
| CI/CD Pipeline Speed | ` directly to test if Node can find it

2. **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

3. **Restart the Assistant:**
   * Completely close (not just minimize) the application
   * Reopen and try again

#### Server Starts But Tools Don't Work

1. **Check Disabled Flag:**
   * Ensure `"disabled": false` is set
   * Remove any `//` comments as JSON doesn't support them

2. **Verify autoApprove Array:**
   * Check that tool names in the `autoApprove` array match exactly
   * Try adding `"process-request"` to the array if using hybrid routing

### API Key Issues

1. **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

2. **Environment Variable Issues:**
   * Verify the key is correct in both:
     * The `.env` file (for local runs)
     * Your AI assistant's configuration env block

### Path & Permission Issues

1. **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)

2. **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

1. **For Local Runs:**
   * Check the console output for error messages
   * Try running with `LOG_LEVEL=debug` in your `.env` file

2. **For AI Assistant Runs:**
   * Set `"NODE_ENV": "production"` in the env configuration
   * Check if the assistant has a logging console or output window

### Tool-Specific Issues

1. **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
- **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

## Contributing

We welcome contributions! Please see our contributing guidelines and ensure all tests pass before submitting pull requests.

### Development Workflow
1. Fork the repository
2. Create a feature branch
3. Make your changes with comprehensive tests
4. Ensure all checks pass locally:

# Run CI checks (REQUIRED before PR - matches GitHub Actions)

npm run type-check # TypeScript validation (must pass)

npm run lint # Code quality checks (must pass)

npm run build # Build verification (must pass)

# Run tests locally (RECOMMENDED before PR)

npm run test:unit # Fast unit tests (~3 minutes)

# Optional: Thorough testing for major changes

npm run test:integration

npm test # All tests

code
5. Submit a pull request with detailed description

### Quality Standards
- **Type Safety**: NO `any` types - strict TypeScript required
- **CI Pipeline**: Must pass type-check, lint, and build (automated)
- **Testing**: Run unit tests locally before PR submission
- **Test Coverage**: Maintain >70% coverage for unit tests
- **Documentation**: Update relevant docs for changes
- **Performance**: Consider impact on CI pipeline speed (10,000 files
- **Solution**: Increase Node.js memory limit: `NODE_OPTIONS='--max-old-space-size=4096' npm start`
- **Caching**: Clear cache directories in `VibeCoderOutput/` if they grow too large
- **Monitoring**: Use `npm run test:memory` to identify memory leaks

### MCP Client Connection Issues

**Problem**: Server not detected by AI assistant
- **Paths**: Verify all paths in MCP configuration use forward slashes and are absolute
- **Restart**: Completely close and restart your AI assistant application
- **Logs**: Check `LOG_LEVEL=debug` in configuration for detailed error messages
- **Transport**: Ensure `"transport": "stdio"` is set correctly
- **Disabled**: Verify `"disabled": false` in your configuration

### Tool-Specific Issues

**Vibe Task Manager**:
- If natural language commands fail, try using structured commands
- Check `VibeCoderOutput/vibe-task-manager/` for project files
- Ensure project names don't contain special characters

**Code Map Tool**:
- For permission errors, verify `CODE_MAP_ALLOWED_DIR` is set
- Large repositories may timeout - try smaller subdirectories
- Some languages require additional setup (see tool README)

**Context Curator**:
- If codemap generation fails, check recent codemaps in cache
- Verify sufficient disk space for large context packages
- Check file permissions in target directories

### Network and Proxy Issues

**Problem**: Cannot reach external services
- **Proxy**: Set `HTTP_PROXY` and `HTTPS_PROXY` environment variables if behind a proxy
- **SSL**: For SSL issues, try `NODE_TLS_REJECT_UNAUTHORIZED=0` (development only)
- **Firewall**: Ensure firewall allows outbound HTTPS connections
- **DNS**: Try using public DNS servers if resolution fails

### Getting Help

If issues persist:
1. Check existing issues at [GitHub Issues](https://github.com/freshtechbro/vibe-coder-mcp/issues)
2. Enable debug logging: `LOG_LEVEL=debug`
3. Collect error messages and logs
4. Create a new issue with:
   - Node.js version (`node -v`)
   - Operating system
   - Error messages
   - Steps to reproduce

## ๐Ÿ“… 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](https://github.com/freshtechbro/vibe-coder-mcp/releases)

## License

This project is licensed under the MIT License - see the LICENSE file for details.

Frequently asked questions

What is Vibe-Coder-MCP?

Vibe-Coder-MCP is Vibe-Coder-MCP server extends AI assistants with specialized software development tools.

How do I install Vibe-Coder-MCP?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is Vibe-Coder-MCP open source?

Yes โ€” it is hosted on GitHub at https://github.com/freshtechbro/Vibe-Coder-MCP and has 103 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP