AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Kafka Schema Reg Mcp

mcp-aywengo-kafka-schema-reg-mcp · by aywengo

A comprehensive Message Control Protocol (MCP) server for Kafka Schema Registry.

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add mcp-aywengo-kafka-schema-reg-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-aywengo-kafka-schema-reg-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Kafka Schema Reg Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

[](https://mseep.ai/app/aywengo-kafka-schema-reg-mcp) [](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](https://hub.docker.com/r/aywengo/kafka-schema-reg-mcp) [](https://github.com/aywengo/kafka-schema-reg-mcp/releases) [](https://github.com/aywengo/kafka-schema-reg-mcp/issues) [](https://hub.docker.com/r/aywengo/kafka-schema-reg-mcp) [](https://github.com/aywengo/kafka-schema-reg-mcp/graphs/commit-activity) [](https://modelcontextprotocol.io) [](https://archestra.ai/mcp-catalog/aywengo__kafka-schema-reg-mcp)

Kafka Schema Registry MCP Server

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](CHANGELOG.md) | Docker: aywengo/kafka-schema-reg-mcp:stable

📋 Table of Contents

  • [🚀 Quick Start](#-quick-start)
  • [✨ Key Features](#-key-features)
  • [🛠️ Claude Code Skills](#️-claude-code-skills)
  • [📦 Installation](#-installation)
  • [⚙️ Configuration](#️-configuration)
  • [💬 Usage Examples](#-usage-examples)
  • [🔒 Authentication & Security](#-authentication--security)
  • [📚 Documentation](#-documentation)
  • [🧪 Testing](#-testing)
  • [🚀 Deployment](#-deployment)
  • [🤝 Contributing](#-contributing)
  • [🆕 What's New](#-whats-new)

🚀 Quick Start

1. Run with Docker (Recommended)

# 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

2. Configure Claude Desktop

Copy a ready-to-use configuration from [config-examples/](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

3. Start Using with Claude

Restart Claude Desktop and try these 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"

✨ Key Features

  • 🤖 Claude Desktop Integration - Direct MCP integration with natural language interface
  • 🏢 Multi-Registry Support - Manage up to 8 Schema Registry instances simultaneously
  • 📋 Schema Contexts - Logical grouping for production/staging environment isolation
  • 🔄 Schema Migration - Cross-registry migration with backup and verification
  • 📊 Comprehensive Export - JSON, Avro IDL formats for backup and documentation
  • 🔒 Production Safety - VIEWONLY mode and per-registry access control
  • 🔐 OAuth 2.1 Authentication - Enterprise-grade security with scope-based permissions
  • 📈 Real-time Progress - Async operations with progress tracking and cancellation
  • 🔗 Resource Linking - HATEOAS navigation with enhanced tool responses
  • 🧪 Full MCP Compliance - 50+ tools following MCP 2025-06-18 specification
  • 🚀 SLIM_MODE - Reduce tool overhead from 50+ to ~9 essential tools for better LLM performance

> 📖 See detailed feature descriptions: [docs/api-reference.md](docs/api-reference.md)

🛠️ Claude Code Skills

This project includes 5 specialized Claude Code skills – 4 for automated schema development workflows plus 1 for schema context comparison (/context-compare, documented below):

Available Skills

  • /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) ``

Getting Started with Skills

Quick Start: Read [.claude-code/SKILLS_GUIDE.md](.claude-code/SKILLS_GUIDE.md) - 5-minute tutorial

Complete Reference: [.claude-code/skills/README.md](.claude-code/skills/README.md) - Full documentation

Setup Summary: [.claude-code/skills/README.md](.claude-code/skills/README.md) - Configuration details

Skills Features

  • ✅ Natural language schema generation with templates
  • ✅ Automatic compatibility checking (BACKWARD, FORWARD, FULL)
  • ✅ Migration planning with rollback procedures
  • ✅ Pre-commit and pre-push quality automation
  • ✅ Integration with Black, Ruff, isort, Flake8
  • ✅ Docker-based test execution
  • ✅ Comprehensive error handling and auto-fix

Try it now: /schema-generate event TestEvent "test with id and timestamp"

📦 Installation

Option A: Docker (Recommended)

# 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
Running with SLIM_MODE

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

Option B: Local Python

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

Option C: Docker Compose

docker-compose up -d  # Includes Schema Registry for testing

> 📖 Detailed installation guide: [docs/deployment.md](docs/deployment.md)

⚙️ Configuration

Single Registry Mode

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)

Multi-Registry Mode (Up to 8 Registries)

# 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

Claude Desktop Configuration

Pre-configured examples available in [config-examples/](config-examples/):

| Configuration | Use Case | File | |---------------|----------|------| | Production | Stable Docker deployment | [claude_desktop_stable_config.json](config-examples/claudedesktopstableconfig.json) | | Multi-Environment | DEV/STAGING/PROD registries | [claude_desktop_multi_registry_docker.json](config-examples/claudedesktopmultiregistrydocker.json) | | Local Development | Python local execution | [claude_desktop_config.json](config-examples/claudedesktopconfig.json) | | View-Only Safety | Production with safety | [claude_desktop_viewonly_config.json](config-examples/claudedesktopviewonlyconfig.json) |

> 📖 Complete configuration guide: [config-examples/README.md](config-examples/README.md)

SLIM_MODE Configuration (Performance Optimization)

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.

When to Use SLIM_MODE (Recommended)
  • Default choice for most users and day-to-day operations
  • When experiencing slow LLM responses due to too many tools
  • For production environments focused on read-only operations
  • When you only need basic schema management capabilities
  • To reduce token usage and improve performance
When to Use Non-SLIM Mode
  • For administrators or SRE teams performing long-running operations
  • When you need advanced operations like:
  • Schema migrations across registries
  • Bulk schema removals and cleanup operations
  • Complex batch operations and workflows
  • Interactive guided wizards for complex tasks
  • Comprehensive export/import operations
Enable SLIM_MODE
export SLIM_MODE="true"  # Reduces tools from 50+ to ~9
# Enables reduced essential tool set
Tools Available in SLIM_MODE

Essential Read-Only Tools:

  • ping - Server health check
  • set_default_registry, get_default_registry - Registry management
  • count_contexts, count_schemas, count_schema_versions - Statistics

Basic Write Operations:

  • register_schema - Register new schemas
  • check_compatibility - Schema compatibility checking
  • create_context - Create new contexts

Essential Export Operations:

  • export_schema - Export single schema
  • export_subject - Export all subject versions

Resources Available (All Modes):

  • All 19 resources remain available in SLIM_MODE
  • registry://, schema://, subject:// resource URIs
  • Full read access through resource-first approach

Tools Hidden in SLIM_MODE:

  • All migration tools (migrate_schema, migrate_context)
  • All batch operations (clear_context_batch)
  • Advanced export/import tools (export_context, export_global)
  • All interactive/elicitation tools (*_interactive variants)
  • Heavy statistics tools with async operations
  • Workflow tools
  • Configuration update tools
  • Delete operations

> 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=false to access the full tool set.

📊 MCP Tools and Resources

This section provides a comprehensive analysis of all MCP tools and resources exposed by the Kafka Schema Registry MCP Server.

Backward Compatibility Wrapper Tools

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 |

Core MCP Tools

| 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 Discove

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.