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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。