Skip to main content
Glama
drpcorg

dRPC Agent Skills

Official
by drpcorg

DRPC エージェントスキル

GitHub stars License: MIT Blockchains Networks Platforms MCP Tools

AI コーディングエージェントに、RPC を通じて 100 以上のブロックチェーンへのアクセス権を与えます。再起動や設定ファイルの編集は不要で、すぐに使用可能です。ウォレットを持つエージェントは x402 を介して自動的に API キーを取得するため、サインアップも不要です。ガイド付きレシピ、エラーハンドリング、200 以上のネットワークに対応しています。

なぜ DRPC なのか? リクエストは複数のプロバイダーにルーティングする分散型ゲートウェイを経由します。1 つがダウンしても、別のプロバイダーが引き継ぎます。レスポンスはコンセンサスによって検証されるため、単一のノードから誤ったデータを受け取ることはありません。

何ができるのか?

平易な英語でプロンプトを入力するだけで、エージェントがどの RPC 呼び出しを行うべきかを判断します。

ユースケース

プロンプト例

DeFi ポートフォリオ

"Get my wallet balance across Ethereum, Arbitrum, and Base"

ガス代の最適化

"Compare gas prices across all L2 networks right now"

トランザクション追跡

"Check if transaction 0xabc... is confirmed on Optimism"

スマートコントラクトの読み取り

"Read the totalSupply of USDC contract on Base"

ホエールウォッチング

"Get the last 10 transactions for this address on Ethereum"

クロスチェーン分析

"Compare TVL-related contract data across Arbitrum, Base and Optimism"

Related MCP server: x402 On-Chain Data MCP Server

インストール

対応プラットフォーム: Claude Code · Gemini CLI · Cursor · Codex · Windsurf · Cline · OpenClaw

エージェントがウォレットを持っている場合、x402 を介して自動的に API キーを取得します(サインアップ不要)。それ以外の場合は、drpc.org で無料キーを取得してください。その後、各プラットフォーム用のスキルをインストールします。

Claude Code

claude plugins marketplace add drpcorg/drpc-agent-skills
claude plugins install drpc-agent-skills

Gemini CLI

gemini extensions install https://github.com/drpcorg/drpc-agent-skills

Codex

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc ~/.agents/skills/drpc-rpc

Cursor

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .cursor/skills/drpc-rpc

Windsurf

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .windsurf/skills/drpc-rpc

Cline

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .cline/skills/drpc-rpc

OpenClaw

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc ~/.openclaw/skills/drpc-rpc

仕組み

以下のように質問してください:

"Get the ETH balance of vitalik.eth on Ethereum"

"Compare gas prices across all L2 networks"

エージェントがスキルファイルを読み取り、適切な RPC メソッドを選択して DRPC を呼び出し、結果を返します。ユーザー側での定型コードの記述は不要です。

You ask → Agent reads skill → Calls DRPC API → Returns blockchain data

自動的に選択される 3 つのモード:

  1. 初回セッション: x402 ウォレット署名を介して API キーを取得(または入力を要求)、直接 HTTP でリクエストを実行(再起動不要)、将来のセッションのために MCP を設定

  2. 以降のセッション: ネイティブ MCP ツールを使用(より高速で統合された動作)

  3. エラーハンドリング: 課金制限やレート制限を認識し、復旧をガイド

x402: 自動 API キー取得

このスキルは、HTTP 経由のマシン間決済のための Coinbase によるオープン標準である x402 決済プロトコル を実装しています。サーバーが 402 Payment Required を返すと、クライアントは何を支払うべきかを正確に把握し、支払いに署名してアクセス権を取得します。アカウント作成、ダッシュボード、キーのコピー&ペーストは不要です。

私たちの実装では、標準フローに無料のショートカットを追加しています:

Agent has wallet?
  │
  ├─ yes → SIWE sign-in (EIP-4361) ─── wallet already linked? ─── yes → API key (free, instant)
  │                                                                 │
  │                                                                 no
  │                                                                 ↓
  │                                       Pay 5 USDC (EIP-3009 signature, settled on Base)
  │                                                                 ↓
  │                                                          API key + tx receipt
  │
  └─ no  → Ask user for key (fallback to drpc.org free tier)
  1. SIWE チェック -- エージェントがウォレットの所有権を証明するメッセージに署名します。そのウォレットがすでに DRPC アカウントに紐付いている場合、API キーは即座に無料で返されます。

  2. 必要な時のみ支払い -- 新しいウォレットの場合、エージェントは Base 上の USDC に対して EIP-3009 transferWithAuthorization に署名します。サーバーがオンチェーンで決済を行い、キーを返します。

  3. 正常なフォールバック -- ウォレットがない場合、エージェントは従来の方法でユーザーにキーを要求します。

すべての署名はオフチェーンで行われます(ユーザーのガス代は不要)。決済はサーバー側で完了します。

curl の例を含む完全なプロトコルレシピについては、x402-auto-key.md を参照してください。

スキルの内容

ファイル

目的

SKILL.md

エントリーポイント — トランスポートを検出し、クエリタイプ別にルーティング

setup.md

プラットフォームごとの MCP 設定

direct-http.md

初回セッション用の直接 HTTP 呼び出し(MCP 不要)

tools-reference.md

パラメータを含む 16 個の MCP ツールすべて

recipes-simple.md

単一ネットワークのレシピ

recipes-crosschain.md

クロスチェーンのレシピ

x402-auto-key.md

x402 (SIWE + EIP-3009) による API キーの自動取得

errors.md

エラーコード、課金エラー、復旧パターン

MCP ツール

ツール

説明

list_networks

サポートされている 200 以上の全ネットワーク

list_methods

ネットワークごとの RPC メソッド

get_network_info

ネットワーク詳細(チェーン ID、通貨、エクスプローラー)

eth_getBalance

ネイティブトークン残高

eth_getBlockByNumber

番号またはタグによるブロック情報

eth_getBlockByHash

ハッシュによるブロック情報

eth_getTransactionByHash

トランザクション詳細

eth_getTransactionReceipt

ステータスとログを含むレシート

eth_getLogs

イベントログのクエリ

eth_call

スマートコントラクトの読み取り

eth_gasPrice

現在のガス価格

eth_estimateGas

ガス代の見積もり

eth_getCode

コントラクトのバイトコード

eth_getTransactionCount

アドレスのナンス

rpc_call

任意の JSON-RPC メソッド

rpc_batch

複数の呼び出しをバッチ処理

対応ネットワーク

Ethereum, Arbitrum, Optimism, Base, Polygon, BNB Chain, Avalanche, zkSync, Linea, Scroll, Mantle, Fantom, Gnosis, Celo, Moonbeam, Harmony, Aurora, Metis, Boba, Cronos, Klaytn, Solana, Bitcoin, NEAR, Cosmos, Starknet、および その他多数

コントリビューション

バグを見つけましたか?対応していないチェーンがありますか?Issue を開くか、PR を送ってください。

スターは発見しやすさにつながります。もしこのツールが役に立ったなら、ぜひスターをお願いします。

ライセンス

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityStale
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Bridges Ethereum JSON-RPC queries from Geth nodes to the Model Context Protocol ecosystem, exposing blockchain operations as MCP tools. Enables AI models and applications to securely interact with Ethereum data including blocks, transactions, balances, and advanced debug functions through schema-validated access.
    87
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables MCP clients to interact with over 31 blockchain chains through the MoltNode RPC gateway, providing tools for chain listing, RPC calls, block numbers, and native balance queries without API keys or setup.
    4
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Blockchain JSON-RPC on 23 EVM chains for AI agents — Ethereum, Base, Arbitrum, plus young chains like Robinhood Chain, Plasma and Ink. Free reads with no key; heavy methods (eth_getLogs, trace, debug) via a free API key or x402 USDC pay-per-call.
    12
    121
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/drpcorg/drpc-agent-skills'

If you have feedback or need assistance with the MCP directory API, please join our Discord server