Back to Home
jesrzrz icon

mcp-kafka-client

Verified Safe

by jesrzrz

Overview

Interact with Apache Kafka and Schema Registry for topic management, schema operations, and message handling within an MCP environment.

Installation

Run Command
python -m kafka_mcp.server

Environment Variables

  • KAFKA_BOOTSTRAP_SERVERS
  • SCHEMA_REGISTRY_URL
  • KAFKA_SECURITY_PROTOCOL
  • KAFKA_SASL_MECHANISM
  • KAFKA_SASL_USERNAME
  • KAFKA_SASL_PASSWORD
  • KAFKA_SSL_CA_LOCATION
  • KAFKA_SSL_CERTIFICATE_LOCATION
  • KAFKA_SSL_KEY_LOCATION
  • KAFKA_SSL_KEY_PASSWORD
  • SCHEMA_REGISTRY_BASIC_AUTH_USER_INFO
  • AZURE_TENANT_ID
  • AZURE_CLIENT_ID
  • AZURE_CLIENT_SECRET
  • AZURE_SCOPE

Security Notes

The server leverages established secure libraries (confluent-kafka, pydantic-settings) and extensively documents security best practices (e.g., storing credentials in .env, using SASL_SSL, not committing secrets). It performs SSL certificate validation. However, its security relies heavily on correct external configuration of Kafka, Schema Registry, and SSL certificates. Direct user input is processed within defined Avro schemas or JSON structures, mitigating typical injection risks, but no sandboxing is apparent.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens5000
Stars0
Forks0
Last Update2025-11-26

Tags

KafkaSchema RegistryAvroMessage QueueMCP