Add agent payment example (agentpay-mcp) to MCP guide#35
Open
up2itnow0822 wants to merge 1 commit intoluongnv89:mainfrom
Open
Add agent payment example (agentpay-mcp) to MCP guide#35up2itnow0822 wants to merge 1 commit intoluongnv89:mainfrom
up2itnow0822 wants to merge 1 commit intoluongnv89:mainfrom
Conversation
Add a real-world MCP use case: autonomous agent payments via the x402 protocol. Includes a Mermaid sequence diagram, .mcp.json config template, governance controls table, and a concrete example of an agent paying for premium weather data. agentpay-mcp is already integrated into NVIDIA's NeMo Agent Toolkit (PR luongnv89#17, merged).
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.
What this adds
A real-world MCP use case that's missing from the guide: autonomous agent payments.
When Claude calls a paid API and gets
HTTP 402 Payment Required, agentpay-mcp handles the payment via the x402 protocol and retries — so the agent keeps working without stopping to ask a human to go pay.Changes
05-mcp/README.md— New "Agent Payments with agentpay-mcp" section with:claude mcp addsetup command +.mcp.jsonconfig05-mcp/payment-mcp.json— Ready-to-use MCP config templateWhy this fits
The guide covers MCP servers for GitHub, databases, Slack, filesystems — but nothing for agent payments. As agents start consuming paid APIs autonomously, having a payment MCP server is a natural addition to the ecosystem section.
agentpay-mcp is already integrated into NVIDIA's NeMo Agent Toolkit Examples (PR #17, merged).
Style
Follows the existing guide conventions: Mermaid diagrams, copy-paste configs, security notes, and practical examples rather than marketing.