feat: Add MCP tool support to bazaar extension spec#1134
Open
apmcdermott wants to merge 1 commit intomainfrom
Open
feat: Add MCP tool support to bazaar extension spec#1134apmcdermott wants to merge 1 commit intomainfrom
apmcdermott wants to merge 1 commit intomainfrom
Conversation
🟡 Heimdall Review Status
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add documentation for cataloging MCP tools alongside HTTP endpoints. MCP tools use a simpler structure with just tool name and inputSchema, without the method/body/queryParams split needed for HTTP.
5bb945d to
49d16bd
Compare
CarsonRoscoe
reviewed
Feb 9, 2026
| ## Summary | ||
|
|
||
| The `bazaar` extension enables **resource discovery and cataloging** for x402-enabled endpoints. Resource servers declare their endpoint specifications (HTTP method, input parameters, and output format) so that facilitators can catalog and index them in a discovery service. | ||
| The `bazaar` extension enables **resource discovery and cataloging** for x402-enabled endpoints and tools. Resource servers declare their endpoint specifications (HTTP method or MCP tool name, input parameters, and output format) so that facilitators can catalog and index them in a discovery service. |
Contributor
There was a problem hiding this comment.
nit: I'd say and MCP tools, as it's the first line of the summary before MCP has been brought up
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.
Description
Extends the
bazaarextension specification to support MCP (Model Context Protocol) tools in addition to HTTP endpoints, enabling resource discovery and cataloging for both endpoint types.Changes
input.type: "mcp"as a discriminated union option alongsideinput.type: "http"toolname,description,inputSchema, andexampleargumentstoolandinputSchema)Specification Details
The
info.inputobject now supports a discriminated union:input.type: "http"— HTTP endpoints (GET, HEAD, DELETE, POST, PUT, PATCH)input.type: "mcp"— MCP tools with tool name, input schema, and example argumentsMCP tools use the same discovery pattern as HTTP endpoints, allowing facilitators to catalog and index both endpoint types in a unified discovery service.
Checklist