Skip to main content
Glama

メタマスクMCP

LLM が MetaMask を介してブロックチェーンと対話できるようにするモデルコンテキストプロトコル (MCP) サーバー。

これらのツールを使用すると、秘密鍵は暗号通貨ウォレットに安全に保存され、メッセージに署名したりトランザクションを送信したりするときに AI エージェントと共有されることはありません。

プレビュー

https://github.com/user-attachments/assets/3fe8f20b-4666-4c36-8030-04d3e5d587c7

Related MCP server: EVM MCP Server

要件

  • Node.js (v20以上)

  • pnpm

設定

  1. リポジトリをクローンする

git clone https://github.com/Xiawpohr/metamask-mcp.git
cd metamask-mcp
  1. 依存関係をインストールする

pnpm install
  1. プロジェクトを構築する

pnpm build

Claude Desktopでの使用

ガイドhttps://modelcontextprotocol.io/quickstart/userに従って、次の構成を追加します。

{
  "mcpServers": {
    "metamask": {
      "command": "node",
      "args": [
        "/PATH/TO/YOUR_PROJECT/dist/index.ts"
      ]
    }
  }
}

ツール

  • call : トランザクションをネットワークに送信せずに、新しいメッセージの呼び出しを直ちに実行します。

  • get-chain-list : すべてのチェーン情報のリストを取得します。

  • get-connect-uri : MetaMask ウォレットに接続するための接続 URI を取得します。

  • show-connect-qrcode : 指定された接続 URI の接続 QR コードを表示します。

  • deploy-contract : 指定されたバイトコードとコンストラクター引数を使用して、ネットワークにコントラクトをデプロイします。

  • disconnect : ウォレットを切断します。

  • estimate-fee-per-gas : 次のブロックに含まれる可能性のあるトランザクションのガスあたりの手数料(wei単位)の見積もり。

  • estimate-gas : ネットワークに送信せずにトランザクションを完了するために必要なガスを推定します。

  • get-account : 現在のアカウントを取得します。

  • get-native-currency-balance : アドレスのネイティブ通貨残高を取得します。

  • get-token-balance : アドレスのトークン残高を取得します。

  • get-block-number : 最後に確認されたブロックの番号を取得します。

  • get-block : ブロック番号、ハッシュ、またはタグでブロックに関する情報を取得します。

  • get-chain-id : 現在のチェーン ID を取得します。

  • get-chains : 設定されたチェーンを取得します。

  • get-ens-address : 名前の ENS アドレスを取得します。

  • get-ens-name : アドレスのプライマリ ENS 名を取得します。

  • get-gas-price : 現在のガス価格(wei単位)を取得します。

  • get-token : トークン情報を取得します。

  • get-transaction-reeceipt : トランザクション ハッシュを指定してトランザクション レシートを取得します。

  • get-transaction : ハッシュまたはブロック識別子を指定してトランザクションを取得します。

  • read-contract : コントラクトに対して読み取り専用関数を呼び出し、応答を返します。

  • send-transaction : トランザクションをネットワークに送信します。

  • sign-message : メッセージに署名します。

  • switch-chain : 対象チェーンを切り替えます。

  • verify-message : 指定されたアドレスによってメッセージが署名されていることを確認します。

  • wait-for-transaction-receipt : トランザクションがブロックに含まれるのを待機し、トランザクションの受信を返します。

  • write-contract : コントラクトに対して書き込み関数を実行します。

プロンプト

貢献

貢献を歓迎します!改善点やバグ修正があればプルリクエストを送信してください。

ライセンス

MITライセンス

A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    A Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, providing services like token transfers, contract interactions, and ENS resolution through a unified interface.
    28
    134
    381
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Comprehensive Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, supporting token transfers, smart contract interactions, and ENS name resolution through a unified interface.
    1
  • F
    license
    C
    quality
    D
    maintenance
    A suite of MCP servers that allow LLMs to interact with blockchains through MetaMask wallet without exposing private keys, facilitating secure AI-powered blockchain interactions and simplified user onboarding.
    25
    4

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

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/Xiawpohr/metamask-mcp'

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