feat(binding-mcp-asyncapi): implement mcp_asyncapi proxy binding#1712
Open
feat(binding-mcp-asyncapi): implement mcp_asyncapi proxy binding#1712
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
Implements the mcp_asyncapi · proxy binding that accepts mcp streams and produces asyncapi streams, mapping MCP tool calls to AsyncAPI operations. Derives tool names, schemas and call semantics from AsyncAPI specs held in catalogs. Routes use when: operation with with: api-id + operation-id. Operation-to-tool semantics: send operations -> fire-and-forget produce tools send + reply -> request/reply tool receive -> fetch tools 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-asyncapi/— a newmcp_asyncapi · proxybinding that acceptsmcpstreams and producesasyncapistreamsoptions.specscatalog entrieswhen: operationand resolve withwith: api-id+with: operation-idsend→ fire-and-forget,send+reply→ request/reply,receive→ fetchspecs/binding-mcp-asyncapi.spec/with the JSON schema patch forzilla.yamlvalidationKey files
runtime/binding-mcp-asyncapi/src/main/java/.../internal/stream/McpAsyncApiProxyFactory.java— proxy stream handlerruntime/binding-mcp-asyncapi/src/main/java/.../internal/config/— binding, route, condition, with, and options config adaptersruntime/binding-mcp-asyncapi/src/main/java/.../config/— publicMcpAsyncApiOptionsConfigandMcpAsyncApiSpecConfigspecs/binding-mcp-asyncapi.spec/.../schema/mcp.asyncapi.schema.patch.json— JSON schema patch fortype: mcp_asyncapiTest plan
zilla.yaml(missingwith) produces a clear startup errorwhen: operation/with: api-id+with: operation-idsendoperation maps to fire-and-forget produce toolsend+reply(static channel) maps to request/reply toolreceiveoperation maps to fetch tool returning array of payloadsCloses #1674
https://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm