Kafka Schema Registry MCP Server

Kafka Schema Registry MCP Server

kafka-schema-reg-mcp•byaywengo

An MCP server exposing tools and resources for Kafka Schema Registry operations, with schema context support, multi-registry management and schema export capabilities.

License: MIT•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Exposes registry, subject and schema resources alongside tools, reaching 39 tools in the default viewer edition.
  • •Supports managing up to eight Schema Registry instances at once.
  • •Organizes schemas into contexts so production and staging environments stay isolated.
  • •Handles schema migration between registries and exports schemas to JSON and Avro IDL formats.

BEST FOR

  • •Teams that want to inspect, compare and export Kafka schemas through an MCP client.
  • •Organizations needing controlled schema registration and evolution with compatibility checks.
  • •Operations that move schemas between environments, such as staging to production.

ABOUT KAFKA-SCHEMA-REG-MCP

Kafka Schema Registry MCP Server is cataloged as an MCP server attributed to aywengo. An MCP server exposing tools and resources for Kafka Schema Registry operations, with schema context support, multi-registry management and schema export capabilities. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Kafka Schema Registry MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What editions does the server offer?

Three editions: viewer for read-only browsing, export, compare and compatibility checks; editor adding schema registration and evolution; and admin covering configuration, deletion, migration and bulk operations.

How is read-only protection enforced?

VIEWONLY is enforced at the HTTP session boundary, so a read-only registry rejects PUT, DELETE and non-read POST requests even if a write tool is exposed by the edition.

Does the server support OAuth authentication?

Yes, optional OAuth 2.1 authentication is available with read, write and admin permission scopes.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 295e2f8a290c · 采集于 2026-11-13 09:45:51 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MseeP.ai Security Assessment Badge License: MIT Python Version Docker Pulls GitHub Release GitHub Issues Docker Image Size Maintained MCP Specification Trust Score

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.

Kafka Schema Registry MCP Logo

🎯 True MCP Implementation: Uses FastMCP 4.1+ on MCP Python SDK 2 with MCP 2026-07-28 compliance. The same process negotiates 2025-11-25 with older clients. Fully compatible with Claude Desktop and other MCP clients using JSON-RPC over stdio.

Latest Version: v3.1.0 | Docker: aywengo/kafka-schema-reg-mcp:stable

🎛️ v3.0 editions. The server runs as viewer (read-only: browse, export, compare, compatibility), editor (viewer + schema registration and evolution) or admin (full access: configuration, deletion, migration, bulk operations, disaster recovery). Plain :latest / :stable images are viewer; -editor and -admin tags and the Helm edition value opt into more. SLIM_MODE is a deprecated alias for editor. See docs/editions.md and docs/v3-migration-guide.md.

📋 Table of Contents

🚀 Quick Start

# Latest stable release
docker pull aywengo/kafka-schema-reg-mcp:stable

# Viewer is the default; choose editor or admin explicitly when you need writes
docker run -e MCP_EDITION=editor -e SCHEMA_REGISTRY_URL=http://localhost:8081 aywengo/kafka-schema-reg-mcp:stable

# OR run with the full admin surface for administrators/SRE
docker run -e MCP_EDITION=admin -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/:

# 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
  • 🧪 MCP 2026-07-28 - FastMCP 4 / MCP SDK 2; one process also serves 2025-11-25 clients
  • 🎛️ Three editions - viewer (39 tools), editor (42) and admin (67) from one codebase

📖 See detailed feature descriptions: 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 - 5-minute tutorial

Complete Reference: .claude-code/skills/README.md - Full documentation

Setup Summary: .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

# Promoted channel. `:stable` moves only when Tag as Stable runs.
docker pull aywengo/kafka-schema-reg-mcp:stable
docker pull aywengo/kafka-schema-reg-mcp:stable-editor
docker pull aywengo/kafka-schema-reg-mcp:stable-admin

# This release. Admin on the 3.1.0 tag is 67 tools.
docker pull aywengo/kafka-schema-reg-mcp:3.1.0-admin

Choosing an edition

MCP_EDITION selects the tool surface at startup. Plain tags run viewer.

# Read-only browsing
docker run -e SCHEMA_REGISTRY_URL=http://localhost:8081 aywengo/kafka-schema-reg-mcp:stable

# Schema registration and evolution
docker run -e MCP_EDITION=editor -e SCHEMA_REGISTRY_URL=http://localhost:8081 aywengo/kafka-schema-reg-mcp:stable

# Full surface, including deletion and migration
docker run -e MCP_EDITION=admin -e SCHEMA_REGISTRY_URL=http://localhost:8081 aywengo/kafka-schema-reg-mcp:stable

⚠️ SLIM_MODE is deprecated. It is an alias for MCP_EDITION=editor and will be removed in 4.0.0. Do not set both variables.

See docs/editions.md for the complete per-edition tool list and docs/v3-migration-guide.md for the upgrade path.

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

⚙️ 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 MCP_EDITION="viewer"              # viewer | editor | admin (default: viewer)

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/:

ConfigurationUse CaseFile
ProductionStable Docker deploymentclaude_desktop_stable_config.json
Multi-EnvironmentDEV/STAGING/PROD registriesclaude_desktop_multi_registry_docker.json
Local DevelopmentPython local executionclaude_desktop_config.json
View-Only SafetyProduction with safetyclaude_desktop_viewonly_config.json

📖 Complete configuration guide: config-examples/README.md

Edition Configuration

An edition decides which tools are registered. Tools outside the active edition are not listed and cannot be called, so they cost no context and cannot be invoked by mistake.

EditionToolsUse case
viewer (default)39Browse, export, compare, compatibility checks
editor42Viewer plus schema registration and evolution
admin67Full surface: configuration, deletion, migration, bulk operations
export MCP_EDITION="admin"

Precedence: MCP_EDITION > SLIM_MODE alias > MCP_EDITION_DEFAULT > viewer. Setting MCP_EDITION and SLIM_MODE together is a startup error.

Resources are shared by every edition. Read-only access stays available in viewer through the registry://, schema:// and subject:// resources.

VIEWONLY is enforced at the HTTP session boundary. A read-only registry rejects PUT, DELETE and non-read POST requests even if a write tool is exposed by the edition.

📊 MCP Tools and Resources

The tool surface is generated from tool_catalog.py; the tables in docs/editions.md are generated from the same catalog.

EditionToolsHighlights
viewer39Registry info, subjects, schemas, compatibility, export, comparison, statistics, resources
editor+3register_schema, check_compatibility, interactive schema registration
admin+26Configuration, deletion, contexts, migration, bulk operations, workflows

The server also exposes 10 prompts, 4 concrete resources and 18 resource templates. See docs/mcp-tools-reference.md for parameter details.

💬 Usage Examples

Schema Management

# 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"

Multi-Registry Operations

"Compare development and production registries"
"Migrate user-events schema from staging to production"
"Test connections to all registries"
"Show me registry statistics"

Batch Operations

"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

🔒 Authentication & Security

OAuth 2.1 Support (Optional)

# 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, configurations
  • write - Register schemas, update configs (includes read)
  • admin - Delete subjects, full control (includes write + read)

Production Safety Features

  • VIEWONLY Mode - Prevent accidental changes in production
  • URL Validation - SSRF protection with configurable localhost access
  • Scope-based Authorization - Fine-grained tool-level permissions
  • Per-Registry Controls - Independent safety settings

📖 Security guide: docs/deployment.md#security

📚 Documentation

GuideDescription
API ReferenceComplete tool documentation with examples
Subject AliasingHow to add and remove subject aliases
Use CasesReal-world scenarios and implementation patterns
Deployment GuideDocker, Kubernetes, cloud platforms, CI/CD
IDE IntegrationVS Code, Claude Code, Cursor setup
Configuration ExamplesReady-to-use Claude Desktop configs
Testing GuideComprehensive testing setup
ChangelogVersion history and migration notes
v2.0.0 HighlightsMajor version features

Additional Resources

  • Examples - Usage examples and code samples
  • Scripts - Utility scripts and automation
  • Helm Charts - Kubernetes deployment
  • Tests - Test suites and validation

🧪 Testing

Quick Test

cd tests/
./run_all_tests.sh --quick    # Essential tests
./run_all_tests.sh           # Complete test suite

Docker Testing

python tests/test_docker_mcp.py

MCP Inspector Tests (UI-driven)

# 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

🚀 Deployment

Production Docker

# 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

Kubernetes

# Using Helm charts
helm install kafka-schema-mcp ./helm/kafka-schema-reg-mcp

📖 Deployment guide: docs/deployment.md

🤝 Contributing

We welcome contributions. Open an issue or pull request on GitHub, and see:

Quick Development Setup

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

🆕 What's New

v3.1.0 (Latest)

  • ♻️ Restore - restore_bundle applies an export document to one registry, dry-run unless told to write, and preserves schema ids. Admin is now 67 tools
  • 🔐 One verifier - Human, client-credentials, and SEP-990 access tokens share one check. Grants are advertised only when the issuer lists them
  • 🚢 Fleet front - Optional process that routes registry= to a shard and holds no registry password
  • ⏱️ Cache hints - Per-resource ttlMs, including schema://{name}/ids/{schema_id} (24 h)

v3.0.0

  • 🎛️ Editions - viewer (39 tools), editor (42) and admin (66) from one image; SLIM_MODE is a deprecated alias for editor
  • 📋 MCP 2026-07-28 - Dual-era protocol support with FastMCP native background tasks
  • 🔒 FastMCP 4.1+ - Current MCP SDK 2 stack with the 2026 security fixes
  • 🧭 MRTR workflows - Guided schema evolution, migration, context reorganisation and disaster recovery
  • 🚚 Migration guide - docs/v3-migration-guide.md

v2.1.x

  • 🧭 Subject Aliasing - New tools add_subject_alias and delete_subject_alias
  • 🛠️ Fixes - Evolution assistant and import interactive fixes
  • 📦 Enhancements - Continued MCP tool refinements and testing improvements
  • 🗑️ Removed Deprecated Tools - Custom task management tools removed in favor of FastMCP's built-in Docket system

v2.0.x

  • 🔒 Security Fixes - Resolved credential exposure in logging
  • 🤖 Interactive Schema Migration - Smart migration with user preference elicitation
  • 💾 Automatic Backups - Pre-migration backup creation
  • ✅ Post-Migration Verification - Comprehensive schema validation
  • 🚀 FastMCP 2.8.0+ Framework - Complete architecture upgrade
  • 📊 MCP 2025-06-18 Compliance - Protocol version at the time of the v2.0 release
  • 🔐 OAuth 2.1 Generic Discovery - Universal provider compatibility
  • 🔗 Resource Linking - HATEOAS navigation in tool responses

📖 Full changelog: CHANGELOG.md | 📖 v2.0.0 features: README-v2.0.0-HIGHLIGHTS.md


🐳 Glama.ai:


🐳 Docker Hub: aywengo/kafka-schema-reg-mcp | 📊 Stats: 39 / 42 / 67 tools by edition, 4 resources + 18 templates, 8 registries, OAuth 2.1, multi-platform

License: MIT | Maintainer: @aywengo | Issues: GitHub Issues

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Kafka Schema Registry MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/kafka-schema-reg-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage