CodeRifts API Governance
БесплатноНе проверенAn MCP server providing risk-aware API governance tools for AI agents. Agents call preflight checks before tool calls or merges to verify API contracts are safe
Описание
An MCP server providing risk-aware API governance tools for AI agents. Agents call preflight checks before tool calls or merges to verify API contracts are safe. Returns risk score, blast radius, agent impact, economic cost, and a deterministic ALLOW/WARN/REQUIRE_APPROVAL/BLOCK decision. MCP endpoint: https://app.coderifts.com/mcp
README
Risk-aware API compatibility governance for AI agents and CI. Before a change merges, CodeRifts predicts whether it will cause a real production problem, who breaks, by what pattern, at what business cost, and whether blocking is justified.
The market shows you what changed. CodeRifts tells you how dangerous it is, who it affects, when deployment should be blocked, and how much it will cost.
- Hosted MCP server:
https://app.coderifts.com/mcp - Manifest:
https://coderifts.com/mcp.json - Official MCP Registry:
io.github.coderifts/api-governance - Website:
https://coderifts.com - Live demo PR:
https://github.com/coderifts/demo/pull/4
MCP server
CodeRifts runs as a hosted Streamable HTTP MCP server. Any MCP-compatible agent (Claude Desktop, Cursor, LangGraph, AutoGen, custom) can connect and run governance checks before tool calls or merges.
- Endpoint:
https://app.coderifts.com/mcp - Transport: Streamable HTTP (protocol version
2025-06-18) - Server:
CodeRifts API Governancev1.0.0 - Auth: Bearer API key from coderifts.com —
Authorization: Bearer <key>
Connect
{
"mcpServers": {
"coderifts": {
"url": "https://app.coderifts.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_CODERIFTS_API_KEY>"
}
}
}
}
Verify the connection
curl -sS https://app.coderifts.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
Expected: a JSON-RPC result with serverInfo and capabilities.tools.
Tools
| Tool | What it does |
|---|---|
preflight_check |
Analyze an API spec diff before merge. Returns risk score, break probability, blast radius, agent impact, economic cost, and a merge decision (ALLOW / WARN / REQUIRE_APPROVAL / BLOCK). |
agent_tool_check |
Detect whether an API change breaks AI agent tool calling (TOOL_RESULT_SHAPE_DRIFT, AGENT_PROTOCOL_DRIFT, and more). Returns an agent-impact score and per-pattern mitigation templates. |
agent_readiness_score |
Score an OpenAPI spec or MCP manifest for AI agent readiness (0–100) across nine signals, with band and breakdown. |
registry_validate |
Validate an MCP tool registry or OpenAPI spec collection for governance health (schema consistency, auth coverage, deprecation, breaking-change density). |
agent_preflight |
Pre-flight governance check for agent workflows. Given tool schemas before/after, returns which tools break, which workflows are affected, blast radius across the agent graph, and a deploy decision. |
traffic_analyze |
Infer API spec drift from HTTP traffic samples — runtime behavioral drift detection without requiring spec changes. |
mcp_diff |
Compare two MCP manifests and detect breaking changes in tool schemas, input/output contracts, auth requirements, and tool availability. |
governance_health |
Governance health score for an API spec: A–F grade (0–100), policy violations, deprecation status, documentation coverage, and security findings. |
Every tool returns the same Decision Spec v1.0 envelope (decision, risk_score, safe_for_agent, breaking_changes, patterns, requires_migration, evidence_quality, coderifts_version, timestamp) so agent runtimes can branch on a stable contract.
How agents use it
- Before merging an API change (or before an agent calls a tool), send the before/after spec to
preflight_check. - Read
decision:ALLOWproceeds,WARNflags,REQUIRE_APPROVALpauses for a human,BLOCKstops the merge / aborts the agent step. - On
BLOCK, the response explains the patterns, blast radius, and estimated incident cost, and provides mitigation templates.
Decision logic is deterministic: a single breaking change is never silently allowed. Tests can pass and still ship a broken contract — CodeRifts checks the contract itself at PR time.
Also available
- GitHub App (zero-config, one-click install) on the GitHub Marketplace — posts a risk scorecard on every pull request.
- SDKs:
@coderifts/sdk(TypeScript / npm),coderifts-sdk(Python / PyPI). - CLI:
coderifts(npm) with a pre-push hook. - Integrations: Backstage plugin, VS Code extension, LangGraph / AutoGen / CrewAI.
Links
- Website: https://coderifts.com
- Decision Spec: https://coderifts.com/decision-spec/
- API reference: https://app.coderifts.com/api/docs
- Manifest: https://coderifts.com/mcp.json
- Contact: [email protected]
License
See LICENSE.
Установка CodeRifts API Governance
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/coderifts/api-governanceFAQ
CodeRifts API Governance MCP бесплатный?
Да, CodeRifts API Governance MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для CodeRifts API Governance?
Нет, CodeRifts API Governance работает без API-ключей и переменных окружения.
CodeRifts API Governance — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить CodeRifts API Governance в Claude Desktop, Claude Code или Cursor?
Открой CodeRifts API Governance на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare CodeRifts API Governance with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
