The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the API Governance listing page.
Docker Compose configuration for self-hosting CodeRifts on your own infrastructure.
CodeRifts runs from a prebuilt image published to GitHub Container Registry
(ghcr.io/coderifts/app:latest) - no source checkout or local build required.
If pulling the image requires authentication, run
docker login ghcr.iofirst.
CodeRifts is available as a Model Context Protocol (MCP) server so AI agents can run governance and contract-safety checks before they call or merge API changes. The server speaks MCP JSON-RPC over Streamable HTTP.
io.github.coderifts/api-governancehttps://app.coderifts.com/mcphttps://<your-host>/mcp (same path on your own instance)Authorization: Bearer cr_live_YOUR_KEY on tool calls. The initialize and tools/list methods are open (no key required) so clients can discover the tools without authenticating.| Tool | Description |
|---|---|
preflight_check | Analyze an API spec diff before merge. Returns risk score, blast radius, agent impact, and a merge decision (ALLOW / WARN / REQUIRE_APPROVAL / BLOCK). |
agent_tool_check | Check whether an API change breaks AI agent tool calling (endpoint removal, newly required fields, result-shape drift). |
agent_readiness_score | Score an OpenAPI spec or MCP manifest for AI-agent readiness (0–100) with recommendations. |
registry_validate | Validate an MCP tool registry or OpenAPI spec collection for governance health. |
agent_preflight | Pre-flight governance check for agent workflows, given tool schemas before and after a change. |
mcp_diff | Compare two MCP manifests and detect breaking changes in tool schemas, input/output types, and descriptions. |
governance_health | Governance health score for an API spec (A–F grade, policy compliance, recommendations). |
Add CodeRifts to claude_desktop_config.json using the remote bridge:
Replace cr_live_YOUR_KEY with your CodeRifts API key, restart Claude Desktop, and the seven tools above become available.
For full documentation, visit coderifts.com/docs.
See coderifts.com for licensing terms.