闲社服务运行正常AI智能体自动化平台
e

Etherscan MCP技能

技能标识:etherscan-mcp-skill

Use Etherscan MCP through UXC for address balance checks, token holder analysis, transaction inspection, and contract lookup tasks. Use when tasks need Etherscan MCP tools for onchain investigation with help-first schema inspection, bearer-key auth, and tier-aware read-first handling.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Etherscan MCP技能

Etherscan MCP 技能

使用此技能通过 uxc 运行 Etherscan MCP 操作。

复用 uxc 技能进行共享协议发现、输出解析以及通用认证/绑定流程。

前提条件

  • - uxc 已安装并可在 PATH 中使用。
  • 可访问 https://mcp.etherscan.io/mcp 网络。
  • 拥有可用于认证调用的 Etherscan API 密钥。

核心工作流程

  1. 1. 通过帮助优先探测确认端点和协议:
- uxc https://mcp.etherscan.io/mcp -h - 当前预期的未认证行为:401 Unauthorized
  1. 2. 配置凭据/绑定以实现可重复认证:
- uxc auth credential set etherscan-mcp --auth-type bearer --secret-env ETHERSCANAPIKEY - uxc auth credential set etherscan-mcp --auth-type bearer --secret-op op://Engineering/etherscan/api-key - uxc auth binding add --id etherscan-mcp --host mcp.etherscan.io --path-prefix /mcp --scheme https --credential etherscan-mcp --priority 100
  1. 3. 默认使用固定链接命令:
- command -v etherscan-mcp-cli - 如果缺失,创建它:uxc link etherscan-mcp-cli https://mcp.etherscan.io/mcp - etherscan-mcp-cli -h
  1. 4. 执行前检查操作模式:
- etherscan-mcp-cli balance -h - etherscan-mcp-cli tokenTopHolders -h - etherscan-mcp-cli getContractAbi -h - etherscan-mcp-cli transaction -h
  1. 5. 优先使用读取操作,然后再考虑可能触发大量数据拉取或后续自动化的任何工作流程。

能力映射

  • - 地址调查:
- balance - tokenHoldings - fundedBy - getAddressMetadata
  • - 代币持有者分析:
- balanceERC20 - balanceERC20Historical - tokenTopHolders - getTokenInfo
  • - 交易调查:
- txList - internalTxsByAddress - erc20Transfers - erc721Transfers - erc1155Transfers - transaction - checkTransaction
  • - 合约研究:
- getContractAbi - getContractSourceCode - getContractCreation
  • - 验证:
- verifySourceCode - checkVerifyStatus

在认证设置后检查 etherscan-mcp-cli -h 以获取当前完整工具列表。Etherscan 可以独立于此包装技能扩展 MCP 工具。

推荐使用模式

  1. 1. 从只读调查目标开始:
- 地址的余额或持仓 - 代币的持有者集中度 - 哈希的交易检查 - 合约的源代码/元数据查询
  1. 2. 在首次实际调用前对特定工具运行 -h。
  2. 在扩大范围前优先一次处理一个链/地址/代币。
  3. 先解析 JSON 信封,然后检查 data。

防护措施

  • - 保持自动化基于 JSON 输出信封;不要依赖 --text。
  • 首先解析稳定字段:ok、kind、protocol、data、error。
  • 使用 etherscan-mcp-cli 作为默认命令路径。
  • etherscan-mcp-cli ... 等同于 uxc https://mcp.etherscan.io/mcp ...。
  • 如果未认证探测或运行时调用返回 401 Unauthorized:
- 使用 uxc auth binding match https://mcp.etherscan.io/mcp 确认认证绑定与端点匹配 - 使用 uxc auth credential info etherscan-mcp 确认凭据格式 - 如有必要,重置为 bearer 凭据:uxc auth credential set etherscan-mcp --auth-type bearer --secret-env ETHERSCANAPIKEY
  • - 仅对简单标量输入使用 key=value。
  • 当操作接受可能演变的嵌套对象、数组或可选标志时,优先使用位置 JSON。
  • 不要凭记忆假设工具参数名称;首先检查 -h,因为 Etherscan 可能独立于此技能修改 MCP 模式。
  • 某些 MCP 工具受 Etherscan 计划层级限制。目前,getTokenInfo 在非 Pro 密钥上可能返回带有 API Pro 升级消息的 NOTOK。
  • 将 verifySourceCode 视为需要明确用户确认的类似写入操作。

参考

  • - 调用模式:
- references/usage-patterns.md

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 etherscan-mcp-skill-1776193953 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 etherscan-mcp-skill-1776193953 技能

通过命令行安装

skillhub install etherscan-mcp-skill-1776193953

下载

⬇ 下载 etherscan-mcp-skill v1.0.0(免费)

文件大小: 5.15 KB | 发布时间: 2026-4-15 12:58

v1.0.0 最新 2026-4-15 12:58
Initial release of etherscan-mcp-skill.

- Integrates Etherscan MCP operations into UXC for onchain investigation.
- Supports address balance checks, token holder analysis, transaction inspection, and contract lookup.
- Includes help-first schema inspection, bearer-key authentication, and tier-aware handling.
- Provides workflow recommendations, guardrails, and troubleshooting steps.
- Lists all supported Etherscan MCP operations and usage patterns.
返回顶部