MetaMask MCP

Integrations

  • Used for running the MCP server, with the application requiring Node.js v20 or higher as specified in the requirements.

  • Required for package management as specified in the setup instructions for installing dependencies and building the project.

메타마스크 MCP

LLM이 MetaMask를 통해 블록체인과 상호 작용할 수 있게 해주는 MCP(모델 컨텍스트 프로토콜) 서버입니다.

이러한 도구를 사용하면 개인 키가 암호화폐 지갑에 안전하게 저장되고 메시지에 서명하거나 거래를 보낼 때 AI 에이전트와 공유되지 않습니다.

시사

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

요구 사항

  • Node.js(v20 이상)
  • pnpm

설정

  1. 저장소를 복제합니다

지엑스피1

  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 : name에 대한 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 라이센스

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

LLM이 MetaMask를 통해 블록체인과 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 거래 및 블록체인 작업을 활성화하는 동시에 개인 키를 암호화 지갑에 안전하게 보관합니다.

  1. Preview
    1. Requirements
      1. Setup
        1. Using with Claude Desktop
          1. Tools
            1. Prompts
              1. Contributing
                1. License

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
                    Last updated -
                    10
                    53
                    Python
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.
                    Last updated -
                    31
                    323
                    2
                    TypeScript
                    MIT License
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables LLMs to access Binance Smart Chain data, perform blockchain queries, and create Four.meme tokens.
                    Last updated -
                    TypeScript
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.
                    Last updated -
                    TypeScript
                    MIT License
                    • Apple

                  View all related MCP servers

                  ID: cw2ldcetl4