The definitive Vibe Coder's sanity check MCP server: Prevents cascading errors by calling a "Vibe-check" agent to ensure alignment and prevent scope creep
Used in 1,000+ real workflows.
Featured across 10+ orchestration platforms.
6.5K+ developers already trust it to prevent agentic cascade errors.
Vibe Check is a metacognitive layer that keeps AI coding agents honest. It pauses the agent at key moments, challenges shaky assumptions and records what worked (or failed) so the next run is smarter. Think of it as the agent's inner rubber duckβalways nudging the conversation back to the user's actual needs.
TL;DR: Vibe Check makes AI coding agents more resilient and aligned by enforcing moments of reflection.
LLMs often follow the first solution they imagine. Once that pattern takes hold they elaborate on it even if it drifts from the original goal. Without an external nudge the agent seldom questions its direction, leading to misalignment, overengineering and wasted cycles.
learnlm-2.0-flash-experimental
model (with automatic fallback to gemini-2.5-flash
and gemini-2.0-flash
)
for up to a 1M token context window.vibe_check
.These two tools feed each other. vibe_check
interrupts questionable plans,
vibe_learn
captures the lesson, and the growing log informs the next
vibe_check
call via the model's 1M token context window.
[vibe_check] <----> [vibe_learn]
^ |
|________________|
The more your agent works, the more context Vibe Check has to keep it on the right path.
# 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 your API key:
GEMINI_API_KEY=your_gemini_api_key
Start the server:
npm start
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:
~/vibe-check-mcp
for persistent datadocker-compose.yml
~/vibe-check-mcp/.env
vibe-check-tcp-wrapper.sh
which proxies Cursor IDE to the serverAfter running it, open Cursor IDE β Settings β MCP 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
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" }
}
In your agent's system prompt make it clear that vibe_check
is a mandatory
pattern interrupt. Always pass the full user request and specify the current
phase (planning
, implementation
, or review
). After correcting a mistake,
log it with vibe_learn
so the system can recognize it next time.
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. Record resolved issues with vibe_learn so future checks get smarter.
Tool | Purpose |
---|---|
π vibe_check | Challenge assumptions and prevent tunnel vision |
π vibe_learn | Capture mistakes, preferences and successes |
Contributions are welcome! See CONTRIBUTING.md.
Performs gene set enrichment analysis using the Enrichr API, supporting all available gene set libraries.
Extracts images from files, URLs, or base64 strings and converts them to base64 for LLM analysis.
An example of deploying a remote MCP server on Cloudflare Workers without authentication.
Provides multi-cluster Kubernetes management and operations using MCP, It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
Interact with Homebrew (the package manager for macOS and Linux) using natural language commands.
Bring the full power of BrowserStackβs Test Platform to your AI tools, making testing faster and easier for every developer and tester on your team.
MCP Server for PGYER platform, supports uploading, querying apps, etc.
Aggregates multiple MCP resource servers into a single interface with stdio/sse support.
Interact with various build systems including Gradle, Maven, NPM/Yarn, Cargo, Python, Makefile, and CMake.
Provides real-time Flutter/Dart documentation and pub.dev package information to AI assistants, supporting all packages on demand.