mcp-schema-registry Binding
Bindingmcp-schema-registryclientproxy
mcp-schema-registry Binding
Defines a binding exposing a Karapace-compatible schema registry's subject, schema, and compatibility operations as a fixed set of intrinsic MCP tools, with client or proxy behavior.
client
The client kind mcp-schema-registry binding connects directly to the registry named by options.server, with no upstream MCP server, OpenAPI spec, or per-tool schema authoring.
mcp_schema_registry_client:
type: mcp-schema-registry
kind: client
options:
server: http://karapace-registry.examples.dev:8081
routes:
- when:
- tool: register_schema
guarded:
my_guard:
- kafka-sr:write
- when:
- tool: "*"proxy
The proxy kind mcp-schema-registry binding forwards every matched tools/call to a single exit, optionally guarding individual tools first, without connecting to the registry itself.
mcp_schema_registry_proxy:
type: mcp-schema-registry
kind: proxy
exit: schema_registry_client
routes:
- when:
- tool: [ register_schema, delete_schema_version, delete_subject, set_compatibility ]
guarded:
my_guard:
- kafka-sr:write
- when:
- tool: "*"
