这是一个专注于使用Etherscan API进行代币操作和智能合约交互的MCP(模型上下文协议)服务器。
获取免费的Etherscan API密钥:
选择以下方法之一将MCP服务器添加到Cursor:
在你的~/.cursor/mcp.json中添加:
{
"mcpServers": {
"human-eth-call": {
"command": "docker",
"args": [
"run","--rm","-i",
"-e","ETHERSCAN_API_KEY",
"ghcr.io/git-alice/human_eth_call_mcp:latest"
],
"env": {
"ETHERSCAN_API_KEY": "your_api_key_here"
}
}
}
}
在你的~/.cursor/mcp.json中添加:
{
"mcpServers": {
"human-eth-call": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/git-alice/human_eth_call_mcp.git",
"human-eth-call-mcp"
],
"env": {
"ETHERSCAN_API_KEY": "your_api_key_here"
}
}
}
}
git clone https://github.com/git-alice/human_eth_call_mcp.git
cd human_eth_call_mcp
bash scripts/cursor-install-mcp.sh