SuperAPI AI Directory

vibe-check-mcp-server

Prevent cascading errors and scope creep by calling a vibe-check agent to ensure user alignment.

Open website

About this tool

Vibe Check MCP is a lightweight server implementing the Anthropic Model Context Protocol (MCP), positioned as a "meta-mentor layer" for AI Agents. It provides metacognitive feedback to the main Agent by invoking a second LLM, offering a "quick sanity check" before the Agent is about to perform an irreversible operation or fall into a wrong path, thereby preventing Pattern Inertia and Reasoning Lock-In (RLI). The project was created by Pruthvi Bhat, is part of the MURST initiative, and is licensed under MIT.

Main capabilities

  • Provides mentor-style feedback to stop the Agent from over-engineering, tunnel thinking, and reasoning lock-in, keeping it on the minimum viable path.
  • Implements Chain-Pattern Interrupt (CPI): injects brief, well-timed "pause points" at risk inflection points to realign the Agent with the user's true priorities. Research shows that across 153 aggregated evaluations, CPI raised the success rate from about 27% to about 54%, and reduced harmful behavior from about 83% to about 42%; the optimal interruption dose is about 10%–20% of steps.
  • Provides session-level "Constitution" rules that can enforce rules by sessionId, such as "no external network calls", "prioritize unit tests before refactoring", and "never write secrets to disk". Related tools include update_constitution, reset_constitution, and check_constitution.
  • Supports recording corrected mistakes via vibe_learn, building a history for future analysis.
  • Supports multiple LLM providers and models; the default models are registered in src/utils/models.ts, including Gemini 3.6 Flash, Claude Sonnet 5 / Opus 5 / Fable 5, GPT-5.6 Sol / Terra / Luna, etc. Gemini connects natively to Google AI Studio via the unified @google/genai SDK.
  • Supports both STDIO and streamable HTTP transports.

Usage

  • Quick start(npx): no local installation required, requires Node >= 20.
    • Option 1: the MCP client starts via STDIO, suitable for MCP-aware clients such as Claude Desktop, Cursor, and Windsurf.
    • Option 2: manual HTTP check, using curl http://127.0.0.1:2091/healthz to confirm the service is alive, sending a JSON-RPC request to http://127.0.0.1:2091/mcp .
  • Transport selection: the CLI supports stdio and HTTP, with resolution order being explicit flags (--stdio / --http) → MCP_TRANSPORT → default stdio. HTTP mode requires specifying --port or setting MCP_HTTP_PORT; the default port is 2091.
  • Client installers: each installer is idempotent, entries are marked with "managedBy": "vibe-check-mcp-cli", a backup is generated once before running, and merging is atomic (*.bak for easy rollback). Supports Claude Desktop (claude_desktop_config.json, default stdio), Cursor (~/.cursor/mcp.json), Windsurf (legacy ~/.codeium/windsurf/mcp_config.json, new ~/.codeium/mcp_config.json, can pass --http to generate a serverUrl entry), and VS Code (workspace .vscode/mcp.json, can pass --config to specify a path, supports --dev-watch / --dev-debug).
  • Uninstall and rollback: restore the latest *.bak generated at install time to revert immediately; for manual deletion, as long as the entry is still marked with "managedBy": "vibe-check-mcp-cli", you can delete the vibe-check-mcp entry under mcpServers (Claude/Windsurf/Cursor) or servers (VS Code).
  • Configuration: create a .env file and fill in the API keys you plan to use; you can use DEFAULT_LLM_PROVIDER / DEFAULT_MODEL to set global defaults, or use modelOverride to override per call. If a Gemini call fails, the server first retries gemini-3.5-flash-lite, then falls back to a static question.
  • HTTP hardening: CORS by default only allows loopback origins, validates the Host header to prevent DNS rebinding, and the JSON request body limit is explicit and validated. If on a non-loopback hostname (Docker, reverse proxy, managed deployment) to provide services over HTTP, you need to set MCP_ALLOWED_HOSTS to that hostname or *, otherwise requests will return HTTP 403.
  • Development: use the npm workflow (npm ci, npm run build, npm test), targeting Node >= 20. The repository includes a one-click setup helper script and automatic Docker setup.

Use cases

  • Coding tasks, ambiguous tasks, high-risk tasks.
  • Complex, long-duration Agent workflows that require reflection and alignment at key checkpoints.
  • Integrating vibe_check calls into the Agent system prompt and enforcing calls before irreversible operations can significantly improve alignment and common sense.

Limitations and status

  • The project is in maintenance mode; active feature development has ended, and only security and bug fixes are released; v2.9.0 is the latest maintenance version, the server remains fully usable, and the community is welcome to fork and contribute under the MIT license.
  • Requires Node >= 20.
  • Requires configuring the API key for the corresponding LLM provider.
  • HTTP mode requires additional configuration of MCP_ALLOWED_HOSTS when deployed on non-loopback.
  • More information about fees, pricing, specific platform support scope, etc. is not yet available in the materials.