MCPilot
MCPilot
该项目是在 ETHGlobal Hackathon Taipie 2025 上开发的。该项目仅用于概念验证,请勿用于生产环境。请查看metamask-mcp获取可用于生产环境的应用程序。
MCPilot 提供一套 MCP 服务器,使 LLM 能够通过 MetaMask 钱包与区块链进行交互,确保用户无需暴露私钥或承担资产损失的风险。它是将人工智能与区块链技术连接起来的重要工具包,并有助于简化用户链上操作。
描述
LLM 正在改变我们与数字工具交互的方式。我们无需阅读手册或学习复杂的系统,只需使用自然语言即可请求 LLM 为我们完成任务。这极大地简化了用户入门,尤其是在 Web3 领域。秉承这一愿景,许多 Web3 和 DeFi 代理已经开发出来,旨在使去中心化服务更易于访问且用户友好。
然而,大多数这类代理都存在一个关键缺陷:用户需要与AI代理共享私钥才能签署交易。这带来了巨大的安全风险,因为任何泄露都可能导致用户资产损失。
MCPilot 通过将 LLM 与生态系统中最值得信赖的加密钱包之一 MetaMask 集成,解决了这个问题。这种方法确保私钥安全地保存在钱包中,永远不会泄露。借助 MCPilot,用户可以通过自然语言,借助人工智能的力量,安全可靠地管理他们的整个 Web3 体验。
Related MCP server: MetaMask MCP
特征
区块链与自然语言的互动
无需代码,无需专业术语——只需告诉AI你想做什么。从代币兑换、桥接到合约签署,“MCPilot”能够处理简单的语言,并使用多种代理工具来完成你的任务。
将您的私钥存储在安全的加密钱包中
所有交易均在 MetaMask 移动应用程序中安全签名。无需暴露您的私钥或依赖第三方托管——一切尽在您的掌控之中。
Web2 和 Web3 服务之间的互操作性
MCPilot 赋予 AI 能力来整合 web2 和 web3 服务,实现跨中心化和去中心化平台的无缝数据流和智能合约交互。
怎么会这样
技术栈:
Claude:类似于 ChatGPT 的 AI 助手和聊天机器人,设计时非常注重安全性和可靠性。
MetaMask:领先的加密钱包,通过安全地管理用户的私钥,用户可以与以太坊区块链和去中心化应用程序 (dApps) 进行交互。
MCP(模型上下文协议):一种旨在简化和标准化AI模型与外部数据和工具交互方式的协议,使其能够访问超出其内置知识的实时信息。
我们开发了一套 MCP 服务器,每个服务器都提供扩展 LLM 功能的专用工具:
metamask-mcp:使 LLM 能够与 MetaMask 交互以实现安全的钱包操作。
chainlist-mcp:提供所有受支持的区块链网络的信息。
solc-mcp:编译 Solidity 智能合约。
erc20-mcp:允许管理 ERC20 代币。
celo-mcp:验证 Celo 区块链上的合约。
poly-mcp:验证 Polygon 区块链上的合约。
zircuit-mcp:在 Zircuit 区块链上提供令牌数据。
如何与 Claude Desktop 一起使用
按照指南https://modelcontextprotocol.io/quickstart/user并添加以下配置:
{
"mcpServers": {
"metamask-server": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR_PROJECT/packages/metamask-mcp/src/index.ts"
]
},
"chainlist-server": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR_PROJECT/packages/chainlist-mcp/src/index.ts"
]
},
"solc-server": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR_PROJECT/packages/solc-mcp/src/index.ts"
]
},
"erc20-server": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR_PROJECT/packages/erc20-mcp/src/index.ts"
]
},
"polygon-server": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR_PROJECT/packages/polygon-mcp/src/index.ts"
],
"env": {
"POLYGONSCAN_API_KEY": ""
}
},
"celo-server": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR_PROJECT/packages/celo-mcp/src/index.ts"
],
"env": {
"CELOSCAN_API_KEY": ""
}
},
"zircuit-server": {
"command": "npx",
"args": [
"tsx",
"/PATH/TO/YOUR_PROJECT/packages/zircuit-mcp/src/index.ts"
]
},
}
}已部署合约
多边形
测试 ERC20 代币: 0x73035CCf7fA8E97cB7F32C6f2E6cCDcF42294A8a
塞洛
测试 ERC20 代币: 0x5c6A2101890195716Ee63aDE4De14A779AE50e0a
锆石
测试 ERC20 代币:
Available Tools
25 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), args (required), bytecode (required).
disconnectB
Disconnect the metamaks wallet
Inputs: no named parameters.
get-accountC
Get current account
Inputs: no named parameters.
get-blockC
Get the block information of a chain
Inputs: chainId, blockNumber.
get-block-numberC
Get the block nunber of a chain
Inputs: chainId.
get-chain-idB
Get the current chain id
Inputs: no named parameters.
get-chainsB
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-addressC
Get the ENS address for name
Inputs: name (required), chainId, blockNumber.
get-ens-nameC
Get 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-tokenD
Get the token information
Inputs: address (required), chainId.
get-token-balanceC
Get token balance of an address
Inputs: address (required), token (required).
get-transactionC
Get the transactions given hashes or chain identifiers
Inputs: hash (required), chainId.
get-transaction-receiptC
Get 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 (required).
send-transactionD
Send transactions to networks
Inputs: to (required), value, data.
show-connect-qrcodeC
Show the connect QR code for a given connect URI
Inputs: uri (required).
sign-messageD
Sign messages
Inputs: message (required).
switch-chainD
Switch the target chain
Inputs: chainId (required), addEthereumChainParameter.
verify-messageC
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), chainId.
wait-secondsC
Wait the given seconds
Inputs: seconds (required).
write-contractC
Execute a write function on a contract
Inputs: abi (required), address (required), functionName (required), args (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have distinct purposes with clear boundaries, such as 'deploy-contract' vs. 'write-contract' for different contract interactions. However, 'call' and 'read-contract' could be slightly confusing as both involve read-only calls, though 'call' is more general and 'read-contract' is contract-specific. Overall, the descriptions help differentiate them, with only minor overlap.
The naming follows a mostly consistent verb-noun pattern (e.g., 'get-account', 'send-transaction'), but there are deviations like 'call' (single verb), 'disconnect' (single verb), and 'wait-seconds' (verb-noun but unconventional). No camelCase mixing, but the pattern is not fully uniform, making it readable but not perfectly predictable.
With 25 tools, the count feels heavy for an MCP server focused on blockchain interactions, suggesting potential over-scoping. While the domain is broad, many tools could be consolidated (e.g., multiple 'get-' functions) or are utility-based (e.g., 'wait-seconds'), making the set borderline excessive and less streamlined than ideal.
The tool set provides comprehensive coverage for blockchain and wallet operations, including account management, contract interactions (deploy, read, write), transaction handling, chain switching, and utilities like signing and waiting. No obvious gaps exist for the intended domain, offering a complete lifecycle from connection to execution.
Maintenance
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server for the Z1N Protocol - on-chain identity for AI agents on Polygon
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables LLMs to perform blockchain operations on the Base network through natural language commands, including wallet management, balance checking, and transaction execution.43MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that allows LLMs to interact with blockchain through MetaMask, keeping private keys securely in your crypto wallet while enabling transactions and blockchain operations.2812MIT
- AlicenseNot gradedqualityDmaintenanceA set of MCP servers that provide AI agents with safe, composable access to web3 market data and trading, featuring read-only intelligence and execution modes with SIM/PAPER/LIVE safeguards.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents real-time access to DeFi across multiple chains, enabling non-custodial crypto trading, portfolio queries, and transaction execution.7MIT