gtxagent-mcp

v0.4.4
com.gtxagent/gtxagent-mcp Checked 3 days ago Published 2 days ago

Paid x402 crypto tools for agents; catalogue is keyless, data needs a key.

MCP bridge for the GTXAgent x402 tools. One command, three modes: New tools and paid-call proofs are posted on the channel: t.me/gtxagent. Use a Base wallet funded with a little USDC — the calls cost $0.02–$0.05 each. The key stays in the MCP process and never leaves it; the x402 payment is a signed EIP-3009 authorization.

Summary extracted from the README.

gtxagent-mcp

MCP bridge for the GTXAgent x402 tools. One command, three modes:

  • Keyless (zero setup, default): with no credential the bridge connects to https://app.gtxagent.com/mcp unattended. Initialize and tools/list always work; the four market tools run free, 3 calls per day from your network — enough to install and try it.
  • Wallet (zero account): GTX_X402_BUYER_KEY=0x… pays each call from your own Base wallet. Five decision tools, no signup, no tenant key.
  • Hosted (prepaid): GTX_MCP_KEY=gtx_mcp_… forwards with a prepaid tenant key. All eleven tools, no wallet in the client.

New tools and paid-call proofs are posted on the channel: t.me/gtxagent.

Quick start (wallet)

Use a Base wallet funded with a little USDC — the calls cost $0.02–$0.05 each. The key stays in the MCP process and never leaves it; the x402 payment is a signed EIP-3009 authorization.

export GTX_X402_BUYER_KEY=0x...
npx -y gtxagent-mcp

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "gtxagent": {
      "command": "npx",
      "args": ["-y", "gtxagent-mcp"],
      "env": {
        "GTX_X402_BUYER_KEY": "0x..."
      }
    }
  }
}

Cursor

.cursor/mcp.json in the project, or the global MCP settings:

{
  "mcpServers": {
    "gtxagent": {
      "command": "npx",
      "args": ["-y", "gtxagent-mcp"],
      "env": {
        "GTX_X402_BUYER_KEY": "0x..."
      }
    }
  }
}

Tools (wallet)

Tool Price What it returns
verdict $0.02 Token safety grade: liquidity, volume, trades, age, proxy/owner flags, reasons, not_checked
preflight $0.02 What a Base transaction will do: decoded call, checks, simulation, go / caution / no_go
preflight_full $0.05 The preflight plus decoded balance changes (transfers, allowances, swap path)
position_risk $0.03 Aave V3 / Morpho health factor now and after a borrow or withdrawal
wallet_dossier $0.05 Counterparty facts: kind, balances, contract facts, OFAC screen

preflight and preflight_full accept assume: "allowance" to simulate a swap before the approval transaction exists. Without from, a balance-dependent call is reported as skipped, never guessed.

Hosted mode

The same command runs the hosted path (no wallet needed). With no GTX_MCP_KEY it connects keyless: initialize and tools/list need no account, and the four market tools (market_pulse, token_registry, token_quote, token_decision) answer free, 3 calls per day from your network; the seven aggregate tools answer with a MCP_KEY_REQUIRED tool error instead of spending money.

npx -y gtxagent-mcp
Variable Required Meaning
GTX_MCP_KEY no gtx_mcp_… prepaid tenant key; omit it for the hosted free tier (3 market-tool calls per day)
GTX_MCP_URL no defaults to https://app.gtxagent.com/mcp; http://localhost is allowed for development

The hosted server exposes fourteen data tools: market_pulse, token_registry, token_quote, token_decision, strategy_catalog, strategy_krokus, strategy_prepa, token_safety, x_search, token_price, market_open, agent_recommend, trending_coins, whale_coverage. Every call is charged to the tenant's prepaid credits_available balance; the per-key daily cap is $5 by default. An insufficient balance or cap returns a tool error, not a partial result.

Tool Price What it returns
strategy_catalog $0.005 Krokus and Prepa: thesis, as_of, freshness, universe size, endpoints
strategy_krokus $0.05 The Krokus daily funding-flush signal: side, thresholds, decisive features, failed conditions, OOS stats, paper ledger
strategy_prepa $0.05 The Prepa daily taker-flow signal: side, thresholds, decisive features, failed conditions, OOS stats, paper ledger

Both signal tools are research products, not execution instructions; symbol filters one report symbol and include=all returns the full table. A report older than 36 hours answers STRATEGY_REPORT_STALE instead of data.

Keys are issued per tenant and are not self-service yet. Ask through https://gtxagent.com/agents.html or the GTXAgent Telegram bot. The raw key is shown once; only a SHA-256 hash is stored. Revoke a key immediately if it leaks.