A comprehensive Model Context Protocol (MCP) server that provides Claude Desktop and other MCP clients with tools for Kafka Schema Registry operations. Features advanced schema context support, multi-registry management, and comprehensive schema export capabilities. Latest Version: v2.1.5 | Docker: aywengo/kafka-schema-reg-mcp:stable - ๐ Quick Start - โจ Key Features - ๐ ๏ธ Claude Code Skills - ๐ฆ
Add this skill
npx mdskills install aywengo/kafka-schema-reg-mcpComprehensive Kafka Schema Registry MCP server with 50+ tools, multi-registry support, and excellent documentation
A comprehensive Model Context Protocol (MCP) server that provides Claude Desktop and other MCP clients with tools for Kafka Schema Registry operations. Features advanced schema context support, multi-registry management, and comprehensive schema export capabilities.

๐ฏ True MCP Implementation: Uses modern FastMCP 2.8.0+ framework with full MCP 2025-06-18 specification compliance. Fully compatible with Claude Desktop and other MCP clients using JSON-RPC over
stdio.
Latest Version: v2.1.5 | Docker: aywengo/kafka-schema-reg-mcp:stable
# Latest stable release
docker pull aywengo/kafka-schema-reg-mcp:stable
# Recommended: Run with SLIM_MODE for optimal performance (reduced essential tool set)
docker run -e SCHEMA_REGISTRY_URL=http://localhost:8081 -e SLIM_MODE=true aywengo/kafka-schema-reg-mcp:stable
# OR run with full feature set for administrators/SRE
docker run -e SCHEMA_REGISTRY_URL=http://localhost:8081 aywengo/kafka-schema-reg-mcp:stable
Copy a ready-to-use configuration from config-examples/:
# macOS
cp config-examples/claude_desktop_stable_config.json ~/Library/Application\ Support/Claude/claude_desktop_config.json
# Linux
cp config-examples/claude_desktop_stable_config.json ~/.config/claude-desktop/config.json
Restart Claude Desktop and try these prompts:
๐ See detailed feature descriptions: docs/api-reference.md
This project includes 5 specialized Claude Code skills โ 4 for automated schema development workflows plus 1 for schema context comparison (/context-compare, documented below):
/schema-generate - Generate production-ready Avro schemas from natural language
/schema-generate event UserRegistered "user registration with userId, email, timestamp"
/schema-evolve - Safely evolve schemas with automatic compatibility checking
/schema-evolve user-profile "add optional phoneNumber field"
/migration-plan - Create detailed migration plans between environments
/migration-plan development staging
/lint-and-test - Automated quality assurance workflows
/lint-and-test quick # Before commit (2-3s)
/lint-and-test fix # Auto-fix issues (20-30s)
/lint-and-test pre-push # Before push (10-15s)
Quick Start: Read .claude-code/SKILLS_GUIDE.md - 5-minute tutorial
Complete Reference: .claude-code/skills/README.md - Full documentation
Setup Summary: .claude-code/skills/README.md - Configuration details
Try it now: /schema-generate event TestEvent "test with id and timestamp"
# Production stable
docker pull aywengo/kafka-schema-reg-mcp:stable
# Latest development
docker pull aywengo/kafka-schema-reg-mcp:latest
# Specific version
docker pull aywengo/kafka-schema-reg-mcp:2.1.3
To reduce LLM overhead, run with SLIM_MODE enabled:
# Run with a reduced essential tool set
docker run -e SCHEMA_REGISTRY_URL=http://localhost:8081 -e SLIM_MODE=true aywengo/kafka-schema-reg-mcp:stable
๐ก SLIM_MODE Benefits:
- Reduces tool count to an essential subset
- Significantly faster LLM response times
- Lower token usage and reduced costs
- Ideal for production read-only operations
- Maintains full remote deployment support
git clone https://github.com/aywengo/kafka-schema-reg-mcp
cd kafka-schema-reg-mcp
pip install -r requirements.txt
python kafka_schema_registry_unified_mcp.py
docker-compose up -d # Includes Schema Registry for testing
๐ Detailed installation guide: docs/deployment.md
export SCHEMA_REGISTRY_URL="http://localhost:8081"
export SCHEMA_REGISTRY_USER="" # Optional
export SCHEMA_REGISTRY_PASSWORD="" # Optional
export VIEWONLY="false" # Production safety
export SLIM_MODE="false" # Optional: Enable to reduce tool overhead (default: false)
# Development Registry
export SCHEMA_REGISTRY_NAME_1="development"
export SCHEMA_REGISTRY_URL_1="http://dev-registry:8081"
export VIEWONLY_1="false"
# Production Registry (with safety)
export SCHEMA_REGISTRY_NAME_2="production"
export SCHEMA_REGISTRY_URL_2="http://prod-registry:8081"
export VIEWONLY_2="true" # Read-only protection
Pre-configured examples available in config-examples/:
| Configuration | Use Case | File |
|---|---|---|
| Production | Stable Docker deployment | claude_desktop_stable_config.json |
| Multi-Environment | DEV/STAGING/PROD registries | claude_desktop_multi_registry_docker.json |
| Local Development | Python local execution | claude_desktop_config.json |
| View-Only Safety | Production with safety | claude_desktop_viewonly_config.json |
๐ Complete configuration guide: config-examples/README.md
SLIM_MODE reduces the number of exposed MCP tools to an essential subset, significantly reducing LLM overhead and improving response times.
๐ก Recommendation: SLIM_MODE is recommended for most use cases as it provides all essential schema management capabilities with optimal performance.
export SLIM_MODE="true" # Reduces tools from 50+ to ~9
# Enables reduced essential tool set
Essential Read-Only Tools:
ping - Server health checkset_default_registry, get_default_registry - Registry managementcount_contexts, count_schemas, count_schema_versions - StatisticsBasic Write Operations:
register_schema - Register new schemascheck_compatibility - Schema compatibility checkingcreate_context - Create new contextsEssential Export Operations:
export_schema - Export single schemaexport_subject - Export all subject versionsResources Available (All Modes):
registry://, schema://, subject:// resource URIsTools Hidden in SLIM_MODE:
migrate_schema, migrate_context)clear_context_batch)export_context, export_global)*_interactive variants)Note: Task status tracking is now handled by FastMCP's built-in Docket system. Custom task management tools have been removed in favor of FastMCP's native task tracking.
Note: You can switch between modes by restarting with
SLIM_MODE=falseto access the full tool set.
This section provides a comprehensive analysis of all MCP tools and resources exposed by the Kafka Schema Registry MCP Server.
These tools are maintained for backward compatibility with existing clients. They internally use efficient implementations but are exposed as tools to prevent "Tool not listed" errors. Consider migrating to the corresponding resources for better performance.
| Tool Name | SLIM_MODE | Scope | Recommended Resource | Description |
|---|---|---|---|---|
list_registries | โ | read | registry://names | List all configured registries |
get_registry_info | โ | read | registry://info/{name} | Get registry information |
test_registry_connection | โ | read | registry://status/{name} | Test registry connection |
test_all_registries | โ | read | registry://status | Test all registry connections |
list_subjects | โ | read | registry://{name}/subjects | List all subjects |
get_schema | โ | read | schema://{name}/{context}/{subject} | Get schema content |
get_schema_versions | โ | read | schema://{name}/{context}/{subject}/versions | Get schema versions |
get_global_config | โ | read | registry://{name}/config | Get global configuration |
get_mode | โ | read | registry://mode | Get registry mode |
list_contexts | โ | read | registry://{name}/contexts | List all contexts |
get_subject_config | โ | read | subject://{name}/{context}/{subject}/config | Get subject configuration |
get_subject_mode | โ | read | subject://{name}/{context}/{subject}/mode | Get subject mode |
| Category | Name | Type | SLIM_MODE | Scope | Description |
|---|---|---|---|---|---|
| Core | ping | Tool | โ | read | MCP ping/pong health check |
| Registry Management | set_default_registry | Tool | โ | admin | Set default registry |
| Registry Management | get_default_registry | Tool | โ | read | Get current default registry |
| Schema Operations | register_schema | Tool | โ | write | Register new schema version |
| Schema Operations | check_compatibility | Tool | โ | read | Check schema compatibility |
| Context Management | create_context | Tool | โ | write | Create new context |
| Context Management | delete_context | Tool | โ | admin | Delete context |
| Subject Management | delete_subject | Tool | โ | admin | Delete subject and versions |
| Configuration | update_global_config | Tool | โ | admin | Update global configuration |
| Configuration | update_subject_config | Tool | โ | admin | Update subject configuration |
| Configuration | add_subject_alias | Tool | โ | write | Create alias subject pointing to an existing subject |
| Configuration | delete_subject_alias | Tool | โ | write | Remove an alias subject |
| Mode Management | update_mode | Tool | โ | admin | Update registry mode |
| Mode Management | update_subject_mode | Tool | โ | admin | Update subject mode |
| Statistics | count_contexts | Tool | โ | read | Count contexts |
| Statistics | count_schemas | Tool | โ | read | Count schemas |
| Statistics | count_schema_versions | Tool | โ | read | Count schema versions |
| Statistics | get_registry_statistics | Tool | โ | read | Get comprehensive registry stats |
| Export | export_schema | Tool | โ | read | Export single schema |
| Export | export_subject | Tool | โ | read | Export all subject versions |
| Export | export_context | Tool | โ | read | Export all context subjects |
| Export | export_global | Tool | โ | read | Export all contexts/schemas |
| Export | export_global_interactive | Tool | โ | read | Interactive global export |
| Migration | migrate_schema | Tool | โ | admin | Migrate schema between registries |
| Migration | migrate_context | Tool | โ | admin | Migrate context between registries |
| Migration | migrate_context_interactive | Tool | โ | admin | Interactive context migration |
| Comparison | compare_registries | Tool | โ | read | Compare two registries |
| Comparison | compare_contexts_across_registries | Tool | โ | read | Compare contexts across registries |
| Comparison | find_missing_schemas | Tool | โ | read | Find missing schemas |
| Batch Operations | clear_context_batch | Tool | โ | admin | Clear context with batch operations |
| Batch Operations | clear_multiple_contexts_batch | Tool | โ | admin | Clear multiple contexts |
| Interactive | register_schema_interactive | Tool | โ | write | Interactive schema registration |
| Interactive | check_compatibility_interactive | Tool | โ | read | Interactive compatibility check |
| Interactive | create_context_interactive | Tool | โ | write | Interactive context creation |
| Resource Discovery | list_available_resources | Tool | โ | read | List all available resources |
| Resource Discovery | suggest_resource_for_tool | Tool | โ | read | Get resource migration suggestions |
| Resource Discovery | generate_resource_templates | Tool | โ | read | Generate resource URI templates |
| Elicitation | submit_elicitation_response | Tool | โ | write | Submit elicitation response |
| Elicitation | list_elicitation_requests | Tool | โ | read | List elicitation requests |
| Elicitation | get_elicitation_request | Tool | โ | read | Get elicitation request details |
| Elicitation | cancel_elicitation_request | Tool | โ | admin | Cancel elicitation request |
| Elicitation | get_elicitation_status | Tool | โ | read | Get elicitation system status |
| Workflows | list_available_workflows | Tool | โ | read | List available workflows |
| Workflows | get_workflow_status | Tool | โ | read | Get workflow status |
| Workflows | guided_schema_migration | Tool | โ | admin | Start schema migration wizard |
| Workflows | guided_context_reorganization | Tool | โ | admin | Start context reorganization wizard |
| Workflows | guided_disaster_recovery | Tool | โ | admin | Start disaster recovery wizard |
| Utility | get_mcp_compliance_status_tool | Tool | โ | read | Get MCP compliance status |
| Utility | get_oauth_scopes_info_tool | Tool | โ | read | Get OAuth scopes information |
| Utility | test_oauth_discovery_endpoints | Tool | โ | read | Test OAuth discovery endpoints |
| Utility | get_operation_info_tool | Tool | โ | read | Get operation metadata |
| Utility | check_viewonly_mode | Tool | โ | read | Check if registry is in viewonly mode |
| RESOURCES | registry://status | Resource | โ | read | Overall registry connection status |
| RESOURCES | registry://info | Resource | โ | read | Detailed server configuration |
| RESOURCES | registry://mode | Resource | โ | read | Registry mode detection |
| RESOURCES | registry://names | Resource | โ | read | List of configured registry names |
| RESOURCES | registry://status/{name} | Resource | โ | read | Specific registry connection status |
| RESOURCES | registry://info/{name} | Resource | โ | read | Specific registry configuration |
| RESOURCES | registry://mode/{name} | Resource | โ | read | Specific registry mode |
| RESOURCES | registry://{name}/subjects | Resource | โ | read | List subjects for registry |
| RESOURCES | registry://{name}/contexts | Resource | โ | read | List contexts for registry |
| RESOURCES | registry://{name}/config | Resource | โ | read | Global config for registry |
| RESOURCES | schema://{name}/{context}/{subject} | Resource | โ | read | Schema content with context |
| RESOURCES | schema://{name}/{subject} | Resource | โ | read | Schema content default context |
| RESOURCES | schema://{name}/{context}/{subject}/versions | Resource | โ | read | Schema versions with context |
| RESOURCES | schema://{name}/{subject}/versions | Resource | โ | read | Schema versions default context |
| RESOURCES | subject://{name}/{context}/{subject}/config | Resource | โ | read | Subject config with context |
| RESOURCES | subject://{name}/{subject}/config | Resource | โ | read | Subject config default context |
| RESOURCES | subject://{name}/{context}/{subject}/mode | Resource | โ | read | Subject mode with context |
| RESOURCES | subject://{name}/{subject}/mode | Resource | โ | read | Subject mode default context |
| RESOURCES | elicitation://response/{request_id} | Resource | โ | write | Elicitation response handling |
# In Claude Desktop, use natural language:
"Register a user schema with id, name, email fields"
"Check if my updated schema is compatible"
"Export all schemas from staging context"
"List subjects in production context"
"Compare development and production registries"
"Migrate user-events schema from staging to production"
"Test connections to all registries"
"Show me registry statistics"
"Clear all schemas from test context"
"Export global schemas for backup"
"Count schemas across all contexts"
๐ More examples: examples/ | ๐ Use cases: docs/use-cases.md
# Enable authentication
export ENABLE_AUTH=true
export AUTH_ISSUER_URL="https://your-oauth-provider.com"
export AUTH_AUDIENCE="your-client-id"
Supported Providers: Azure AD, Google OAuth, Keycloak, Okta, GitHub
Permission Scopes:
read - View schemas, configurationswrite - Register schemas, update configs (includes read)admin - Delete subjects, full control (includes write + read)๐ Security guide: docs/deployment.md#security
| Guide | Description |
|---|---|
| API Reference | Complete tool documentation with examples |
| Subject Aliasing | How to add and remove subject aliases |
| Use Cases | Real-world scenarios and implementation patterns |
| Deployment Guide | Docker, Kubernetes, cloud platforms, CI/CD |
| IDE Integration | VS Code, Claude Code, Cursor setup |
| Configuration Examples | Ready-to-use Claude Desktop configs |
| Testing Guide | Comprehensive testing setup |
| Changelog | Version history and migration notes |
| v2.0.0 Highlights | Major version features |
cd tests/
./run_all_tests.sh --quick # Essential tests
./run_all_tests.sh # Complete test suite
python tests/test_docker_mcp.py
# From repository root
cd inspector-tests
# Single registry (DEV)
./run-inspector-tests.sh stable
# Multi-registry (DEV + PROD)
./run-inspector-tests.sh multi
# Test a specific Docker tag
DOCKER_VERSION=latest ./run-inspector-tests.sh stable
๐ Testing guide: TESTING_SETUP_GUIDE.md
# With docker-compose
docker-compose up -d
# Direct Docker
docker run -d -p 38000:8000 \
-e SCHEMA_REGISTRY_URL=http://registry:8081 \
aywengo/kafka-schema-reg-mcp:stable
# Using Helm charts
helm install kafka-schema-mcp ./helm/kafka-schema-reg-mcp
๐ Deployment guide: docs/deployment.md
We welcome contributions! Please see:
git clone https://github.com/aywengo/kafka-schema-reg-mcp
cd kafka-schema-reg-mcp
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python kafka_schema_registry_unified_mcp.py
add_subject_alias and delete_subject_alias๐ Full changelog: CHANGELOG.md | ๐ v2.0.0 features: README-v2.0.0-HIGHLIGHTS.md
๐ณ Glama.ai:
๐ณ Docker Hub: aywengo/kafka-schema-reg-mcp | ๐ Stats: 50+ MCP Tools (12 backward compatibility), 19 Resources, 8 Registries, OAuth 2.1, Multi-platform
License: MIT | Maintainer: @aywengo | Issues: GitHub Issues
Install via CLI
npx mdskills install aywengo/kafka-schema-reg-mcpKafka Schema Registry MCP Server is a free, open-source AI agent skill. A comprehensive Model Context Protocol (MCP) server that provides Claude Desktop and other MCP clients with tools for Kafka Schema Registry operations. Features advanced schema context support, multi-registry management, and comprehensive schema export capabilities. Latest Version: v2.1.5 | Docker: aywengo/kafka-schema-reg-mcp:stable - ๐ Quick Start - โจ Key Features - ๐ ๏ธ Claude Code Skills - ๐ฆ
Install Kafka Schema Registry MCP Server with a single command:
npx mdskills install aywengo/kafka-schema-reg-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
Kafka Schema Registry MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.