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.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- etherscan-mcp-skill
- description
- 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.
02 资源文件 6
- 参考文档_meta.json292 B
- 参考文档agents/openai.yaml315 B
- 参考文档references/usage-patterns.md3.5 KB
- 脚本scripts/validate.sh2.9 KB
- 参考文档SOURCE.md262 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Etherscan MCP Skill
Use this skill to run Etherscan MCP operations through uxc.
Reuse the uxc skill for shared protocol discovery, output parsing, and generic auth/binding flows.
Prerequisites
uxcis installed and available inPATH.- Network access to
https://mcp.etherscan.io/mcp. - An Etherscan API key is available for authenticated calls.
Core Workflow
- Confirm endpoint and protocol with help-first probing:
uxc https://mcp.etherscan.io/mcp -h- expected unauthenticated behavior today:
401 Unauthorized
- Configure credential/binding for repeatable auth:
uxc auth credential set etherscan-mcp --auth-type bearer --secret-env ETHERSCAN_API_KEYuxc auth credential set etherscan-mcp --auth-type bearer --secret-op op://Engineering/etherscan/api-keyuxc auth binding add --id etherscan-mcp --host mcp.etherscan.io --path-prefix /mcp --scheme https --credential etherscan-mcp --priority 100
- Use fixed link command by default:
command -v etherscan-mcp-cli- If missing, create it:
uxc link etherscan-mcp-cli https://mcp.etherscan.io/mcp etherscan-mcp-cli -h
- Inspect operation schema before execution:
etherscan-mcp-cli balance -hetherscan-mcp-cli tokenTopHolders -hetherscan-mcp-cli getContractAbi -hetherscan-mcp-cli transaction -h
- Prefer read operations first, then any workflow that could trigger heavy data pulls or follow-up automation.
Capability Map
- Address investigation:
balancetokenHoldingsfundedBygetAddressMetadata
- Token holder analysis:
balanceERC20balanceERC20HistoricaltokenTopHoldersgetTokenInfo
- Transaction investigation:
txListinternalTxsByAddresserc20Transferserc721Transferserc1155TransferstransactioncheckTransaction
- Contract research:
getContractAbigetContractSourceCodegetContractCreation
- Verification:
verifySourceCodecheckVerifyStatus
Inspect etherscan-mcp-cli -h after auth setup for the current full tool list. Etherscan can expand MCP tools independently of this wrapper skill.
Recommended Usage Pattern
- Start from a read-only investigation goal:
- balance or holdings for an address
- holder concentration for a token
- transaction inspection for a hash
- source/metadata lookup for a contract
- Run
-hon the specific tool before the first real call. - Prefer one chain/address/token at a time before broadening the scope.
- Parse the JSON envelope first, then inspect
data.
Guardrails
- Keep automation on JSON output envelope; do not rely on
--text. - Parse stable fields first:
ok,kind,protocol,data,error. - Use
etherscan-mcp-clias default command path. etherscan-mcp-cli <operation> ...is equivalent touxc https://mcp.etherscan.io/mcp <operation> ....- If unauthenticated probe or runtime call returns
401 Unauthorized:- confirm auth binding matches endpoint with
uxc auth binding match https://mcp.etherscan.io/mcp - confirm credential shape with
uxc auth credential info etherscan-mcp - reset credential as bearer if needed:
uxc auth credential set etherscan-mcp --auth-type bearer --secret-env ETHERSCAN_API_KEY
- confirm auth binding matches endpoint with
- Use
key=valueonly for simple scalar inputs. - Prefer positional JSON when an operation accepts nested objects, arrays, or optional flags that may evolve.
- Do not assume tool argument names from memory; inspect
<operation> -hfirst because Etherscan may revise MCP schemas independently of this skill. - Some MCP tools are tier-gated by Etherscan plan. Today
getTokenInfocan returnNOTOKwith an API Pro upgrade message on non-Pro keys. - Treat
verifySourceCodeas a write-like action requiring explicit user confirmation.
References
- Invocation patterns:
references/usage-patterns.md
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.