The TestVibe MCP server
testvibe mcp starts a stdio MCP server exposing all 77 operations as tools. It ships inside the CLI package and talks to the same REST API with the same key — setup is in Connect your AI tools.
Tools
Project scoping
Every tool except list_projects is project-scoped: it takes an optional project argument (a public id) and falls back to the configured default (testvibe use, TESTVIBE_PROJECT, or .testvibe.json). Set a default so the model doesn't have to thread the id through every call.
Designed for agents
- Tool descriptions carry the workflow.
generate_featuretells the model to follow up withwait_for_generation;run_featurepoints atwait_for_run— an agent can discover the dispatch → poll pattern from the schemas alone. wait_*tools poll server-side (3 s interval, default 120 s / max 170 s per call) so one tool call replaces a polling loop, while staying inside MCP client timeouts. Timing out cancels nothing — the model just calls the tool again.- Errors are sentences. API failures surface the server's human-readable
message, so the model can correct course ("This feature is already generating."). - Tool annotations. Read-only tools carry
readOnlyHintand irreversible ones (delete_feature,delete_file,delete_load_test) carrydestructiveHint, so MCP clients can skip or require confirmation appropriately. diagnose_runcollapses the fix loop. One call returns a failed run's failing tests, the Gherkin, the executed spec source, and artifact links — no get-run → read-file → artifacts round trips.
info
Guardrails are server-side. The MCP server adds no privileges: the write allowlist, generation locks, and workspace scoping are enforced by the API regardless of what a model asks for. See Conventions & errors.