feat(binding-mcp-schema-registry): implement mcp_schema_registry proxy binding#1716
Open
jfallows wants to merge 5 commits into
Open
feat(binding-mcp-schema-registry): implement mcp_schema_registry proxy binding#1716jfallows wants to merge 5 commits into
jfallows wants to merge 5 commits into
Conversation
Implements the foundational mcp binding module with server kind handler, McpBeginEx IDL type, JSON schema patch, config adapters, and module-info. Closes #1668 https://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm
Adds the mcp_openapi proxy binding that accepts MCP tool/resource streams and routes them to OpenAPI-backed HTTP operations. Includes config adapters for options.specs (catalog references), options.tools (per-tool descriptions), routes.when (tool name / resource URI), and routes.with (api-id / operation-id). Also adds stub modules for binding-mcp-http and binding-mcp-http.spec, and adds pom.xml + mcp.idl to specs/binding-mcp.spec which were missing from the prior binding-mcp commit. https://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm
…ry in runtime and specs poms (#1672) https://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm
…y binding (#1672) Adds mcp_schema_registry proxy binding that maps LLM-optimised tool names to Confluent/Karapace Schema Registry operationIds. Includes bundled OpenAPI spec for the Schema Registry REST API and JSON schema patch for zilla.yaml validation. https://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
runtime/binding-mcp-schema-registry/module implementing themcp_schema_registry · proxybinding (issue binding-mcp-schema-registry: implement mcp_schema_registry · proxy binding #1672)schema-registry-openapi.json)list_subjects→list,describe_subject→getSchemaVersions,get_schema→getSchemaByVersion,register_schema→register,delete_subject→deleteSubject,delete_schema_version→deleteSchemaVersion,check_compatibility→testCompatibilityBySubjectName_1,get_compatibility→getSubjectLevelConfig,set_compatibility→updateSubjectLevelConfig,list_contexts→getContextsspecs/binding-mcp-schema-registry.spec/with JSON schema patch forzilla.yamlvalidation (routewhenconditions accept enumerated tool names)runtime/pom.xmlandspecs/pom.xmlArchitecture
McpSchemaRegistryBinding— binding namemcp_schema_registry, proxy kindMcpSchemaRegistryBindingContext— wiresMcpSchemaRegistryProxyFactoryforPROXYkindMcpSchemaRegistryProxyFactory—BindingHandlerwith staticTOOL_OPERATION_IDSmap of all 10 tool→operationId mappingsMcpSchemaRegistryConditionConfig(Adapter)—when: [{tool: ...}]route conditionsMcpSchemaRegistryOptionsConfigAdapter— no-op options (binding requires no custom options)module-info.java— providesBindingFactorySpi,OptionsConfigAdapterSpi,ConditionConfigAdapterSpiTest plan
binding-mcp-schema-registrycompiles:./mvnw install -pl runtime/binding-mcp-schema-registry -am -DskipTests -DskipITsbinding-mcp-schema-registry.speccompiles:./mvnw install -pl specs/binding-mcp-schema-registry.spec -am -DskipTests -DskipITsBindingFactorySpiservice loaderzilla.yamlwithtype: mcp_schema_registryandkind: proxyvalidates without errorsTOOL_OPERATION_IDSstatic map inMcpSchemaRegistryProxyFactoryhttps://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm