V

Vibe Gate MCP

by mustafacagri · io.github.mustafacagri/vibe-gate-mcp

Enables AI-assisted coding workflows to validate code changes through an adversarial debate between the coding agent and a critic LLM, surfacing only deadlocked decisions for human review.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-mustafacagri-vibe-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vibe-gate-mcp"
      ],
      "env": {
        "VIBE_WORKSPACE_ROOT": "<VALUE>",
        "CRITIC_PROVIDER": "<VALUE>",
        "CRITIC_MODEL": "<VALUE>",
        "CRITIC_PERSONA": "<VALUE>",
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "GOOGLE_GENERATIVE_AI_API_KEY": "<YOUR_VALUE>",
        "MINIMAX_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_PLAN": "<VALUE>",
        "CODEX_CLI_PATH": "<VALUE>",
        "CLAUDE_CODE_CLI_PATH": "<VALUE>",
        "CURSOR_AGENT_CLI_PATH": "<VALUE>",
        "OPENCODE_CLI_PATH": "<VALUE>",
        "CRITIC_CLI_TIMEOUT_MS": "<VALUE>",
        "DEBUG": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-mustafacagri-vibe-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vibe-gate-mcp"
      ],
      "env": {
        "VIBE_WORKSPACE_ROOT": "<VALUE>",
        "CRITIC_PROVIDER": "<VALUE>",
        "CRITIC_MODEL": "<VALUE>",
        "CRITIC_PERSONA": "<VALUE>",
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "GOOGLE_GENERATIVE_AI_API_KEY": "<YOUR_VALUE>",
        "MINIMAX_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_PLAN": "<VALUE>",
        "CODEX_CLI_PATH": "<VALUE>",
        "CLAUDE_CODE_CLI_PATH": "<VALUE>",
        "CURSOR_AGENT_CLI_PATH": "<VALUE>",
        "OPENCODE_CLI_PATH": "<VALUE>",
        "CRITIC_CLI_TIMEOUT_MS": "<VALUE>",
        "DEBUG": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-mustafacagri-vibe-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vibe-gate-mcp"
      ],
      "env": {
        "VIBE_WORKSPACE_ROOT": "<VALUE>",
        "CRITIC_PROVIDER": "<VALUE>",
        "CRITIC_MODEL": "<VALUE>",
        "CRITIC_PERSONA": "<VALUE>",
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "GOOGLE_GENERATIVE_AI_API_KEY": "<YOUR_VALUE>",
        "MINIMAX_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_PLAN": "<VALUE>",
        "CODEX_CLI_PATH": "<VALUE>",
        "CLAUDE_CODE_CLI_PATH": "<VALUE>",
        "CURSOR_AGENT_CLI_PATH": "<VALUE>",
        "OPENCODE_CLI_PATH": "<VALUE>",
        "CRITIC_CLI_TIMEOUT_MS": "<VALUE>",
        "DEBUG": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-mustafacagri-vibe-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vibe-gate-mcp"
      ],
      "env": {
        "VIBE_WORKSPACE_ROOT": "<VALUE>",
        "CRITIC_PROVIDER": "<VALUE>",
        "CRITIC_MODEL": "<VALUE>",
        "CRITIC_PERSONA": "<VALUE>",
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "GOOGLE_GENERATIVE_AI_API_KEY": "<YOUR_VALUE>",
        "MINIMAX_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_PLAN": "<VALUE>",
        "CODEX_CLI_PATH": "<VALUE>",
        "CLAUDE_CODE_CLI_PATH": "<VALUE>",
        "CURSOR_AGENT_CLI_PATH": "<VALUE>",
        "OPENCODE_CLI_PATH": "<VALUE>",
        "CRITIC_CLI_TIMEOUT_MS": "<VALUE>",
        "DEBUG": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-mustafacagri-vibe-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vibe-gate-mcp"
      ],
      "env": {
        "VIBE_WORKSPACE_ROOT": "<VALUE>",
        "CRITIC_PROVIDER": "<VALUE>",
        "CRITIC_MODEL": "<VALUE>",
        "CRITIC_PERSONA": "<VALUE>",
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "GOOGLE_GENERATIVE_AI_API_KEY": "<YOUR_VALUE>",
        "MINIMAX_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_PLAN": "<VALUE>",
        "CODEX_CLI_PATH": "<VALUE>",
        "CLAUDE_CODE_CLI_PATH": "<VALUE>",
        "CURSOR_AGENT_CLI_PATH": "<VALUE>",
        "OPENCODE_CLI_PATH": "<VALUE>",
        "CRITIC_CLI_TIMEOUT_MS": "<VALUE>",
        "DEBUG": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-mustafacagri-vibe-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vibe-gate-mcp"
      ],
      "env": {
        "VIBE_WORKSPACE_ROOT": "<VALUE>",
        "CRITIC_PROVIDER": "<VALUE>",
        "CRITIC_MODEL": "<VALUE>",
        "CRITIC_PERSONA": "<VALUE>",
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "GOOGLE_GENERATIVE_AI_API_KEY": "<YOUR_VALUE>",
        "MINIMAX_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_API_KEY": "<YOUR_VALUE>",
        "OPENCODE_PLAN": "<VALUE>",
        "CODEX_CLI_PATH": "<VALUE>",
        "CLAUDE_CODE_CLI_PATH": "<VALUE>",
        "CURSOR_AGENT_CLI_PATH": "<VALUE>",
        "OPENCODE_CLI_PATH": "<VALUE>",
        "CRITIC_CLI_TIMEOUT_MS": "<VALUE>",
        "DEBUG": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
VIBE_WORKSPACE_ROOT Yes Workspace root path for the MCP server. Set to ${workspaceFolder} in Cursor MCP configuration.
CRITIC_PROVIDER Yes AI provider for the critic: openai, anthropic, google, minimax, or opencode.
CRITIC_MODEL No Optional model override for the critic (e.g., 'minimax-m3').
CRITIC_PERSONA No Critic persona: security-first, performance-freak or clean-code-monk
OPENAI_API_KEY secret No OpenAI API key. Required when CRITIC_PROVIDER=openai.
ANTHROPIC_API_KEY secret No Anthropic API key. Required when CRITIC_PROVIDER=anthropic.
GOOGLE_GENERATIVE_AI_API_KEY secret No Google Gemini API key. Required when CRITIC_PROVIDER=google.
MINIMAX_API_KEY secret No MiniMax API key. Required when CRITIC_PROVIDER=minimax.
OPENCODE_API_KEY secret No OpenCode API key. Required when CRITIC_PROVIDER=opencode.
OPENCODE_PLAN No Optional plan for OpenCode (e.g., 'go').
CODEX_CLI_PATH No Path to the codex executable (CRITIC_PROVIDER=codex-cli)
CLAUDE_CODE_CLI_PATH No Path to the claude executable (CRITIC_PROVIDER=claude-code)
CURSOR_AGENT_CLI_PATH No Path to the agent executable (CRITIC_PROVIDER=cursor-agent)
OPENCODE_CLI_PATH No Path to the opencode executable (CRITIC_PROVIDER=opencode-cli)
CRITIC_CLI_TIMEOUT_MS No Local CLI timeout in milliseconds, from 1000 to 600000
DEBUG No Log parse and read failures to stderr

Similar servers