Kafka Schema Drift Auto-Fixer

कॉन्फ्लुएंट स्कीमा रजिस्ट्री के लिए निःशुल्क ड्रिफ्ट डिटेक्टर और एंटरप्राइज AST ऑटो-फिक्सर के लिए संस्करण तुलना गेटवे। कॉन्फ्लुएंट से जुड़ता है, विषयों को सूचीबद्ध करता है, और जोड़े गए, हटाए गए या संशोधित फ़ील्ड की पहचान करता है।

दस्तावेज़

Kafka Schema Drift Auto-Fixer — Community Edition

Free schema drift detection for Confluent Schema Registry. For automated AST refactoring, test payload generation, and PR creation, upgrade to the Enterprise edition on MCPize →


What This Does

This free MCP server connects to your Confluent Schema Registry and:

  • ✅ Lists all registered subjects
  • ✅ Detects added, removed, and modified fields between schema versions
  • ✅ Classifies breaking vs. backward-compatible changes
  • Does NOT rewrite consumer code (Enterprise only)
  • Does NOT generate test payloads (Enterprise only)
  • Does NOT create Pull Requests (Enterprise only)

Install

pip install -r requirements.txt

Usage

Run as stdio MCP server

python server.py

Configure in your MCP client (e.g., Claude Desktop)

{
  "mcpServers": {
    "kafka-schema-drift-community": {
      "command": "python",
      "args": ["/path/to/community-edition/server.py"]
    }
  }
}

Available Tools

detect_schema_drift

registry_url:  https://your-registry.confluent.cloud
api_key:       <your-api-key>
api_secret:    <your-api-secret>
subject:       payments-value
from_version:  3
to_version:    4

list_subjects

registry_url:  https://your-registry.confluent.cloud
api_key:       <your-api-key>
api_secret:    <your-api-secret>

Example Output

📊 Schema Drift Report: `payments-value` v3 → v4

✅ Added: `correlation_id` (string) [default: '']
🔴 Removed: `legacy_trace_id` (string) — BREAKING
🟠 Modified: `amount` long → double

⚠️  Breaking changes detected across downstream consumer services.

─────────────────────────────────────────────────────────────────
🚀 UPGRADE TO ENTERPRISE
Breaking changes detected. To automatically generate AST refactoring
PRs and rewrite downstream DTOs across all consumer microservices,
upgrade to the Enterprise Kafka Schema Drift Auto-Fixer on MCPize:
👉 https://mcpize.com/mcp/kafka-schema-drift-auto-fixer-mcp
─────────────────────────────────────────────────────────────────

Enterprise Features (Upgrade to unlock)

FeatureCommunityEnterprise ($49.99/mo)
Schema drift detection
Breaking change classification
Polyglot AST rewriting (Python/Go/TS)
Tree-sitter struct injection
Unit test payload regeneration
Automated PR generation
Parallel subagent processing
Cryptographic supply chain signing

→ Upgrade on MCPize


License

MIT — Community Edition only. Enterprise core-logic is proprietary.