Repository navigation
Show and tell: zero-dependency agent-commerce MCP server (free samples + on-chain payment verification) #8485
Replies: 2 comments 1 reply
|
Hii Redzad Bakalovic — Workflow Alpha (@Reggiebro), This is an interesting implementation of agent-driven commerce, especially the way you've combined MCP tool calls with on-chain payment verification. A few things I found particularly useful:
Overall, this is a useful reference for developers exploring MCP-based agent commerce. I'll definitely keep an eye on how this develops. If this answer solves your doubts, could you please mark it as resolved? If the issue still persists, feel free to share the updated error so we can investigate further. |
|
Thanks Krish Khinchi (@krishkhinchi) — glad the read-only verification split landed. On your improvement points: Confirmations — a settlement is final only once the facilitator reports it. Before that the job is Duplicate verification — the verification endpoint is idempotent on the settlement tx hash. Verifying the same tx twice returns the same record, it does not create a second charge. Wrong network — the quote carries the chain id and asset contract. A payment on a different network or asset is rejected before settlement and the caller sees the rejection. Pending — a payment broadcast but not settled is reported as The honest gap: a chain reorg is not handled. If a settlement reverts after delivery, the record still reads as paid — which is why this flow is aimed at small per-call amounts rather than escrow-sized payments. |
Uh oh!
There was an error while loading. Please reload this page.
For anyone wiring AutoGen teams to MCP tools, here's a small zero-dep stdio server you can point a team at — an end-to-end 'browse → sample → pay → verify → deliver' commerce loop:
What this is
While building agent-payment flows I packaged a tiny agent-commerce MCP server that other agent devs may find useful as a reference or a test target:
oppi-digital-products— zero dependencies, Node, stdio JSON-RPC 2.0 (~450 lines, readable in one sitting).What it does
An agent can:
Why it might be useful here
Install / links
io.github.Reggiebro/oppi-digital-productsHappy to answer questions about the zero-dep stdio implementation or the read-only verification approach.
All reactions