ポリゴンMCPサーバー
Claude AI にオンチェーン ツールを提供し、Polygon PoS ブロックチェーンとの対話を可能にする Model Context Protocol (MCP) サーバー。
特徴
- Polygon PoSでコントラクト関数を呼び出す
- ERC20トークンの残高を取得する
- ERC20トークンの転送
- 現在のガソリン価格を取得する
インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- プロジェクトをビルドします。
構成
次の変数を含む.env
ファイルをルート ディレクトリに作成します。
使用法
サーバーの実行
クロードと一緒に使う
この MCP サーバーを Claude で使用するには、MCP 設定ファイルに追加する必要があります。
VSCode Claude 拡張機能の場合:
Claude デスクトップ アプリの場合:
利用可能なツール
コール契約
Polygon PoS でコントラクト関数を呼び出します。
パラメータ:
contractAddress
: 呼び出すコントラクトのアドレスfunctionName
: 呼び出す関数の名前functionArgs
: 関数に渡す引数abi
: 契約のABIvalue
(オプション): トランザクションで送信するMATICの値
erc20残高
Polygon PoS で ERC20 トークンの残高を取得します。
パラメータ:
contractAddress
: 残高を取得する契約のアドレス
erc20_転送
Polygon PoSでERC20トークンを転送します。
パラメータ:
contractAddress
: トークンを転送するコントラクトのアドレスtoAddress
: 受信者のアドレスamount
: 転送するトークンの量
ガス価格を取得する
Polygon PoS で現在のガス価格を取得します。
ライセンス
マサチューセッツ工科大学
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Claude AI にオンチェーン ツールを提供する Model Context Protocol (MCP) サーバー。Polygon PoS ブロックチェーンと対話して、コントラクト関数を呼び出したり、ERC20 トークンを管理したり、ガス価格を確認したりできます。
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that allows Claude to make API requests on your behalf, providing tools for testing various APIs including HTTP requests and OpenAI integrations without sharing your API keys in the chat.Last updated -Python
- -securityFlicense-qualityA Model Context Protocol server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network information.Last updated -7TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that allows Claude AI to interact with custom tools, enabling extension of Claude's capabilities through the MCP framework.Last updated -TypeScript
- -securityFlicense-qualityA Model Context Protocol server that extends Claude's capabilities by providing tools to interact with the Solana blockchain, allowing AI agents to perform operations like executing transactions, managing wallets, and accessing token information.Last updated -1