Skip to main content
Starts a Model Context Protocol (MCP) server that lets AI coding agents (Cursor, Claude Code, Copilot, and more) interact with Bazable natively. Once started, the server listens on stdin/stdout for JSON-RPC requests and exposes production-ready tools that inspect your contract and run tests.

Available tools

Returns all contracted endpoints with their HTTP methods and statuses.Input: none.
Returns the request and response schemas for a specific endpoint.Input: method (string), url (string).
Runs a full contract inspection (bazable inspect --json --ci) and returns violations as JSON.Input: none.
Runs mock tests on all endpoints (bazable test --json --mock --all) and returns pass/fail results.Input: none.

Usage

Options

This command takes no options.

Example

Run bazable gen context first to auto-configure Cursor and Cline with the MCP server.