trading-mcp

72 x402 endpoints: trading, AI inference, blockchain, escrow. USDC on Base+Solana.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
71%
Naming quality
96%
Poisoning risk
80%
Permission match
100%
Protocol compliance
100%

Findings (2)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains suspicious base64-like encoded stringin get_escrow_job

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~941Tokens (tool definitions)
~342 BTypical response size
Moderate attention impact (0.74% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "trading-mcp": {
      "command": "npx",
      "args": [
        "ai-rook-trading-mcp"
      ]
    }
  }
}

Runnable packages

npmai-rook-trading-mcp1.1.0stdio

Remote endpoints

https://agents.ai-rook.com/mcpstreamable-http

What it can do

Tool inventory

Tools (10)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢list_endpoints

List the full AI Rook endpoint catalog with prices (52 endpoints: trading intelligence, AI inference via local 456B MoE, blockchain data, dev tools, escrow). START HERE before calling any paid endpoint. Free.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
🟢get_quote(endpoint)

Get exact price, input schema, and REAL measured latency (from production paid calls) for any AI Rook endpoint BEFORE paying. Agents are risk-averse spenders — quote first, pay second. Free.

Input Schema

{
  "type": "object",
  "properties": {
    "endpoint": {
      "type": "string",
      "description": "e.g. /api/order-flow"
    }
  },
  "required": [
    "endpoint"
  ]
}
⚪escrow_dry_run(amount, provider, hours)

Preview a full ERC-8183 escrow job lifecycle on Base WITHOUT touching the chain: exact contract calls with calldata, gas estimates, money split (98% provider / 2% platform), state transitions, reject/refund alternates. Verified against live job 39. Use before creating any escrow job. Free.

Input Schema

{
  "type": "object",
  "properties": {
    "amount": {
      "type": "number",
      "description": "Budget in USDC units (6 decimals). 250000 = $0.25, 1000000 = $1.00"
    },
    "provider": {
      "type": "string",
      "description": "Provider wallet address (0x...)"
    },
    "hours": {
      "type": "number",
      "description": "Hours until expiry (default 24)"
    }
  },
  "required": []
}
⚪sign_receipt(tx_hash)

Generate a cryptographically signed proof-of-spend receipt for any USDC payment tx on Base. Server verifies the on-chain Transfer event, then signs with the AI Rook server wallet (EIP-191, ecrecover-verifiable offline). For agent operator audit trails. Free.

Input Schema

{
  "type": "object",
  "properties": {
    "tx_hash": {
      "type": "string",
      "description": "0x + 64 hex transaction hash on Base"
    }
  },
  "required": [
    "tx_hash"
  ]
}
⚪preview_market_pulse

FREE taste of the paid /api/market-pulse ($0.05): real BTC price + engine status with CVD/OI/whale fields redacted. Use to evaluate data quality before paying. No payment required.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
⚪preview_order_flow

FREE taste of the paid /api/order-flow ($0.25): real price + volume gear with CVD/session levels redacted. Evaluate before paying. Free.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
⚪preview_trade_idea

FREE taste of the paid /api/trade-idea ($0.25): strategy name + direction only, entry/stop/target redacted. Evaluate before paying. Free.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
🟢get_escrow_job(job_id)

Read the on-chain state of any ERC-8183 escrow job by ID (Open/Funded/Submitted/Completed/Rejected/Expired, client, provider, budget, deliverable hash). Job 39 is our verified live completion. Free.

Input Schema

{
  "type": "object",
  "properties": {
    "job_id": {
      "type": "number",
      "description": "Job ID (integer)"
    }
  },
  "required": [
    "job_id"
  ]
}
🟢get_attestation(job_id)

Read the on-chain attestation record for a completed/rejected ERC-8183 job — provider address, agentId, approved flag, timestamp. Proof that the RookAttestationHook fired. Free.

Input Schema

{
  "type": "object",
  "properties": {
    "job_id": {
      "type": "number",
      "description": "Job ID (integer)"
    }
  },
  "required": [
    "job_id"
  ]
}
🟢call_paid_endpoint(endpoint)

Get payment instructions + live quote for any paid AI Rook endpoint. Returns exact USDC price, x402 payment flow (EIP-3009 sign → retry with X-Payment header), and current measured latency. Does NOT execute the endpoint — use this to plan, then pay via x402 at the endpoint URL. Free.

Input Schema

{
  "type": "object",
  "properties": {
    "endpoint": {
      "type": "string",
      "description": "e.g. /api/market-pulse, /api/summarize, /api/code-review"
    }
  },
  "required": [
    "endpoint"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded10 tools
verifiedversion not recorded10 tools
verifiedversion not recorded10 tools
verifiedversion not recorded10 tools
verifiedversion not recorded10 tools
verifiedversion not recorded10 tools