Sponsored by Deepsite.site

🧠 Vibe Check MCP V2.5

Created By
Pruthvi Bhat (PV-Bhat)5 months ago
Tool to Prevent AI tunnel-vision in critical workflows. Vibe Check MCP v2.5 introduces Chain-Pattern Interrupts (CPI) to enhance your infrastructure stack. mitigates over-engineering, scope creep, and misalignment by injecting Socratic checkpoints into agent reasoning. - Supports Gemini API, OpenRouter and OpenAI models. - Logs errors for continuous improvement. - Trusted by 11k+ developers. - Strong CI and Security testing protocol built in. Integrate this metacognitive guardrail into your blockchain, data pipelines, or agent-development stacks for robust AI safety and alignment. Visit https://pruthvibhat.com/work/vibecheck-mcp/ for more details. Links: https://murst.org/ https://pruthvibhat.com/ Author: Pruthvi Bhat Tags: metacognition, CPI, AI-safety, agent-frameworks, infrastructure-tools,
Content

🧠 Vibe Check MCP v2.5.0

CPI (MURST) Research

CPI × Vibe Check
Vibe Check uses CPI (Chain-Pattern Interrupt) for the runtime oversight. Across 153 runs in the study, success increased from ~27% → 54% and harm dropped from ~83% → 42% when CPI was applied.

vibecheckv2.5

Adaptive metacognitive oversight for autonomous AI agents – a research-backed MCP server keeping LLMs aligned, reflective and safe.

The Most Widely-Deployed Feedback Layer in the MCP Ecosystem

~17k+ downloads on PulseMCP and counting. Over 1k monthly tool calls via Smithery. Listed on 12+ MCP platforms. Security rating 4.3 on MSEEP.ai.

Version License CI Coverage

Trust Score

smithery badge Verified on MseeP DOI: 10.5281/zenodo.14851363 PRs Welcome

Table of Contents


What is Vibe Check MCP?

Vibe Check MCP is a lightweight server implementing Anthropic's Model Context Protocol. It acts as an AI meta-mentor for your agents, interrupting pattern inertia with Chain-Pattern Interrupts (CPI) to prevent Reasoning Lock-In (RLI). Think of it as a rubber-duck debugger for LLMs – a quick sanity check before your agent goes down the wrong path.

The Problem: Pattern Inertia & Reasoning Lock-In

Large language models can confidently follow flawed plans. Without an external nudge they may spiral into overengineering or misalignment. Vibe Check provides that nudge through short reflective pauses, improving reliability and safety.

Key Features

FeatureDescriptionBenefits
CPI Adaptive InterruptsPhase-aware prompts that challenge assumptionsalignment, robustness
Multi-provider LLMGemini, OpenAI and OpenRouter supportflexibility
History ContinuitySummarizes prior advice when sessionId is suppliedcontext retention
Optional vibe_learnLog mistakes and fixes for future reflectionself-improvement

What's New in v2.5.0

  • Transport → Streamable HTTP (JSON-RPC over HTTP; SSE optional). No more STDIO coupling; concurrent clients supported.
  • Session “Constitution”: three tool calls to configure user rules per sessionIdupdate_constitution, reset_constitution, check_constitution.
  • Research surfaced: banner + concise CPI summary and links (RG + Git + Zenodo).

Quickstart & Installation

# Clone and install
git clone https://github.com/PV-Bhat/vibe-check-mcp-server.git
cd vibe-check-mcp-server
npm install
npm run build

This project targets Node 20+. If you see a TypeScript error about a duplicate require declaration when building with Node 20.19.3, ensure your dependencies are up to date (npm install) or use the Docker setup below which handles the build automatically.

Create a .env file with the API keys you plan to use:

# Gemini (default)
GEMINI_API_KEY=your_gemini_api_key
# Optional providers
OPENAI_API_KEY=your_openai_api_key
OPENROUTER_API_KEY=your_openrouter_api_key
# Optional overrides
DEFAULT_LLM_PROVIDER=gemini
DEFAULT_MODEL=gemini-2.5-pro

Start the server:

npm start

See docs/TESTING.md for instructions on how to run tests.

Docker

The repository includes a helper script for one-command setup. It builds the image, saves your GEMINI_API_KEY and configures the container to start automatically whenever you log in:

bash scripts/docker-setup.sh

This script:

  • Creates ~/vibe-check-mcp for persistent data
  • Builds the Docker image and sets up docker-compose.yml
  • Prompts for your API key and writes ~/vibe-check-mcp/.env
  • Installs a systemd service (Linux) or LaunchAgent (macOS) so the container starts at login
  • Generates vibe-check-tcp-wrapper.sh which proxies Cursor IDE to the server After running it, open Cursor IDE → SettingsMCP and add a new server of type Command pointing to:
~/vibe-check-mcp/vibe-check-tcp-wrapper.sh

See Automatic Docker Setup for full details. If you prefer to run the commands manually:

docker build -t vibe-check-mcp .
docker run -e GEMINI_API_KEY=your_gemini_api_key -p 3000:3000 vibe-check-mcp

Integrating with Claude Desktop

Add to claude_desktop_config.json:

"vibe-check": {
  "command": "node",
  "args": ["/path/to/vibe-check-mcp/build/index.js"],
  "env": { "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY" }
}

Research & Philosophy

CPI (Chain-Pattern Interrupt) is the research-backed oversight method behind Vibe Check. It injects brief, well-timed “pause points” at risk inflection moments to re-align the agent to the user’s true priority, preventing destructive cascades and reasoning lock-in (RLI). In pooled evaluation across 153 runs, CPI nearly doubles success (~27%→54%) and roughly halves harmful actions (~83%→42%). Optimal interrupt dosage is ~10–20% of steps. Vibe Check MCP implements CPI as an external mentor layer at test time.

Links:

Usage Examples

import { vibe_check } from 'vibe-check-mcp';
const result = await vibe_check({
  goal: 'Write unit tests',
  plan: 'Use vitest for coverage',
  sessionId: 'demo1'
});
console.log(result.questions);
flowchart TD
  A[Agent Phase] --> B{Monitor Progress}
  B -- high risk --> C[CPI Interrupt]
  C --> D[Reflect & Adjust]
  B -- smooth --> E[Continue]

Adaptive Metacognitive Interrupts (CPI)

Advanced CPI Details The CPI architecture monitors planning, implementation and review phases. When uncertainty spikes, Vibe Check pauses execution, poses clarifying questions and resumes once the agent acknowledges the feedback.

Agent Prompting Essentials

In your agent's system prompt, make it clear that vibe_check is a mandatory tool for reflection. Always pass the full user request and other relevant context. After correcting a mistake, you can optionally log it with vibe_learn to build a history for future analysis.

Example snippet:

As an autonomous agent you will:
1. Call vibe_check after planning and before major actions.
2. Provide the full user request and your current plan.
3. Optionally, record resolved issues with vibe_learn.

When to Use Each Tool

ToolPurpose
🛑 vibe_checkChallenge assumptions and prevent tunnel vision
🔄 vibe_learnCapture mistakes, preferences and successes

Documentation

Security

This repository includes a CI-based security scan that runs on every pull request. It checks dependencies with npm audit and scans the source for risky patterns. See SECURITY.md for details and how to report issues.

Roadmap

  1. Benchmarks and latency profiling
  2. Adaptive tuning based on agent performance
  3. Multi-agent cooperation support
  4. Optional human-in-the-loop review

Contributing & Community

Contributions are welcome! See CONTRIBUTING.md.

FAQ

  • Does it increase latency? A single CPI call typically adds ~1 second depending on the provider.
  • Can I disable logging? Yes, vibe_learn is optional.

Find Vibe Check MCP on

Star History

Star History Chart

Credits & License

Vibe Check MCP is released under the MIT License. Built for reliable, enterprise-ready AI agents.

Vibe Check MCP created by: Pruthvi Bhat, Intiative - https://murst.org/

Server Config

{
  "mcpServers": {
    "vibe-check": {
      "command": "node",
      "args": [
        "/path/to/vibe-check-mcp/build/index.js"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
DeepChatYour AI Partner on Desktop
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic