← 返回
开发者工具 Key 中文

Thegraph Token Mcp Skill

Use The Graph Token API MCP through UXC for token metadata, wallet balances, transfers, holders, pools, and market data with help-first inspection and Token...
通过UXC使用The Graph代币API MCP获取代币元数据、钱包余额、转账记录、持币者、资金池及市场数据,支持帮助优先检查和代币查询功能
jolestar
开发者工具 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 578
下载
💾 10
安装
1
版本
#latest

概述

The Graph Token MCP Skill

Use this skill to run The Graph Token API MCP operations through uxc.

Reuse the uxc skill for generic protocol discovery, envelope parsing, and error handling rules.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://token-api.mcp.thegraph.com/.
  • A The Graph Token API API TOKEN (JWT) from https://thegraph.market/dashboard is available for authenticated calls.

Important auth distinction:

  • Do not reuse the thegraph-mcp-skill API key directly.
  • thegraph-token-mcp-skill uses a separate credential sourced from The Graph Market Token API dashboard.
  • The value used with Authorization: Bearer ... must be the generated API TOKEN (JWT), not the raw dashboard API key.

Core Workflow

  1. Verify endpoint and protocol with help-first probing:
    • uxc https://token-api.mcp.thegraph.com/ -h
    • Confirm protocol is MCP (protocol == "mcp" in envelope).
  2. Configure a dedicated Token API JWT credential and binding:
    • Generate the API TOKEN (JWT) in https://thegraph.market/dashboard
    • Store it separately from the subgraph credential, for example:
    • uxc auth credential set thegraph-token --secret-env THEGRAPH_TOKEN_API_JWT
    • Bind the Token API endpoint to that dedicated credential:
    • uxc auth binding add --id thegraph-token-mcp --host token-api.mcp.thegraph.com --scheme https --credential thegraph-token --priority 100
  3. Use fixed link command by default:
    • command -v thegraph-token-mcp-cli
    • If missing, create it:
    • uxc link thegraph-token-mcp-cli https://token-api.mcp.thegraph.com/
    • thegraph-token-mcp-cli -h
  4. Inspect operation schema before execution:
    • thegraph-token-mcp-cli getV1Networks -h
    • thegraph-token-mcp-cli getV1EvmTokens -h
    • thegraph-token-mcp-cli getV1EvmBalances -h
  5. Prefer read operations first, then narrower wallet/token/pool queries.

Capability Map

  • Service discovery:
  • getV1Health
  • getV1Version
  • getV1Networks
  • Token data:
  • getV1EvmTokens
  • getV1EvmTokensNative
  • Wallet and transfer data:
  • getV1EvmBalances
  • transfer/history operations exposed by the endpoint
  • Market and DEX data:
  • pool / OHLC / dex operations exposed by the endpoint
  • Non-EVM coverage:
  • TVM and other chain families exposed by the endpoint

Always inspect host help and operation help in the current endpoint version before relying on an operation name or argument shape.

Recommended Usage Pattern

  1. Start with network discovery:
    • thegraph-token-mcp-cli getV1Networks
  2. Confirm the operation and required arguments with -h.
  3. Query the narrowest surface first:
    • token metadata for one contract
    • balances for one address
    • one pool / one token / one date range
  4. Expand to broader scans only when needed.

Guardrails

  • Keep automation on JSON output envelope; do not rely on --text.
  • Parse stable fields first: ok, kind, protocol, data, error.
  • Use thegraph-token-mcp-cli as default command path.
  • thegraph-token-mcp-cli ... is equivalent to uxc https://token-api.mcp.thegraph.com/ ... when the same auth binding is configured.
  • Use direct uxc "" ... only as temporary fallback when link setup is unavailable.
  • Prefer key=value for simple arguments and positional JSON for nested objects.
  • If auth fails:
  • confirm uxc auth credential info thegraph-token succeeds
  • confirm uxc auth binding match https://token-api.mcp.thegraph.com/ resolves to thegraph-token
  • confirm the stored secret is the generated API TOKEN (JWT), not the raw API key from The Graph Market dashboard
  • rerun thegraph-token-mcp-cli -h

Tested Real Scenario

The endpoint was verified through uxc host discovery and returned a live MCP tool list including:

  • getV1Health
  • getV1Version
  • getV1Networks
  • getV1EvmTokens
  • getV1EvmTokensNative
  • getV1EvmBalances

This confirms the skill target is a real MCP surface rather than a direct OpenAPI host.

The Token API requires its own bearer token workflow:

  • manage the token in https://thegraph.market/dashboard
  • generate API TOKEN (JWT) from the dashboard-managed Token API key
  • store that JWT separately from the subgraph MCP credential

Do not document or implement this skill as if it reused the same raw API key as thegraph-mcp-skill.

References

  • Invocation patterns:
  • references/usage-patterns.md

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 13:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Uxc

jolestar
使用UXC发现并调用远程模式暴露的接口。当代理或技能需要列出操作、检查操作模式并执行Open等操作时使用。
★ 0 📥 901
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,809
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,261