Skip to content

binding-mcp-schema-registry: implement mcp_schema_registry · proxy binding #1672

Closed

Description

@jfallows

Summary

Implement the mcp_schema_registry · proxy binding in a new binding-mcp-schema-registry module. A composite binding built on mcp_openapi with a bundled Confluent Schema Registry OpenAPI spec and a pre-mapped, LLM-optimised tool name set.

Stream type

  • Accepts: mcp
  • Produces: openapi

Bundled tool mapping

Tool name (agent sees) Mapped operationId Description source
list_subjects list bundled, LLM-tuned
describe_subject getSchemaVersions bundled, LLM-tuned
get_schema getSchemaByVersion bundled, LLM-tuned
register_schema register bundled, LLM-tuned
delete_subject deleteSubject bundled, LLM-tuned
delete_schema_version deleteSchemaVersion bundled, LLM-tuned
check_compatibility testCompatibilityBySubjectName_1 bundled, LLM-tuned
get_compatibility getSubjectLevelConfig bundled, LLM-tuned
set_compatibility updateSubjectLevelConfig bundled, LLM-tuned
list_contexts getContexts bundled, LLM-tuned

Configuration

The bundled spec is held in an internal catalog that ships with the binding module — no catalog declaration needed by the operator. Routes select which tools to expose and which OpenAPI client to route them to:

mcp_schema_registry0:
  type: mcp_schema_registry
  kind: proxy
  routes:
    - exit: openapi_client0
      when:
        - tool: list_subjects
        - tool: describe_subject
        - tool: get_schema
        - tool: register_schema
        - tool: check_compatibility

Notes

  • The Karapace Schema Registry OpenAPI spec URL, operationId mapping, and LLM-tuned descriptions are all bundled — zero boilerplate for the operator
  • Entirely implemented as mcp_openapi with a curated internal mapping — no novel protocol logic
  • Operators needing custom tool names, different descriptions, or access to operationIds not in the bundled mapping can use mcp_openapi directly with the Confluent Schema Registry spec URL and explicit per-route operationId overrides
  • The bundled spec is shipped as a classpath resource in src/main/resources/ within the module, loaded as an inline catalog at startup, constructed via Karapace documentation

Metadata

Metadata

Assignees

Labels

enhancement

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions