VibeGuard MCP
Policy-style checks exposed as an MCP tool (audit_vibe).
Local (stdio, Cursor)
npm install
npm start
Point Cursor at index.js with the node command (see your global mcp.json).
Vercel (Streamable HTTP)
Deploy with Root Directory set to this folder (vibeguard-mcp), or from here:
npx vercel
- MCP endpoint (after deploy):
https://<your-deployment>.vercel.app/mcp
(vercel.jsonrewrites/mcp→/api/mcp.)
Configure your MCP client for Streamable HTTP to that URL (same transport family as the SDK’s remote servers). This deployment is stateless (sessionIdGenerator: undefined), which fits serverless.
Security: The HTTP endpoint is public unless you add Vercel authentication, a custom gate in api/mcp.js, or a reverse proxy. Do not expose internal guardrails to the open internet without controls.
Layout
| Path | Role |
|---|---|
index.js | stdio server for local tools |
api/mcp.js | Vercel function, Streamable HTTP |
lib/handlers.js | Shared tool registration |