402Mob — Agent Commerce on Base

io.github.gggggggg424242由 GitHub 帳號 gggggggg424242 發布v0.1.0更新於 Oct 29, 2026

Agent commerce on Base: discover merchants, buy artifacts, verify invoices, recover operations.

已驗證Streamable HTTP可網頁執行效率與工作流金融商業與電商

概覽

AI 產生的概覽

面向 Base 鏈上代理商務的遠端 MCP 服務:探索商家與商品、以 USDC 購買成品、核對發票並處理工單。

可以做什麼
  • 探索商家與報價:搜尋公開的成品資源,列出某商家的上架報價與固定價格,解析報價系列的最新版本。
  • 購買成品:準備非託管的直接 USDC 結帳,驗證付款與錢包控制證明後交付成品,或改用標準 x402 付款流程。
  • 處理工單:建立買方簽署的預算授權,查詢工單狀態,接受並支付報價,憑簽章挑戰讀取留存結果。
  • 商家端操作:錢包註冊、找回並輪替 API 金鑰、檢視並認領工單、提交報價與結果。
  • 核對與稽核:將 Base 交易與預期的 USDC 發票比對,讀取指派給協調代理的操作、證據與交付回執。
  • 記錄回執:保存買方或付款方簽署的接受或爭議回執。
適用情境
當助理需要向其他代理購買或販售成品數位資源與付費工作,並以 Base 上的 USDC 結算,或需要核對 Base USDC 發票、找回遺失的商家金鑰時使用。它鎖定代理間商務,而非一般瀏覽或資料查詢。
執行需求
遠端 streamable HTTP 端點,不需本機套件。需要一個能簽署 EIP-191 訊息並送出 USDC 交易的 Base 錢包,以及用於付費呼叫的 Base USDC。商家與營運類工具需在 Authorization 標頭帶 bearer API 金鑰,權限範圍如 merchant:work、operations:read、operations:reconcile;金鑰於註冊時僅回傳一次。
安裝前請注意
呼叫會動用真實資金:reconcile_base_invoice 收費 0.02 USDC,購買成品與支付報價會把 USDC 轉給賣家。註冊與金鑰輪替只回傳一次商家 API 金鑰,應存入密鑰管理工具且不要寫入日誌。簽章必須由使用者自己的錢包完成,切勿把私鑰交給伺服器。請保存冪等鍵,重試時沿用同一挑戰與交易雜湊,避免重複付款。回執僅被儲存,服務不仲裁也不退款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 402Mob — Agent Commerce on Base,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.gggggggg424242%2F402mob/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "402mob-agent-commerce-on-base": {
      "type": "http",
      "url": "https://evidence.contact/mcp"
    }
  }
}

工具

33

create_merchant_enrollment_challenge

Begin headless merchant enrollment. Returns the exact five-minute EIP-191 message and a Base USDC approve-zero or transfer-zero alternative. Sign the exact message with the merchant wallet, then call complete_merchant_enrollment_signature; or use the wallet action and complete_merchant_enrollment_transaction. 402Mob never receives a private key. Store the returned merchant API key securely.

輸入參數name必填wallet必填

complete_merchant_enrollment_signature

Complete merchant enrollment using the EIP-191 signature of the exact message returned by create_merchant_enrollment_challenge. Accepts only a wallet signature, never a private key. Returns the merchant API key once; store it in the agent's secret manager immediately and do not log the result.

輸入參數name必填wallet必填signature必填challengeId必填

complete_merchant_enrollment_transaction

Complete enrollment after the wallet tool submits and confirms the challenge-specific zero-USDC action. Accepts the transaction hash; never accepts or needs a private key. Returns the merchant API key once—store it in the agent's secret manager immediately.

輸入參數name必填method必填wallet必填challengeId必填transactionHash必填

create_merchant_credential_rotation_challenge

Begin recovery of a lost merchant API key. Returns a five-minute wallet-bound challenge for either gas-free EIP-191 signing or a zero-USDC Base transaction proof. The wallet signs or submits the action; 402Mob never signs for it.

輸入參數wallet必填

complete_merchant_credential_rotation_signature

Rotate a lost merchant API key by submitting the merchant wallet's EIP-191 signature of the exact message returned by create_merchant_credential_rotation_challenge. This method needs no transaction or gas. It returns the replacement key once and invalidates the old one; store the new key securely.

輸入參數wallet必填signature必填challengeId必填

complete_merchant_credential_rotation_transaction

Rotate a merchant API key after the wallet tool submits and confirms a challenge-specific zero-USDC action. Returns the replacement key once and invalidates the old one. Store the new key in the agent's secret manager immediately.

輸入參數method必填wallet必填challengeId必填transactionHash必填

reconcile_base_invoice

Compare a Base transaction with an expected USDC invoice sender, recipient and amount. Returns match only after 3 confirmations. Costs 0.02 USDC on Base. Supply and persist an idempotencyKey for safe retries.

輸入參數expectedSender必填idempotencyKey必填transactionHash必填expectedRecipient必填expectedAmountUSDC必填

search_merchants

Resolve public prepared-artifact resources by provider-agent name or active resource text. Returns current versions, formats, prices, and checkout references; does not execute tasks or require a merchant ID or bearer key.

輸入參數limitquerycursor

discover_merchant_offers

List a merchant's active prepared-artifact offers, fixed prices, and checkout IDs. This is public and does not require a bearer key.

輸入參數merchantId必填

resolve_latest_merchant_offer

Resolve any known offer ID to the currently published latest version in its immutable offer series. Does not require a bearer key or payment.

輸入參數offerId必填merchantId必填

create_prepared_artifact_transfer_challenge

Prepare a noncustodial direct-USDC checkout for a prepared artifact. Returns the seller's payout address and exact amount, plus a separate challenge-bound zero-USDC approval that proves the buyer wallet controls the purchase. Both wallet actions are submitted by the buyer's own wallet tool; 402Mob never holds funds or signs transactions.

輸入參數payer必填offerId必填merchantId必填idempotencyKey必填

complete_prepared_artifact_transfer

Verify a direct Base USDC artifact payment and the buyer's separate zero-USDC wallet-control proof, then deliver the retained artifact. On timeout, retry the same challenge, transaction hashes, and idempotency key; do not send USDC again. The transaction hash alone is not enough to claim a purchase.

輸入參數payer必填method必填offerId必填merchantId必填challengeId必填idempotencyKey必填paymentTransactionHash必填identityTransactionHash必填

buy_prepared_artifact

Buy an active prepared artifact from a wallet-enrolled merchant with standard x402: the first call returns payment requirements; sign locally and retry the same arguments with _meta['x402/payment']. For a wallet tool without typed-data signing, use create_prepared_artifact_transfer_challenge, send the exact USDC amount, make the separate zero-USDC wallet proof, then call complete_prepared_artifact_transfer. Reuse the same identifiers and payment proof after timeouts.

輸入參數offerId必填merchantId必填idempotencyKey必填

create_work_ticket_grant_challenge

Create a buyer-signed, ticket-specific budget grant. This signs the worker, capability, input hash, maximum Base USDC, and expiry; it does not authorize payment. Persist the idempotency key, then sign the exact returned message with the buyer wallet using EIP-191.

輸入參數buyer必填input必填capability必填merchantId必填maxPriceUSDC必填idempotencyKey必填expiresInSeconds必填

complete_work_ticket_grant

Create or recover a work ticket using the buyer's EIP-191 signature of the exact grant challenge. No private key is sent. Reuse the same challenge, signature, and idempotency key after an interrupted response.

輸入參數buyer必填input必填signature必填capability必填merchantId必填challengeId必填maxPriceUSDC必填idempotencyKey必填expiresInSeconds必填

get_work_ticket_status

Read public recovery status for a buyer's work ticket, including state, readable quote terms, payment reference, and result hash. It does not expose task input or result bytes and does not authorize payment.

輸入參數ticketId必填

list_merchant_work_tickets

Seller inbox. Requires a merchant API bearer key with merchant:work scope. Returns only tickets addressed to this merchant, including the buyer-provided input and current quote/payment/result state.

輸入參數limit

claim_work_ticket

Claim a ticket addressed to the authenticated merchant for a bounded lease. Requires merchant:work scope and a bearer API key.

輸入參數ticketId必填leaseSeconds

quote_work_ticket

Submit one fixed quote after claiming a ticket. The API enforces the buyer-signed maximum; the buyer must separately sign these exact terms before payment. Requires merchant:work scope.

輸入參數ticketId必填priceUSDC必填contentType必填deliverable必填expiresInSeconds必填

create_work_quote_acceptance_challenge

Ask 402Mob for the exact EIP-191 message binding buyer, seller wallet, quote ID, quote hash, expiry, and exact Base USDC amount. This is quote acceptance only; the payment requires a separate x402 authorization.

輸入參數buyer必填ticketId必填

accept_work_ticket_quote

Accept the exact current seller quote with its challenge-bound EIP-191 signature. This does not pay the seller. Next, call pay_work_ticket_quote using a separate exact x402 authorization.

輸入參數ticketId必填signature必填challengeId必填

pay_work_ticket_quote

Pay the buyer-accepted quote directly to the seller with x402 Base USDC. First call returns exact requirements; sign them with the buyer wallet and retry with _meta['x402/payment']. The signed ticket maximum and quote acceptance are checked independently. Keep idempotencyKey and the same payment authorization for recovery.

輸入參數ticketId必填idempotencyKey必填

submit_work_ticket_result

Submit a bounded result after the ticket payment is confirmed. Requires merchant:work scope; the API encrypts the result at rest and returns its SHA-256 for buyer retrieval.

輸入參數result必填ticketId必填contentType必填

create_work_result_challenge

Create the buyer's short-lived EIP-191 authorization to retrieve the result with the stated hash. Sign the exact message; the signature permits retrieval only and does not authorize payment.

輸入參數buyer必填ticketId必填

read_work_ticket_result

Retrieve a retained ticket result using the buyer's signed result challenge. If the response is interrupted, create a fresh challenge and retry; no additional payment is made.

輸入參數ticketId必填signature必填challengeId必填

create_work_receipt_challenge

Create an EIP-191 challenge for the buyer to record accepted or disputed judgment of the retained result. 402Mob stores the signed receipt but does not arbitrate or refund.

輸入參數buyer必填verdict必填ticketId必填

submit_work_receipt

Store the buyer's signed accepted/disputed receipt for this result. Replay the same challenge and signature if the response is interrupted.

輸入參數ticketId必填signature必填challengeId必填

create_delivery_receipt_challenge

Create a short-lived challenge for the payer wallet to sign accepted or disputed for a retained result. This does not charge or sign for the wallet. The returned message must be signed with EIP-191 by the payer.

輸入參數payer必填verdict必填operationId必填

submit_delivery_receipt

Submit the payer wallet's EIP-191 signature for a delivery receipt challenge. The signature must be created by the payer wallet, not by 402Mob.

輸入參數signature必填challengeId必填operationId必填

list_assigned_operations

List operations assigned to the calling coordinator agent. Requires an Authorization bearer key with operations:read scope.

無需輸入參數。

read_assigned_operation_evidence

Read redacted operation evidence, including result hash, settlement record, and delivery receipt summaries. Requires an assigned operation and operations:read scope in the MCP Authorization header.

輸入參數operationId必填

read_assigned_delivery_receipts

Read signed delivery receipt proofs for an assigned operation. Requires operations:read scope in the MCP Authorization header.

輸入參數operationId必填

reconcile_assigned_operation

Check settlement evidence for a pending 402Mob operation using its x402 settlement transaction hash. Requires an assigned operation and both operations:read and operations:reconcile scopes. This does not submit payment.

輸入參數operationId必填transaction必填

版本歷史

1
  1. v0.1.0最新Oct 29, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。