mcpField
C
corbits-marketplace

corbits-marketplace

github.com/moonpayエージェントワークフロー11237 回インストール23 週間前に更新
リポジトリ

corbits-marketplace について

Corbitsは、AIエージェント向けの有料API検索・プロキシプラットフォームです。x402を使ったリクエスト単位のUSDCマイクロペイメントに対応し、MoonPayウォレットで支払います。

主な機能

  1. 01名前やカテゴリからAPIプロキシを検索
  2. 02エンドポイントとUSDC価格を確認
  3. 03費用を確認して有料APIを実行
  4. 04x402の支払い認証を自動処理
  5. 05EVMネットワークとSolanaに対応

活用シーン

  1. 01エージェント用の有料APIを検索
  2. 02暗号資産価格データのAPIを呼び出す
  3. 03エージェントのワークフローでAPI料金を支払う

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/moonpay/skills --skill corbits-marketplace

インストール後、Claude Code で/corbits-marketplaceを入力して読み込まれたか確認します。

詳細

Corbits — AI エージェント向け有料 API マーケットプレイス

概要

Corbits は、プレミアム API の検索とプロキシを提供するプラットフォームです。エージェントは x402 プロトコルによるリクエストごとの USDC マイクロペイメントを自動で行いながら、有料 API を検索、選択、呼び出すことができます。すべての支払いに使用するウォレットは MoonPay が提供します。お使いの MoonPay ウォレットが、そのまま Corbits の支払い用ウォレットになります。

/corbits search <topic>  → find matching API proxies
/corbits list            → browse endpoints + USDC pricing
/corbits call            → select endpoint → review cost → confirm → execute
                           (payment auto-deducted from MoonPay wallet)

対応: EVM ウォレット(Ethereum、Polygon、Base、Arbitrum)および Solana

前提条件

# 1. Install Corbits skill
npx clawhub@latest install corbits

# 2. Install MoonPay CLI
npm install -g @moonpay/cli
mp login

セットアップ(初回のみ)

# 1. Create your payment wallet
mp wallet create --name "corbits-agent"
mp wallet retrieve --wallet "corbits-agent"  # note your EVM address

# 2. Fund with USDC
mp buy --token usdc_ethereum --amount 50 --wallet <evm-address> --email <email>

# 3. Export private key for Corbits
# ⚠️ Security: your private key gives full access to your wallet.
# Never share it, commit it, or paste it anywhere other than the corbits init prompt.
# Use a dedicated low-balance wallet — not your primary wallet.
mp wallet export --wallet "corbits-agent"
# Copy the EVM private key

# 4. Initialize Corbits — paste the exported key when prompted
/corbits init

/corbits init は、macOS Keychain または ~/.config/corbits/ にキーを保存し、@faremeter/rides を使用する TypeScript プロジェクトを作成します。また、Solana のキーペアも任意で設定できます。

主なコマンド

コマンド説明
/corbits init初回セットアップ(ウォレット+プロジェクトのひな形作成)
/corbits search <query>名前またはカテゴリで API プロキシを検索
/corbits list利用可能なすべてのプロキシと、USDC 建てのエンドポイント料金を表示
/corbits call自動決済で有料 API を呼び出す
/corbits status現在選択中のプロキシを表示

使用例

# Crypto price data
/corbits search "crypto prices"
/corbits list
/corbits call
# → Select: GET /prices/latest
# → Cost: 0.001 USDC
# → Confirm: y
# → Response: { "BTC": 67420.00, "ETH": 3540.00, ... }

# Weather data
/corbits search "weather"
/corbits list
/corbits call

すべての料金は実行前に USDC 建てで表示されます。@faremeter/rides ライブラリが x402 の支払い認証を自動で処理するため、手動でトランザクションに署名する必要はありません。

コンテキストの保存先: ~/.config/corbits/context.json ベース URL: https://api.corbits.dev

ウォレットへの入金

Corbits の支払いは USDC で決済されます。有料 API を呼び出す前に、残高を用意してください。

法定通貨で USDC を購入
# Ethereum (standard)
mp buy --token usdc_ethereum --amount 50 --wallet <evm-address> --email <email>

# Polygon (lower gas)
mp buy --token usdc_polygon --amount 50 --wallet <evm-address> --email <email>
ETH を USDC にスワップ
mp token swap \
  --from-wallet corbits-agent --chain ethereum \
  --from-token 0x0000000000000000000000000000000000000000 \
  --to-token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 \
  --from-amount 0.02
銀行振込(大口予算向け)
mp virtual-account create
mp virtual-account kyc continue
mp virtual-account bank-account register
mp virtual-account onramp create \
  --name "Corbits Onramp" \
  --fiat usd \
  --stablecoin usdc \
  --wallet <evm-address> \
  --chain ethereum
入金リンク(許可不要)

誰でも任意のチェーンから Corbits ウォレットに入金できます。USDC に自動変換されます。

mp deposit create \
  --name "Corbits Agent Fund" \
  --wallet <evm-address> \
  --chain ethereum --token USDC
残高を確認
mp token balance list --wallet <evm-address> --chain ethereum
自動チャージ

エージェントのパイプラインで、ウォレットに自動的に残高を追加できます。

BALANCE=$(mp token balance list --wallet <address> --chain ethereum --json | \
  jq '.[] | select(.symbol=="USDC") | .balance')

if (( $(echo "$BALANCE < 5" | bc -l) )); then
  mp token bridge \
    --from-wallet primary --from-chain polygon \
    --from-token 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 \
    --from-amount 20 \
    --to-chain ethereum \
    --to-token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
fi

エンドツーエンドのワークフロー

  1. npx clawhub@latest install corbits
  2. mp wallet create --name "corbits-agent"
  3. mp buy --token usdc_ethereum --amount 50 --wallet <address> --email <email>
  4. mp wallet export --wallet "corbits-agent" — EVM の秘密鍵をコピーします
  5. /corbits init — プロンプトが表示されたらキーを貼り付けます
  6. /corbits search <topic> — API を検索します
  7. /corbits call — MoonPay ウォレットから自動的に支払いが差し引かれます
  8. 必要に応じてチャージします:mp buy または mp token bridge

主なトークンアドレス

トークンチェーンアドレス
USDCEthereum0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
USDC.ePolygon0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
ETH(ガス代)Ethereumネイティブ

リソース

関連スキル

  • moonpay-check-wallet — API 呼び出し前に USDC 残高を確認
  • moonpay-x402 — 他のエンドポイント向けに x402 のリクエストごとの直接支払いを実行
  • moonpay-swap-tokens — Corbits での支払い用にトークンを USDC にスワップ

コメント