Skip to content

feat: add x402 bazaar + mcp examples - #763

Draft
CarsonRoscoe wants to merge 3 commits into
mainfrom
feat/add-x402-examples
Draft

feat: add x402 bazaar + mcp examples#763
CarsonRoscoe wants to merge 3 commits into
mainfrom
feat/add-x402-examples

Conversation

@CarsonRoscoe

Copy link
Copy Markdown
Contributor

Summary

  • Add Python Bazaar server example using the x402 Foundation SDK with the CDP Facilitator.
  • Add Python MCP client and server examples using CDP-managed wallets for paid tools.
  • Add a config-driven TypeScript Bazaar server with automatic discovery through createX402Server.
  • Document setup, environment variables, and when to use Bazaar versus MCP examples.

Test plan

  • Run Python Ruff formatting and lint checks.
  • Verify the Python Bazaar server returns valid discovery metadata in its 402 response.
  • Type-check and format the TypeScript Bazaar example.
  • Run the MCP client/server flow end-to-end with funded CDP credentials.

Checklist

A couple of things to include in your PR for completeness:

  • Updated the typescript README if relevant
  • Updated the python README if relevant
  • Added a changelog entry
  • Added e2e tests if introducing new functionality

CarsonRoscoe and others added 3 commits July 23, 2026 15:43
Show how to expose discoverable HTTP routes through the CDP Facilitator using the Python x402 SDK.

Co-authored-by: Cursor <cursoragent@cursor.com>
Demonstrate paid MCP tools using CDP-managed wallets and the hosted CDP Facilitator.

Co-authored-by: Cursor <cursoragent@cursor.com>
Demonstrate config-driven automatic discovery through the CDP Facilitator and document inline route overrides.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants