MetaMask MCP
메타마스크 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
종속성 설치
pnpm install프로젝트를 빌드하세요
pnpm buildClaude 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 라이센스
Available Tools
28 toolscallB
Executing a new message call immediately without submitting a transaction to the network.
Inputs: to (required), data (required), value.
deploy-contractC
Deploy a contract to the network, given bytecode, and constructor arguments.
Inputs: abi (required), bytecode (required), args.
disconnectC
Disconnect the wallet.
Inputs: no named parameters.
estimate-fee-per-gasC
Estimate for the fees per gas (in wei) for a transaction to be likely included in the next block.
Inputs: chainId, formatUnits.
estimate-gasA
Estimate the gas necessary to complete a transaction without submitting it to the network.
Inputs: to (required), data, value, maxFeePerGas, +2 more.
get-accountB
Get the current account.
Inputs: no named parameters.
get-blockC
Fetch information about a block at a block number, hash or tag.
Inputs: chainId, blockHash, blockNumber, blockTag.
get-block-numberB
Fetch the number of the most recent block seen.
Inputs: chainId.
get-chain-idB
Get the current chain id.
Inputs: no named parameters.
get-chain-listB
Get a list of all chains information.
Inputs: no named parameters.
get-chainsC
Get the configured chains.
Inputs: no named parameters.
get-connect-uriB
Get the connect URI to connect to a MetaMask wallet.
Inputs: no named parameters.
get-ens-addressB
Fetch the ENS address for name.
Inputs: name (required), chainId, blockNumber.
get-ens-nameB
Fetch the primary ENS name for address.
Inputs: address (required), chainId, blockNumber.
get-native-currency-balanceC
Get the native currency balance of an address.
Inputs: address (required).
get-tokenC
Fetch the token information.
Inputs: address (required), chainId.
get-token-balanceC
Get token balance of an address.
Inputs: address (required), token (required).
get-transactionC
Fetch transaction given hash or block identifiers.
Inputs: hash (required), chainId.
get-transaction-receiptC
Fetch the Transaction Receipt given a Transaction hash.
Inputs: hash (required), chainId.
read-contractC
Call a read-only function on a contract, and returning the response.
Inputs: abi (required), address (required), functionName (required), args, +1 more.
send-transactionC
Send transactions to networks.
Inputs: to (required), data, value, maxFeePerGas, +2 more.
show-connect-qrcodeC
Show the connect QR code for a given connect URI.
Inputs: uri (required).
sign-messageC
Sign a message.
Inputs: message (required).
switch-chainC
Switch the target chain.
Inputs: chainId (required), addEthereumChainParameter.
verify-messageA
Verify that a message was signed by the provided address.
Inputs: address (required), message (required), signature (required).
wait-for-transaction-receiptC
Waits for the transaction to be included on a block, and then returns the transaction receipt.
Inputs: hash (required), confirmations, chainId.
wait-secondsB
Wait the given seconds.
Inputs: seconds (required).
write-contractC
Execute a write function on a contract.
Inputs: abi (required), address (required), functionName (required), args, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Most tools have distinct purposes, but some overlap exists, such as 'get-block' and 'get-block-number' which could cause minor confusion. However, descriptions clarify their differences, and the majority of tools target specific actions like contract operations, account management, and transaction handling without significant ambiguity.
Tool names follow a consistent verb-noun pattern with hyphens (e.g., 'get-account', 'send-transaction'), but there are minor deviations like 'call' and 'disconnect' that lack nouns. Overall, the naming is predictable and readable, with only a few tools breaking the pattern.
With 28 tools, the count is borderline high for a wallet integration server, potentially feeling heavy. While it covers many blockchain operations, some tools like 'wait-seconds' seem peripheral, and the set might benefit from consolidation to reduce complexity without losing core functionality.
The tool set provides comprehensive coverage for MetaMask wallet and blockchain interactions, including account management, contract operations (deploy, read, write), transaction handling, gas estimation, and network utilities. There are no obvious gaps, and it supports full CRUD-like workflows for the domain.
Maintenance
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 the Z1N Protocol - on-chain identity for AI agents on Polygon
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Related MCP Servers
- AlicenseDqualityDmaintenanceA 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.5414MIT
- AlicenseBqualityDmaintenanceA 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.2896 npm380MIT
- -licenseNot gradedqualityNot gradedmaintenanceComprehensive 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-
- AlicenseCqualityDmaintenanceA 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.254ISC