Vibe Coder MCP Serverのロゴ

Vibe Coder MCP Server

コミュニティ
freshtechbro

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

公開者freshtechbro
リポジトリVibe-Coder-MCP
言語TypeScript
フォーク
31
スター
103
利用可能なツール
0
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    Vibe Coder MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには103件のスターと31件のフォークがあります。

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:

Option 1: Using NPX (Recommended)

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 <session-id>

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 <session-id>
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/:

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: <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)

Development Setup Guide

For developers who want to run from source or contribute to the project.

Step 1: Prerequisites

  1. Check Node.js Version:

    • Open a terminal or command prompt.
    • Run node -v
    • Ensure the output shows v20.0.0 or higher (required).
    • If not installed or outdated: Download from nodejs.org.
  2. Check Git Installation:

    • Open a terminal or command prompt.
    • Run git --version
    • If not installed: Download from git-scm.com.
  3. 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

  1. Create a Project Directory (optional):

    • Open a terminal or command prompt.
    • Navigate to where you want to store the project:
      bash
      cd ~/Documents     # Example: Change to your preferred location
  2. Clone the Repository:

    • Run:
      bash
      git clone https://github.com/freshtechbro/vibe-coder-mcp.git
      (Or use your fork's URL if applicable)
  3. Navigate to Project Directory:

    • Run:
      bash
      cd vibe-coder-mcp

Step 3: Run the Setup Script

Choose the appropriate script for your operating system:

For Windows:

  1. In your terminal (still in the vibe-coder-mcp directory), run:
    batch
    setup.bat
  2. Wait for the script to complete (it will install dependencies, build the project, and create necessary directories).
  3. If you see any error messages, refer to the Troubleshooting section below.

For macOS or Linux:

  1. Make the script executable:
    bash
    chmod +x setup.sh
  2. Run the script:
    bash
    ./setup.sh
  3. Wait for the script to complete.
  4. If you see any error messages, refer to the Troubleshooting section below.

The script performs these actions:

  • Checks Node.js version (v20+ required)
  • Installs all dependencies via npm
  • Creates necessary VibeCoderOutput/ subdirectories
  • Builds the TypeScript project
  • Creates configuration from templates if not present (v0.2.3+)
  • Sets executable permissions (on Unix systems)

Note: The setup process is now faster (v0.2.3+) with optimized dependency installation and simplified build process.

Step 4: Configure Environment Variables

New in v0.2.3: Configuration templates are provided in src/config-templates/ for easy setup.

Option A: Use the Setup Wizard (Recommended)

bash
vibe --setup

The wizard will guide you through configuration and create all necessary files.

Option B: Manual Configuration

  1. Copy templates (if not already done by setup script):

    bash
    cp src/config-templates/.env.template .env
    cp src/config-templates/llm_config.template.json llm_config.json
    cp src/config-templates/mcp-config.template.json mcp-config.json
  2. Edit .env file with your configuration:

    dotenv
    # OpenRouter Configuration (REQUIRED)
    OPENROUTER_API_KEY="your_actual_api_key_here"
    
    # Optional configurations
    OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
    GEMINI_MODEL=google/gemini-2.5-flash-preview-05-20
    
    # Project directories (optional - auto-detected for CLI users)
    VIBE_PROJECT_ROOT=/path/to/your/project
    VIBE_CODER_OUTPUT_DIR=/path/to/output
  3. Configure Output Directory (Optional):

    • To change where generated files are saved (default is VibeCoderOutput/ inside the project), add this line to your .env file:
      dotenv
      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.
  4. 🆕 Configure Unified Project Root (Recommended):

    • To set up the new unified project root configuration, add this line to your .env file:
      dotenv
      VIBE_PROJECT_ROOT=/path/to/your/project/root
    • Replace the path with the absolute path to your project's root directory.
    • Benefits: Single configuration variable for all tools (Code Map Generator, Task Manager, Context Curator)
    • Auto-Detection: For CLI users, project root is automatically detected from the current working directory
    • Backward Compatibility: Legacy variables are still supported if you prefer separate configurations
  5. Legacy Directory Configuration (Optional):

    • If you prefer separate directory configurations, you can still use the original variables:
      dotenv
      CODE_MAP_ALLOWED_DIR=/path/to/your/source/code/directory
      VIBE_TASK_MANAGER_READ_DIR=/path/to/your/project/source/directory
    • Note: These variables work as fallbacks if VIBE_PROJECT_ROOT is not set
    • Security: All variables work with the strict filesystem security implementation
  6. Review Other Settings (Optional):

    • You can add other environment variables supported by the server, such as LOG_LEVEL (e.g., LOG_LEVEL=debug) or NODE_ENV (e.g., NODE_ENV=development).
  7. 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):

    1. Open the application.
    2. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
    3. Type and select Preferences: Open User Settings (JSON).
    4. This opens your settings.json file where the mcpServers 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 with Code in the path)
  • 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

5.2: Add the Vibe Coder Configuration

  1. Open the settings file identified above in a text editor.

  2. 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": {}}.

  3. Add the following configuration block inside the curly braces {} of the mcpServers object. If other servers are already listed, add a comma , after the previous server's closing brace } before pasting this block.

    json
    // 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",
        // 🆕 Unified project root for all tools (recommended)
        // This single variable configures all tools with the same project boundary
        "VIBE_PROJECT_ROOT": "/Users/username/Documents/Dev Projects/Vibe-Coder-MCP",
        // Legacy variables (optional - used as fallbacks if VIBE_PROJECT_ROOT not set)
        "CODE_MAP_ALLOWED_DIR": "/Users/username/Documents/Dev Projects/Vibe-Coder-MCP/src",
        "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",
        "rules-generator",
        "user-stories-generator",
        "task-list-generator",
        "prd-generator",
        "fullstack-starter-kit-generator",
        "refactor-code",
        "git-summary",
        "run-workflow",
        "map-codebase"
      ]
    }
  4. 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.

  5. Save the settings file.

  6. 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

  1. Start Your AI Assistant:

    • Completely restart your AI assistant application.
  2. Test a Simple Command:

    • Type a test command like: Research modern JavaScript frameworks
  3. Check for Proper Response:

    • If working correctly, you should receive a research response.
    • If not, check the Troubleshooting section below.

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:

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

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:

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:

Tool Registry Pattern

The Tool Registry is a central component for managing tool definitions and execution:

Sequential Thinking Process

The Sequential Thinking mechanism provides LLM-based fallback routing:

Session State Management

Workflow Execution Engine

The Workflow system enables multi-step sequences:

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:
    json
    {
      "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/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 (`cur

インストール

TypingMind
{
  "mcpServers": {
    "vibe-coder-mcp": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

Vibe Coder MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Vibe Coder MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Vibe Coder MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Vibe Coder MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "vibe-coder-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vibe-coder-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてVibe Coder MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Vibe Coder MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Vibe Coder MCP Serverを使ってこのタスクを手伝ってもらえますか?
Vibe Coder MCP Server
はい、読みました。
Vibe Coder MCP Serverで調べた結果をお伝えします。

よくある質問

Vibe Coder MCP Server MCPサーバーは何に使いますか?

Vibe Coder MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでVibe Coder MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでVibe Coder MCP Serverを利用できます。

TypingMindでVibe Coder MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Vibe Coder MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Vibe Coder MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Vibe Coder MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでVibe Coder MCP Server MCPのどのようなツールを利用できますか?

Vibe Coder MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Vibe Coder MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Vibe Coder MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇