Server facts
vibe-check-mcp-server
GitHub stars
507
Last commit
Nov 1, 2026
Runtime
node
License
MIT
Project
- Author
- PV-Bhat
- Repository
- github.com/PV-Bhat/vibe-check-mcp-server
- Website
- pruthvibhat.com/
- License
- MIT
- Category
- AI Models & Agents
Tech
- Runtime
- node
- Transports
- stdiostreamable-http
- Remote access
- No
- Authentication
- Mentor LLM API key (GEMINI_API_KEY default; optional OpenAI/Anthropic/OpenRouter)
Activity
- GitHub stars
- 507
- Last commit
- Data as of
Tags
- Automation
- Workflow Automation
- agent based
- agentic ai
- agentic workflow
- ai agents
- error handling
- mcp
- mcp server
- metacognition
- model context protocol
- model context protocol servers
- vibe coding
- vibecoding
Overview
Developers evaluating `vibe check mcp` to rein in autonomous coding sessions can wire `PV-Bhat/vibe-check-mcp-server` (MIT license, Node.js >=20) into Claude Desktop, Cursor, Windsurf (Cascade), or VS Code via `npx` using `@pv-bhat/vibe-check-mcp` in `stdio` mode or Streamable HTTP (`--http --port 2091`, serving `/mcp` and `/healthz`). Rather than adding another file or shell tool, the server invokes a secondary mentor LLM using Chain-Pattern Interrupts (CPI)—brief reflective pauses triggered after planning or before irreversible steps—to counter pattern inertia and reasoning lock-in. Providers include Google AI Studio Gemini via `@google/genai` (default `gemini-3.6-flash`, falling back via `gemini-3.5-flash-lite` to static prompts), Anthropic (`claude-sonnet-5`, `claude-opus-5`), OpenAI's GPT-5.6 lineup (such as `gpt-5.6-terra` and `gpt-5.6-luna`), and OpenRouter, configured via env keys or per-call `modelOverride`.
Its focused toolset covers `vibe_check` (assumption-challenging feedback with `sessionId` continuity), optional `vibe_learn` (logging resolved mistakes and preferences), and per-session rule enforcement via `update_constitution`, `check_constitution`, and `reset_constitution`. In the author's pooled CPI evaluation across 153 runs, interrupting 10–20% of steps raised success from 27% to 54% while lowering harmful actions from 83% to 42%. Release v2.9.0 also tightened HTTP security with loopback CORS defaults, `MCP_ALLOWED_HOSTS` DNS-rebinding checks, and a 100kb `MCP_MAX_BODY_SIZE` cap. Note that the repository is now in maintenance mode (security and bug fixes only), though v2.9.0 remains fully functional.
Install & configure
Requirements
- Node.js >= 20 (`npx -y @pv-bhat/vibe-check-mcp start --stdio`)
- API key for your chosen mentor LLM provider (`GEMINI_API_KEY` default, or `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `OPENROUTER_API_KEY`)
- Non-loopback HTTP deployments must configure `MCP_ALLOWED_HOSTS` (and `CORS_ORIGIN` if browser-accessed) to avoid HTTP 403 rejections
npx -y @pv-bhat/vibe-check-mcp start --stdioAdd `npx -y @pv-bhat/vibe-check-mcp start --stdio` to Claude Desktop, Cursor, Windsurf, or VS Code (or use the built-in idempotent CLI installers that create `.bak` backups). For Streamable HTTP, start with `--http --port 2091` and verify `http://127.0.0.1:2091/healthz`.
Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"vibe-check-mcp": {
"command": "npx",
"args": [
"-y",
"@pv-bhat/vibe-check-mcp",
"start",
"--stdio"
]
}
}
}Config file · Project: .cursor/mcp.json
User: ~/.cursor/mcp.json
The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"vibe-check-mcp": {
"command": "npx",
"args": [
"-y",
"@pv-bhat/vibe-check-mcp",
"start",
"--stdio"
]
}
}
}Config file · Workspace: .vscode/mcp.json
For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.
{
"servers": {
"vibe-check-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pv-bhat/vibe-check-mcp",
"start",
"--stdio"
]
}
}
}Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"vibe-check-mcp": {
"command": "npx",
"args": [
"-y",
"@pv-bhat/vibe-check-mcp",
"start",
"--stdio"
]
}
}
}Config file · Project scope: .mcp.json at the repository root
The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"vibe-check-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pv-bhat/vibe-check-mcp",
"start",
"--stdio"
]
}
}
}Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Tools
Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.
| Tool | What it does |
|---|---|
| vibe_check | Challenge an agent's current plan and assumptions using a mentor LLM with optional `sessionId` continuity and `modelOverride`. |
| vibe_learn | Record resolved mistakes, user preferences, and successful corrections for ongoing reflection. |
| update_constitution | Set or merge per-session rules that the CPI oversight layer enforces for a given `sessionId`. |
| reset_constitution | Clear all configured constitution rules for a specified `sessionId`. |
| check_constitution | Return the currently active constitution rules enforced for a `sessionId`. |
Use cases
- Prompt autonomous coding agents in Cursor or Claude Desktop to call `vibe_check` after planning and before risky refactors or database migrations.
- Enforce temporary guardrails like banning external network calls or requiring unit tests first via `update_constitution` per `sessionId`.
- Log recurring agent mistakes and team preferences with `vibe_learn` so subsequent reflective checks stay grounded in session history.
- Pair a primary coding model with an alternate mentor model (such as `gemini-3.6-flash` or `claude-opus-5`) via `modelOverride` for independent critique.
Strengths
- No-clone `npx` launch on Node.js >=20 with idempotent client installers and `.bak` rollback backups for Claude Desktop, Cursor, Windsurf, and VS Code.
- Multi-provider LLM registry supports Gemini (`@google/genai`), Anthropic, OpenAI, and OpenRouter with per-call `modelOverride` and static fallback.
- Per-session constitution tools (`update_constitution`, `check_constitution`, `reset_constitution`) enforce custom project rules without changing global configs.
- Hardened v2.9.0 HTTP transport validates `Host` headers (`MCP_ALLOWED_HOSTS`), enforces loopback CORS by default, and caps JSON payloads at 100kb.
Limitations
- In maintenance mode as of v2.9.0—only security and bug fixes are published, with no further feature roadmap development.
- Requires supplying an external LLM API key and adds latency/token cost for each mentor consultation call.
- Effectiveness depends on instructing your agent's system prompt to call `vibe_check` before major or irreversible actions.
vibe-check-mcp-server setup notes
- vibe-check-mcp-server's example uses stdio, while its catalog transports are stdio / streamable-http; use the example's connection type.