The TestVibe MCP server
testvibe mcp starts a stdio MCP server exposing the current operation catalog 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
Most tools are 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 from the local MCP process (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 current stored source at the recorded spec paths, and artifact links — no get-run → read-file → artifacts round trips.
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.
Workspace-scoped tools are list_projects, get_credits, list_billing_history, list_credit_usage, and list_credit_usage_by_member. The table above highlights documented groups; it is not the entire catalog. Ask the MCP client to list tools (tools/list) for the installed version’s schemas. Additional tools include model discovery, feature groups/history, generation questions/sessions, source repositories, assets, trace analysis, load measurements, and the Assistant.