coinmarketcap-mcp-skill
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCoinMarketCap MCP Skill
CoinMarketCap MCP Skill
Use this skill to run CoinMarketCap MCP operations through .
uxcReuse the skill for shared protocol discovery, output parsing, and generic auth/binding flows.
uxc使用此Skill通过执行CoinMarketCap MCP操作。
uxc复用 Skill以实现共享协议发现、输出解析以及通用认证/绑定流程。
uxcPrerequisites
前置条件
- is installed and available in
uxc.PATH - Network access to .
https://mcp.coinmarketcap.com/mcp - A CoinMarketCap MCP API key is available.
- 已安装且其路径已添加至
uxc环境变量。PATH - 可访问网络地址。
https://mcp.coinmarketcap.com/mcp - 拥有CoinMarketCap MCP API密钥。
Core Workflow
核心工作流程
- Confirm endpoint and protocol with help-first probing:
uxc https://mcp.coinmarketcap.com/mcp -h- expected unauthenticated behavior today: with
401 UnauthorizedToken not found
- Configure credential/binding for repeatable auth:
uxc auth credential set coinmarketcap-mcp --auth-type api_key --header "X-CMC-MCP-API-KEY={{secret}}" --secret-env COINMARKETCAP_MCP_API_KEYuxc auth credential set coinmarketcap-mcp --auth-type api_key --header "X-CMC-MCP-API-KEY={{secret}}" --secret-op op://Engineering/coinmarketcap/mcp-api-keyuxc auth binding add --id coinmarketcap-mcp --host mcp.coinmarketcap.com --path-prefix /mcp --scheme https --credential coinmarketcap-mcp --priority 100
- Use fixed link command by default:
command -v coinmarketcap-mcp-cli- If missing, create it:
uxc link coinmarketcap-mcp-cli https://mcp.coinmarketcap.com/mcp coinmarketcap-mcp-cli -h
- Inspect operation schema before execution:
coinmarketcap-mcp-cli get_crypto_quotes_latest -hcoinmarketcap-mcp-cli get_global_metrics_latest -hcoinmarketcap-mcp-cli trending_crypto_narratives -hcoinmarketcap-mcp-cli get_crypto_latest_news -h
- Prefer read-only discovery first, then expand into higher-cost or plan-gated endpoints.
- 通过优先帮助式探测确认端点和协议:
uxc https://mcp.coinmarketcap.com/mcp -h- 当前未认证情况下的预期行为:返回,提示
401 UnauthorizedToken not found
- 配置凭证/绑定以实现可重复认证:
uxc auth credential set coinmarketcap-mcp --auth-type api_key --header "X-CMC-MCP-API-KEY={{secret}}" --secret-env COINMARKETCAP_MCP_API_KEYuxc auth credential set coinmarketcap-mcp --auth-type api_key --header "X-CMC-MCP-API-KEY={{secret}}" --secret-op op://Engineering/coinmarketcap/mcp-api-keyuxc auth binding add --id coinmarketcap-mcp --host mcp.coinmarketcap.com --path-prefix /mcp --scheme https --credential coinmarketcap-mcp --priority 100
- 默认使用固定链接命令:
command -v coinmarketcap-mcp-cli- 若未安装,创建链接:
uxc link coinmarketcap-mcp-cli https://mcp.coinmarketcap.com/mcp coinmarketcap-mcp-cli -h
- 执行前检查操作架构:
coinmarketcap-mcp-cli get_crypto_quotes_latest -hcoinmarketcap-mcp-cli get_global_metrics_latest -hcoinmarketcap-mcp-cli trending_crypto_narratives -hcoinmarketcap-mcp-cli get_crypto_latest_news -h
- 优先进行只读发现,再扩展至更高成本或需特定权限的端点。
Capability Map
功能映射
- Market data and discovery:
get_crypto_quotes_latestsearch_cryptosget_crypto_info
- Technical analysis:
get_crypto_technical_analysisget_crypto_marketcap_technical_analysis
- On-chain and macro metrics:
get_crypto_metricsget_global_metrics_latestget_global_crypto_derivatives_metricsget_upcoming_macro_events
- Themes, news, and search:
trending_crypto_narrativesget_crypto_latest_newssearch_crypto_info
Inspect after auth setup for the current full tool list. CoinMarketCap can revise or expand its MCP tool surface independently of this wrapper skill.
coinmarketcap-mcp-cli -h- 市场数据与发现:
get_crypto_quotes_latestsearch_cryptosget_crypto_info
- 技术分析:
get_crypto_technical_analysisget_crypto_marketcap_technical_analysis
- 链上与宏观指标:
get_crypto_metricsget_global_metrics_latestget_global_crypto_derivatives_metricsget_upcoming_macro_events
- 主题、新闻与搜索:
trending_crypto_narrativesget_crypto_latest_newssearch_crypto_info
完成认证设置后,可通过查看当前完整工具列表。CoinMarketCap可独立于此包装Skill修改或扩展其MCP工具范围。
coinmarketcap-mcp-cli -hRecommended Usage Pattern
推荐使用模式
- Start with one focused read goal:
- current quote and market cap for a coin
- trend or narrative scan for a sector
- global market and derivatives snapshot
- latest news or semantic lookup on a project/topic
- Run on the specific tool before the first real call.
-h - Prefer id-, slug-, or keyword-scoped reads before broad market sweeps.
- Parse the JSON envelope first, then inspect .
data
- 从一个明确的只读目标开始:
- 某一加密货币的当前报价和市值
- 某一板块的趋势或行业叙事扫描
- 全球市场与衍生品快照
- 某一项目/主题的最新新闻或语义查询
- 在首次实际调用前,运行对应工具的命令查看帮助。
-h - 优先进行基于ID、别名或关键词的只读查询,再进行广泛的市场扫描。
- 先解析JSON信封,再查看字段内容。
data
Guardrails
注意事项
- Keep automation on JSON output envelope; do not rely on .
--text - Parse stable fields first: ,
ok,kind,protocol,data.error - Use as default command path.
coinmarketcap-mcp-cli - is equivalent to
coinmarketcap-mcp-cli <operation> ....uxc https://mcp.coinmarketcap.com/mcp <operation> ... - If unauthenticated probe or runtime call returns or
401 Unauthorized:Token not found- confirm auth binding matches endpoint with
uxc auth binding match https://mcp.coinmarketcap.com/mcp - confirm credential shape with
uxc auth credential info coinmarketcap-mcp - reset credential as API-key header if needed:
uxc auth credential set coinmarketcap-mcp --auth-type api_key --header "X-CMC-MCP-API-KEY={{secret}}" --secret-env COINMARKETCAP_MCP_API_KEY
- confirm auth binding matches endpoint with
- CoinMarketCap documents an x402 pay-per-call path, but does not implement x402 payment handling today. This skill documents only the API-key route.
uxc - Higher CoinMarketCap plans unlock additional datasets or request rates. If a tool returns a plan or quota error, verify the current account tier before retrying.
- CoinMarketCap MCP is read-only. Do not present it as a trading or order-routing integration.
- Use only for simple scalar inputs.
key=value - Prefer positional JSON when an operation accepts nested objects, arrays, or optional filters that may evolve.
- Do not assume tool argument names from memory; inspect first because CoinMarketCap may revise MCP schemas independently of this skill.
<operation> -h
- 自动化操作仅基于JSON输出信封,不要依赖参数。
--text - 优先解析稳定字段:、
ok、kind、protocol、data。error - 使用作为默认命令路径。
coinmarketcap-mcp-cli - 等同于
coinmarketcap-mcp-cli <operation> ...。uxc https://mcp.coinmarketcap.com/mcp <operation> ... - 若未认证探测或运行时调用返回或
401 Unauthorized:Token not found- 使用确认认证绑定与端点匹配
uxc auth binding match https://mcp.coinmarketcap.com/mcp - 使用确认凭证格式
uxc auth credential info coinmarketcap-mcp - 若需要,重置凭证为API密钥头:
uxc auth credential set coinmarketcap-mcp --auth-type api_key --header "X-CMC-MCP-API-KEY={{secret}}" --secret-env COINMARKETCAP_MCP_API_KEY
- 使用
- CoinMarketCap提供按次付费的x402路径,但目前未实现x402支付处理。本Skill仅记录API密钥路由。
uxc - 更高等级的CoinMarketCap套餐可解锁更多数据集或请求速率。若工具返回套餐或配额错误,请先验证当前账户等级再重试。
- CoinMarketCap MCP为只读服务,请勿将其作为交易或订单路由集成。
- 仅对简单标量输入使用格式。
key=value - 当操作接受嵌套对象、数组或可能演变的可选筛选器时,优先使用位置JSON格式。
- 不要凭记忆使用工具参数名称;先查看,因为CoinMarketCap可能独立于此Skill修改MCP架构。
<operation> -h
References
参考资料
- Invocation patterns:
references/usage-patterns.md
- 调用模式:
references/usage-patterns.md