Budget-capped x402 buyer: delegate USDC in plain words, agent discovers and pays per call.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
One-click editor setup isnโt available for this listing yet โ we donโt have a confirmed install command, and weโd rather show nothing than point your editor at the wrong package or host. Follow the projectโs own setup instructions, linked above.
๋ผ์ด๋ธ: https://handsel-mandate-demo.vercel.app (Base ๋ฉ์ธ๋ท, ์ค์ USDC). ์ง๊ธ ํ๋ ์ํ์ ๊ตญ์ธ์ฒญ ์ฌ์ ์๋ฑ๋ก ์ํ ์กฐํ, ํธ์ถ๋น 0.02 USDC, x402 Bazaar ๋ฑ์ฌ. ์ด์ฉ ์๋ด.
์ธ ๋ถ๋ถ์ผ๋ก ๋์ด ์์ต๋๋ค.
demo/ โ ๊ณต์ x402 SDK๋ก ๋ง๋ ๊ฒฐ์ ๊ฒ์ดํธ. ์ฐ๋ฆฌ ์ํ(demo/tools/nts.js)์ ํ๊ณ , ํ๋งค์์ ๊ธฐ์กด API ์์๋ ๊ทธ๋๋ก ์ธ์ธ ์ ์์ต๋๋ค(demo/upstream.js, Seller Studio ๋ด๋ณด๋ด๊ธฐ + UPSTREAM_SECRET). 402 ์๋ต์ Bazaar ๋ฐ๊ฒฌ ๋ฉํ๋ฐ์ดํฐ๊ฐ ํฌํจ๋ฉ๋๋ค. ์ด์ยท๋ฐฐํฌยทํ์ธ ์ ์ฐจmcp/ โ 402-LAB MCP ์๋ฒ. "1๋ฌ๋ฌ ์์์"๋ผ๊ณ ์์ํ๋ฉด Claude DesktopยทCursorยทํฌ๋กฌ ํ์ฅ์ด x402 Bazaar์์ ์ํ์ ์ฐพ์ ์์ฐ ์์์๋ง ๊ฒฐ์ ํ๊ณ ๊ฒฐ๊ณผ๋ง ๋๋ ค์ค๋๋ค. ์ํยท๊ฑด๋น ํ๋ยท๋คํธ์ํฌยทํ๋งค์ ํ์ฉ ๋ชฉ๋ก์ ์๋ฒ๊ฐ ๊ฐ์ ํฉ๋๋ค. npm run mcp. ์ค์ ๊ณผ ๊ถํ ๋ชจ๋ธ๋น ๋ฅธ ์์: npm ci && npm test, npm run demo(๋ก์ปฌ ์๋ฎฌ๋ ์ด์
, ํค ์์), npm run mcp(๊ตฌ๋งค์ ์ง๊ฐ).
๊ตฌ๋งค์ MCP ์ค์น (์ ์ฅ์ ์์ด)
Claude Desktop์ npm run build:mcpb๋ก ๋ง๋ dist/402-lab.mcpb๋ฅผ ๋๋ธํด๋ฆญํด ์ค์นํฉ๋๋ค(ํค๋ ์ค์น ํ๋ฉด์์ ์
๋ ฅ). ๋ ์ง์คํธ๋ฆฌยทSmitheryยทmcp.soยทCursor ๋๋ ํฐ๋ฆฌยทx402 ์์ฝ์์คํ
์ ์ถ ํ์ผ๊ณผ ์ ์ฐจ๋ docs/directories.md์ ์์ต๋๋ค.
์ฒซ ์ฑ๊ณต ๊ธฐ์ค์ ์ธ๋ถ ํ๋งค์์ ๋๊ตฌ๋ฅผ ์ธ๋ถ ๊ตฌ๋งค์๊ฐ ์ค์ ๋ก ์ฐ๋ ๊ฒ์ ๋๋ค. ์ง๊ธ๊น์ง ์ ์ฐ์ ๋ด๋ถ ์ง๊ฐ 2๊ฑด์ด๋ฉฐ ๊ตฌ๋งค์ ์ ์ ์ด๋ ๋งค์ถ์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
์๋๋ 402-LAB์ ๋ฐํ์ด ๋ ์จ์ฒด์ธ ์์ ๊ฒฝ๋ก์
๋๋ค. runtime/buyer.js๋ ๊ณ ์ ํ๋งค์ ์๋ํฌ์ธํธ์ ์ฐ๊ฒฐ๋๊ณ , ์ด์ Base Sepolia์ ๋ณ๋ Base ๋ฉ์ธ๋ท ์ปจํธ๋ํธ ์ํฐํฉํธ๋ฅผ ์ง์ํฉ๋๋ค. ๋ฉ์ธ๋ท ์ํฐํฉํธ๋ ์์ง ๋ฐฐํฌยท์ค์นยท๋ณด์ ๊ฒํ ๋์ง ์์์ผ๋ฉฐ ๊ณต๊ฐ ๋ผ์ด๋ธ ๊ฒฐ์ ์๋น์ค์์ ์ค์ ํธํ์ฑ๋ ํ์ธ๋์ง ์์์ต๋๋ค. MCP ๊ตฌ๋งค์ ๊ฒฝ๋ก์๋ ๋ณ๋์
๋๋ค.
๋ฐ์ด๋ธ ์ฝ๋ฉ์ผ๋ก ๋ง๋ ๋๊ตฌ์ ์ํ ์ค๋ช
ยทํธ์ถ ์์ ยท๊ฐ๊ฒฉ์ ์ ๋ฆฌํ๊ณ , x402 ์ฐ๋ ์ค์ ์ ๋ด๋ณด๋ด๋ ๋ก์ปฌ ์คํ๋์ค๋ฅผ ์ถ๊ฐํ์ต๋๋ค. node scripts/seller-studio.js ์คํ ํ http://127.0.0.1:4173์ ์ฌ์ธ์. ์์กด์ฑ ์ค์น ์์ด ์คํ๋ฉ๋๋ค. ์ํ ๋ฏธ๋ฆฌ๋ณด๊ธฐยท์์ฐ ์ ํ ๋ชจ์ ๊ตฌ๋งคยทJSON ๋ค์ด๋ก๋๋ฅผ ์ง์ํฉ๋๋ค. ์ค์ API ํธ์ถยท๊ฒฐ์ ยทBazaar ๋ฑ๋กยท๊ณต๊ฐ ํ๋งค๋ ์ํํ์ง ์์ต๋๋ค. ๋ฒ์์ ๋ค์ ์ฐ๋ ๋จ๊ณ.
์ฌ๋์ด ์์ฐยทํ์ฉ ๋๊ตฌยท๋ง๋ฃ๋ฅผ ์ง์ ํ๊ณ ๋ธ๋ผ์ฐ์ ์์ด์ ํธ๊ฐ ๊ทธ ๋ฒ์ ์์์ ๋ชจ์ ๊ตฌ๋งคํ๋ Chrome MV3 ํ์ฅ ์ด์์ ๋๋ค.
v0.5: ์จ์ฒด์ธ ์ ํ ๊ถํ + BlockFlow + x402. Coinbase Smart Account์ ๋คํธ์ํฌ๋ณ MandateValidator๋ฅผ ์ปจํธ๋ํธ ์์ ์๋ก ์ค์นํฉ๋๋ค. ์ฌ๋์ด ์น์ธํ ์ด์์ฐยท๊ฑด๋น ํ๋ยท์๋ น์ธยท๋ง๋ฃยท์์ด์ ํธยทBlockFlow ๋ฐ์ธ๋ฉ์ ์ฒด์ธ์ ๊ธฐ๋กํ๊ณ , ์์ด์ ํธ๊ฐ ๊ฒฐ์ ๊ธ์ก์ ๋จผ์ ์์ฝํ ๊ฒฝ์ฐ์๋ง ํด๋น EIP-3009 ๊ฒฐ์ ๋ฅผ ํ์ฉํฉ๋๋ค. ๋ฉ์ธ๋ท์ allowMainnet: true์ owner CLI์ --confirm-mainnet์ด ๋ชจ๋ ์์ด์ผ ํ์ฑํ๋ฉ๋๋ค.
์ Session ๋ชจ๋์๋ ์์ ์ ํค๊ฐ ์์ผ๋ฉฐ ์์ด์ ํธ๋ ์์ ์ ์กยท์ ์์ ๋ฐ๊ธ์ ํ ์ ์์ต๋๋ค. ํ์๊ฐ ์ฒด์ธ์ ํ์ ๋๋ฉด ๋ฏธ๊ฒฐ์ ์์ฝ๋ ๋ฌดํจํ๋ฉ๋๋ค. ์์์ฆ์ RPC์ USDC Transfer + AuthorizationUsed nonce์ ๋์กฐํฉ๋๋ค. Sepolia ๊ฒฝ๋ก๋ ๊ณต๊ฐ ์ฒด์ธ ์ค์นยท์ ์ฐ์ ์์ง ์คํํ์ง ์์์ต๋๋ค. ๋ฉ์ธ๋ท ํฌํธ๋ ๋ฐฐํฌยท๋ณด์ ๊ฒํ ์ ์ ๋๋ค. ์ค์นยท๊ฒ์ฆ ๋ฒ์๋ฅผ ํ์ธํ์ธ์. ์ด์ full-owner ๋ชจ๋๋ ๊ธฐ์กด ์ค์ ์์๋ง ๋จ์ ์์ผ๋ฉฐ ๋์ผํ ๋ณด์ ๋ณด์ฅ์ ์ ๊ณตํ์ง ์์ต๋๋ค.
x402 ์๋ช
์ ์์ฐ ์์ฝ ์ ์ DAMBI ํธํ ์ฌ์ ์ ์ฑ
๊ฒ์ดํธ๋ฅผ ํต๊ณผํด์ผ ํฉ๋๋ค. ์์ด์ ํธ ์คํ์์๋ allow / evaluated / enforcing ํ์ ๋ง ํ์ฉํฉ๋๋ค.
chrome://extensions โ ๊ฐ๋ฐ์ ๋ชจ๋ โ ์์ถํด์ ๋ ํ์ฅ ํ๋ก๊ทธ๋จ ๋ก๋ โ extension/ ์ ํ.examples/agent-extension/๋ ์์ถํด์ ๋ก๋ํฉ๋๋ค. ๊ทธ ํ์ฅ ID๋ฅผ Handsel ์ฐ๊ฒฐ๋์ ์ ์ฅํ ๋ค ์ ์์์ฅ์ ํ์ฑํํ์ธ์. ๋ฐ๋ชจ ํ์ฅ ํ์
์ Handsel ํ์ฅ ID๋ฅผ ์
๋ ฅํ๋ฉด extension-to-extension ๋ฉ์์ง๋ก ๊ตฌ๋งค๋ฅผ ์์ฒญํฉ๋๋ค.
์ง์ API: status, catalog, purchase (mandateId, requestId, serviceId). ์๋ต์ {ok,result} ๋๋ {ok:false,error}์
๋๋ค. ์ฐ๊ฒฐ๋ ํ์ฅ ํ๋๋ง ์ ๊ทผ ๊ฐ๋ฅํฉ๋๋ค. ์ฐ๊ฒฐ ๋ณ๊ฒฝ์ ๊ธฐ์กด ์์์ ํ์ํฉ๋๋ค. ์ธ๋ถ ์์ด์ ํธ๋ ์์ ์์ฑยท์ฐ๊ฒฐ ๋ณ๊ฒฝยท๊ถํ ํ๋๋ฅผ ํ ์ ์์ต๋๋ค.
๋ธ๋ผ์ฐ์ ๋ด์ฅ AI๋ Aside๋ฅ ์ ํ์ ์๋ ์ฐ๊ฒฐ๋๋ ๊ฒ์ ์๋๋๋ค. ํด๋น ์ ํ์ด ํ์ฅ ๋ฉ์์ง/API ์ฐ๊ฒฐ์ ์ง์ํด์ผ ์ด๋ํฐ๋ฅผ ๋ถ์ผ ์ ์์ต๋๋ค. ์ผ๋ฐ ์นํ์ด์ง์ ์ง์ถ API๋ฅผ ๊ณต๊ฐํ์ง ์์ต๋๋ค.
Node 22+์์ npm ci ํ npm test. BlockFlow ํตํฉ ํ
์คํธ๊น์ง ์คํํ๋ ค๋ฉด BlockFlow ์ ์ฅ์๋ฅผ ../BlockFlow์ cloneํ๊ฑฐ๋ BLOCKFLOW_ROOT=/absolute/path/to/BlockFlow npm test๋ฅผ ์ฌ์ฉํฉ๋๋ค. ํ
์คํธ๋ ์ค์ BlockFlow ์ปดํ์ผ, Coinbase Smart Account์ EIP-1271 ๋ํ ์๋ช
, x402 payload์ AA payer ์ฃผ์๋ฅผ ํ์ธํฉ๋๋ค. Chrome/์ฒด์ธ ์ค์ ์ค์น ๊ฒ์ฆ์ ์๋ ์ฒดํฌ๋ฆฌ์คํธ๋ก ๋ณ๋ ์ํํฉ๋๋ค.
์์ ์
๋ ฅ โ BlockFlow ๊ฒ์ฆยท์ฐ์ถ๋ฌผ ๋ฐ์ธ๋ฉ โ ์ฌ๋์ด ์จ์ฒด์ธ grant โ ์์ด์ ํธ reserve โ EIP-1271 x402 ๊ฒฐ์ โ RPC ์์์ฆ ๋์กฐ ์์์
๋๋ค. ์ปดํ์ผ๋ฌ ์ปค๋ฐยท์์
ํธ๋ฆฌยท์ ์ฑ
ยท์ปจํธ๋ํธ ๋ฐ์ดํธ์ฝ๋ยท์์ ์ ์ฌ๋กฏ์ ๊ฒ์ฌํ๊ณ ๋ถ์ผ์นํ๋ฉด ์ฐจ๋จํฉ๋๋ค.
BlockFlow๋ ์ํฌํ๋ก ๊ตฌ์กฐ๋ฅผ ๊ฒ์ฆํฉ๋๋ค. ์์ฐ ์ ์ฝ์ ๋ณ๋๋ก ์์ฑํ MandateValidator๊ฐ ์งํํ๋ฉฐ, BlockFlow๊ฐ ์์ BPMN ์ ์ฒด๋ฅผ ์ง์ถ ๋ชจ๋๋ก ์๋ ๋ณํํ๋ ๊ฒ์ ์๋๋๋ค. endpoint์ ์์ฐ์ด ๋ชฉํ๋ ์จ์ฒด์ธ ๊ฒฐ์ ์๋ฏธ๋ก ๊ฐ์ ๋์ง ์์ต๋๋ค.
๋จ์ ๊ฒ์ฆ์ ์ค์ Base Sepolia USDC์ facilitator๋ฅผ ์ด์ฉํ ๋ฐฐํฌยท์ ์ฐ, ๋ณ๋ ๋ณด์ ๊ฒํ , ์ฌ๋ ์ง๊ฐ ์น์ธ UI์ ๋๋ค. ํ์ฌ ์น์ธ์ ๋ก์ปฌ human-only CLI์ด๊ณ ๊ตฌ๋งค๋ง๋ค ์์ฝ ๊ฐ์ค๊ฐ ๋ฐ์ํฉ๋๋ค. ์์ UserOperation์ ๋ํ session ๊ถํ์ด๋ ๋ฒ์ฉ ERC-7579 ๋ชจ๋์ ์ฃผ์ฅํ์ง ์์ต๋๋ค.
References: Chrome Side Panel, Messaging, x402 Bazaar.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/402-lab)<a href="https://allmcps.com/mcp/402-lab"><img src="https://allmcps.com/api/badge/402-lab?style=directory" alt="402 LAB on AllMCPs" /></a>