Purpose
kafka-schema-reg-mcp is a comprehensive Model Context Protocol (MCP) server for Kafka Schema Registry operations. It enables Claude Desktop and other MCP clients to directly manage Schema Registry through a natural language interface, including schema registration, compatibility checks, context management, cross-registry migration, and export.
Key Capabilities
- Claude Desktop Integration: Direct integration with MCP clients such as Claude Desktop via JSON-RPC over stdio, providing a natural language interaction interface.
- Multi-Registry Support: Can manage up to 8 Schema Registry instances simultaneously.
- Schema Contexts: Isolate production/staging environments through logical grouping.
- Schema Migration: Supports cross-registry migration, including backup and validation.
- Comprehensive Export: Supports JSON and Avro IDL formats for backup and documentation.
- Production Safety: Provides VIEWONLY mode and per-registry access control.
- OAuth 2.1 Authentication: Enterprise-grade security with scope-based permissions (read, write, admin).
- Real-Time Progress: Asynchronous operations support progress tracking and cancellation.
- Resource Links: HATEOAS navigation provided in tool responses.
- Full MCP Compliance: 50+ tools, following the MCP 2025-11-25 specification.
- SLIM_MODE: Reduces the number of tools from 50+ to about 9 core tools, improving LLM performance.
Claude Code Skills
The project includes 5 dedicated Claude Code skills:
/schema-generate: Generate production-grade Avro Schema from natural language./schema-evolve: Safely evolve Schema with automatic compatibility checks./migration-plan: Create detailed migration plans between environments./lint-and-test: Automate quality assurance workflows./context-compare: Schema context comparison.
Usage
Installation and Running
Docker is recommended:
docker run aywengo/kafka-schema-reg-mcp:stable
Local Python or Docker Compose can also be used. For detailed installation instructions, see docs/deployment.md.
Configure Claude Desktop
Copy ready-made configurations from config-examples/, supporting single-registry mode and multi-registry mode (up to 8).
Usage Examples
After restarting Claude Desktop, you can try the following prompts:
- "List all schema contexts"
- "Show me the subjects in the production context"
- "Register a new user schema with fields for id, name, and email"
SLIM_MODE
Enable by setting SLIM_MODE=true, reducing the number of exposed MCP tools, lowering LLM overhead, and speeding up responses. It is suitable for most daily operations and read-only production environments. All 19 resources remain available under SLIM_MODE.
Applicable Scenarios
- Developers using Claude Desktop to manage Kafka Schema Registry.
- Teams that need to migrate and synchronize schemas across multiple registries.
- Operations/SRE teams that need read-only secure access to production environments.
- Workflows that need automated schema generation, evolution, and compatibility checks.
Limitations
- Multi-registry support is capped at 8 instances.
- Under SLIM_MODE, migration, batch operations, advanced export/import, interactive tools, etc. are hidden.
- OAuth 2.1 is an optional feature and requires configuring a supported provider (Azure AD, Google OAuth, Keycloak, Okta, GitHub).
- The custom task management tool has been removed; task status tracking is handled by FastMCP's built-in Docket system.
- Specific fees, pricing, platform compatibility, etc. are not provided in the materials.