SuperAPI AI Directory

Contradiction-MCP

Detect contradictions and architectural drift in Kubernetes manifests, READMEs, OpenAPI specs and Word docs, with deterministic scoring and resolution advice.

Open website

About this tool

Purpose: Contradiction-MCP is an autonomous Model Context Protocol (MCP) engine for fact consistency checking, version reconciliation, and conflict resolution in engineering knowledge bases, helping to discover discrepancies among Kubernetes manifests, READMEs, OpenAPI/Swagger, CI workflows, Dockerfiles, and development documentation, for example a manifest deploying Node.js 22 while the documentation requires Node.js 18, or a conflict between staging and production database engine versions.

Main capabilities: supports a GitHub connector (analyzing runtime engines, Dockerfiles, GitHub Actions workflows, READMEs), a documentation connector (extracting structured claims from JSON, YAML, Markdown, CSV, TXT, .eml, .docx with page numbers and line-number evidence), and a public website connector (a crawler with SSRF protection). The engine has context-aware contradiction determination, can distinguish environment (production/staging/development), scope (file/deployment/cluster), and role (source_of_truth/deployment/documentation), and uses deterministic SemVer version range operations with IPv4/IPv6/host type isolation to avoid comparing IPs as versions; it also supports Markdown table parsing and Shields.io and GitHub Action badge contradiction detection. Scoring and recommendation components include AuthorityScorer, FreshnessScorer, EvidenceEvaluator, and ResolutionAdvisor, the latter of which does not change state without operator consent. The review workflow supports the full lifecycle OPEN → REVIEWED → RESOLVED/DISMISSED → REOPENED with immutable audit records. Transport methods support Stdio (Claude Desktop, Google Antigravity, Cursor) or Streamable HTTP/SSE with Bearer API Key and sliding rate limiting.

Usage: it can be automatically configured into common IDEs with a single command, or set up locally from cloned source code, or a configuration block can be added manually per client; remote clients can connect to a centralizedservice daemon. The MCP interface exposes 12 canonical tools, 4 resources, and 2 prompts. For specific installation commands and configuration code, please see the project repository.

Limitations: deeply nested structures within a single file (such as K8s readinessProbe.initialDelaySeconds and livenessProbe.initialDelaySeconds) may produce false positives due to leaf-key flattening, so it is recommended to focus on cross-document comparison or filter by external source; heuristic extraction has limited support for complex natural language negation and implicit conditions; the documentation connector is restricted by allowedRoots, the website connector does not execute JavaScript and limits the number of redirects, and the GitHub connector is subject to API rate limits; it does not probe live runtimes, ephemeral cloud container states, or uncommitted database records; very large manifests have O(N^2) combinatorial complexity, with a default single-file limit of 10MB; when environment or scope is not explicitly annotated, they are treated as the same global scope; terminology and unit normalization mainly target English technical documentation and standard DevOps configurations. For the full tutorial and documentation, please visit the project repository.