Skip to main content
Glama

Polygon MCP Server

by Dablclub

ポリゴンMCPサーバー

Claude AI にオンチェーン ツールを提供し、Polygon PoS ブロックチェーンとの対話を可能にする Model Context Protocol (MCP) サーバー。

特徴

  • Polygon PoSでコントラクト関数を呼び出す
  • ERC20トークンの残高を取得する
  • ERC20トークンの転送
  • 現在のガソリン価格を取得する

インストール

  1. このリポジトリをクローンします:
git clone https://github.com/your-username/polygon-mcp.git cd polygon-mcp
  1. 依存関係をインストールします:
npm install
  1. プロジェクトをビルドします。
npm run build

構成

次の変数を含む.envファイルをルート ディレクトリに作成します。

SEED_PHRASE="your twelve word seed phrase here"

使用法

サーバーの実行

npm start

クロードと一緒に使う

この MCP サーバーを Claude で使用するには、MCP 設定ファイルに追加する必要があります。

VSCode Claude 拡張機能の場合:

{ "mcpServers": { "polygon": { "command": "node", "args": ["/path/to/polygon-mcp/build/index.js"], "env": { "SEED_PHRASE": "your twelve word seed phrase here" }, "disabled": false, "autoApprove": [] } } }

Claude デスクトップ アプリの場合:

{ "mcpServers": { "polygon": { "command": "node", "args": ["/path/to/polygon-mcp/build/index.js"], "env": { "SEED_PHRASE": "your twelve word seed phrase here" }, "disabled": false, "autoApprove": [] } } }

利用可能なツール

コール契約

Polygon PoS でコントラクト関数を呼び出します。

パラメータ:

  • contractAddress : 呼び出すコントラクトのアドレス
  • functionName : 呼び出す関数の名前
  • functionArgs : 関数に渡す引数
  • abi : 契約のABI
  • value (オプション): トランザクションで送信するMATICの値

erc20残高

Polygon PoS で ERC20 トークンの残高を取得します。

パラメータ:

  • contractAddress : 残高を取得する契約のアドレス

erc20_転送

Polygon PoSでERC20トークンを転送します。

パラメータ:

  • contractAddress : トークンを転送するコントラクトのアドレス
  • toAddress : 受信者のアドレス
  • amount : 転送するトークンの量

ガス価格を取得する

Polygon PoS で現在のガス価格を取得します。

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

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 トークンを管理したり、ガス価格を確認したりできます。

  1. 特徴
    1. インストール
      1. 構成
        1. 使用法
          1. サーバーの実行
          2. クロードと一緒に使う
        2. 利用可能なツール
          1. コール契約
          2. erc20残高
          3. erc20\_転送
          4. ガス価格を取得する
        3. ライセンス

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
            Last updated -
            3
            9
            36
            JavaScript
            Apache 2.0
          • -
            security
            A
            license
            -
            quality
            MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
            Last updated -
            4
            3
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            A dynamic service that creates and manages Model Context Protocol (MCP) servers, allowing users to spawn, customize, and control multiple MCP servers as child processes.
            Last updated -
            5
            65
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            -
            license
            -
            quality
            A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
            Last updated -
            1
            TypeScript

          View all related MCP servers

          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/Dablclub/polygon-mcp'

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