返回顶部
e

etherscan-mcp-skillEtherscan MCP技能

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
安全检测
已通过
244
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

etherscan-mcp-skill

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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部