Skip to main content

API Reference: Resources

KafkaMCP exposes nine stable, read-only MCP resources. Resource reads pass through the same identity, policy, rate-limit, masking, and audit controls as read-only tools.

URIDescription
kafka://cluster/metadataBrokers, controller, topic count, and partition count for the default cluster
kafka://clustersConfigured cluster names and safe connection metadata
kafka://topicsAuthorization-filtered topic catalog
kafka://topics/{name}Topic partitions, offsets, replicas, ISR, and configuration
kafka://schemasSchema Registry subject catalog when configured
kafka://schemas/{subject}Schema definition, version, type, and field summary
kafka://groupsConsumer-group catalog with state and lag
kafka://groups/{id}Members, assignments, offsets, and partition lag
kafka://audit/logRecent redacted audit entries

:::info Cluster routing Cluster-specific resources use the configured default cluster. Use kafka://clusters to discover names, then use a core-read tool with its cluster argument when explicit routing is required. :::

:::note Schema Registry Schema resources return a clear configuration error when no Schema Registry is configured for the default cluster. :::

The resource URI list is protected by the stable compatibility snapshot in internal/server/testdata/stable_core_read.json. See API Stability for versioning guarantees.