com.jpyc-service/ec-storefront
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
JPYC (JPY stablecoin) EC platform MCP: product search, x402 gasless checkout, order status.
| Author | com.jpyc-service |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 1496 ms |
| Last measured | 2026-10-26 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"ec-storefront": {
"url": "https://ec.jpyc-service.com/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (9)
list_shopsJPYC EC Platform に出店している公開ショップの一覧を返す。減農薬の農産物・地酒・伝統工芸品など、生産者から直接買えるショップが中心。各ショップの name / slug / 説明 / 対応チェーン / 商品点数を含む。商品を探す起点として最初に呼ぶとよい。
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
get_shop1 つのショップ(生産者・職人)の詳細を slug で取得する。ショップのストーリーや説明、対応ブロックチェーン、x402 決済が有効かどうかを返す。
Parameters:
shop_slug(required) — string — ショップの slug(URL 識別子)
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
list_products_in_shop1 つのショップの公開中の商品をすべて返す。価格(JPYC 建て)・在庫・バリエーション・配送要否・対応チェーンを含む。list_shops でショップを見つけたあと、その品揃えを見るのに使う。
Parameters:
shop_slug(required) — string — ショップの slug
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
get_product1 つの商品の詳細を product_id で取得する。価格(JPYC 建て)・在庫・SKU・バリエーション・配送要否・対応チェーンを返す。購入の前に必ず呼んで、requires_shipping(配送先が必要か)と has_variants(オプション選択が必要か)を確認すること。
Parameters:
product_id(required) — string — 商品 ID
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
search_productsJPYC EC Platform 上の公開商品を横断検索する。減農薬米・地酒・伝統工芸品など、生産者から直接 JPYC で購入できる商品が対象。text は自然言語のキーワード(例: 『丹波 米』)で、商品名と説明に部分一致する。category / tag(産地・認証種別など)、価格帯(min_price / max_price、JPYC)、shop_slug で絞り込める。売上順で最大 50 件返す。
Parameters:
tag— string — 商品タグ(産地・認証種別など)の完全一致text— string — 自然言語のキーワード(商品名・説明に部分一致)limit— integer — 最大件数(1-50、既定 20)category— string — 商品カテゴリーの完全一致max_price— number — 最高価格(JPYC)min_price— number — 最低価格(JPYC)shop_slug— string — 特定ショップに絞り込む
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
quote_checkoutカートの内容で x402 チェックアウトの 1 回目を実行する。在庫を仮押さえし(有効期限は返り値 expires_at_unix_ms)、小計・割引・送料・合計(JPYC)と reservation_id、および PAYMENT-REQUIRED チャレンジ(base64url、x402 accepts 配列)を返す。accepts の決済方式: 『eip3009』(既定。通常購入の EOA ウォレットはこちらを選び、EIP-712 TransferWithAuthorization に署名する) と『erc20-transfer』(ecrecover 非対応のスマートコントラクトウォレット専用。payer_address を渡した予約にだけ提示される。extra.payerAuthorization.message を personal_sign して authorize_transfer を呼び、その成功後に表示額ぴったりの通常 ERC-20 transfer を実行し、txHash 任意/payerAddress 必須で submit_payment に渡す)。0円デモは demo_signature_version=1 と payer_address を渡すと demo-signature を提示する。送金せず personal_sign だけで完了する。全 item は同一ショップである必要がある。配送が必要な商品があれば shipping を、贈答なら gift_recipient を必ず渡すこと。
Parameters:
shop_id(required) — string — ショップ ID(全 item 共通)items(required) — array — 購入する商品customer_email(required) — string — 注文確認メールの送信先(必須)is_gift— boolean — 贈答かどうかshipping— object — 配送先(配送が必要な商品がある場合は必須)coupon_code— string — ショップから受け取ったクーポンコード(任意。NFT割引との併用不可)customer_note— string — 注文メモpayer_address— string — 支払いに使うウォレットアドレス(任意・推奨)。指定すると settle 時に支払いに使うウォレットと照合され、別ウォレットからの支払いは拒否される。スマートコントラクトウォレットで erc20-transfer 方式を使う場合は必須(指定が無いと accepts に erc20-transfer が提示されない)gift_recipient— object — 贈り先(is_gift が true なら必須)idempotency_key— string — 同じ見積もりの再試行で必ず再利用する一意キー。クーポン利用時は必須(UUID推奨)。異なる購入内容に同じキーを使わないことpreferred_chain_id— integer — 希望チェーン(任意。商品の対応チェーンから選ばれる)demo_signature_version— string — 0円デモのpersonal_signに対応する場合のみ指定
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
authorize_transfererc20-transfer 方式だけで、JPYC を送金する前に必ず呼ぶ。quote_checkout の選択した accept にある extra.payerAuthorization.message をウォレットで personal_sign し、その署名と reservation_id を渡す。サーバは EOA / ERC-1271 / ERC-6492 を検証して予約へ固定する。このツール自体は送金も approve も行わない。成功を確認してから accepted.amount ぴったりを transfer すること。eip3009 方式では呼ばない。
Parameters:
reservation_id(required) — string — quote_checkout が返した reservation_idsignature(required) — string — payerAuthorization.message の personal_sign 署名
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
submit_paymentquote_checkout で得た reservation_id と、エージェントが用意した x402 PaymentPayload(base64url)を渡して決済を確定する。demo-signatureならextra.payerAuthorization.messageをpersonal_signし、{payerAddress,demoSignature}を渡す。送金やauthorize_transferは呼ばない。quote_checkout の accepts から選んだ方式に応じて payload の中身が変わる: 『eip3009』なら { signature, authorization } (EIP-712 TransferWithAuthorization の署名)、『erc20-transfer』なら { payerAddress, txHash? } (ウォレットが実行した通常の ERC-20 transferの送金元アドレス。txHash は分かれば渡す任意ヒント — 無くてもサーバがon-chain のログを検索して照合する)。erc20-transfer は送金前に必ず authorize_transfer を成功させる。eip3009 はサーバが facilitator 経由で on-chain settle し、erc20-transfer はユーザーが既に送金したものをサーバが検証するだけ。いずれも確定した注文(order_number / tx_hash)を返す。
Parameters:
reservation_id(required) — string — quote_checkout が返した reservation_idpayment_signature(required) — string — 署名済み x402 PaymentPayload(base64url JSON)
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
get_order_status購入履歴専用のSIWE署名で本人確認した注文履歴を最大50件返す。署名は一度だけ利用できる。
Parameters:
customer_address(required) — stringmessage(required) — string — Purchase-history SIWE message; see the orders API authentication statementsignature(required) — stringoffset— integer
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.