TM

tradexcards/mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

2 stars 0 forks 품질 64 트렌드 8NOASSERTION

MCP package for using with ai agents

개요

A Model Context Protocol server that enables AI agents to research, analyze, and trade Pokemon card perpetual futures on the TradeX platform. : Use a dedicated trading wallet with only the funds you intend to trade. Your keypair never leaves your machine - all signing is done locally. Omit TRADEX_KEYPAIR for read-only mode (search cards, check prices, no trading). Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows): Add to .cursor/mcp.json in your project root: The server provides documentation resources: - tradex://docs/trading-guide - Trading guide and best practices - tradex://docs/api-reference - OpenAPI specification - "What are the biggest movers in Pokemon cards today?" - "Show me trading signals for Charizard cards" - "Simulate a $100 long position on product 517044 with 5x leverage"

README

원문 README의 일부입니다. 원문 보기.

TradeX MCP Server

A Model Context Protocol server that enables AI agents to research, analyze, and trade Pokemon card perpetual futures on the TradeX platform.

npm: @tradex/mcp
Source: GitHub

Installation

Security: Use a dedicated trading wallet with only the funds you intend to trade. Your keypair never leaves your machine - all signing is done locally.

Claude Code

claude mcp add tradex -- npx -y @tradex/mcp

For trade execution, pass your keypair:

claude mcp add tradex -e TRADEX_KEYPAIR=/path/to/keypair.json -- npx -y @tradex/mcp

Omit TRADEX_KEYPAIR for read-only mode (search cards, check prices, no trading).

Claude Desktop

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

Read-only mode:

{
  "mcpServers": {
    "tradex": {
      "command": "npx",
      "args": ["-y", "@tradex/mcp"]
    }
  }
}

With trade execution:

{
  "mcpServers": {
    "tradex": {
      "command": "npx",
      "args": ["-y", "@tradex/mcp"],
      "env": {
        "TRADEX_KEYPAIR": "/path/to/your/keypair.json"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "tradex": {
      "command": "npx",
      "args": ["-y", "@tradex/mcp"]
    }
  }
}

Environment Variables

Variable Description Default
TRADEX_KEYPAIR Path to Solana keypair JSON (none - read-only)
TRADEX_API_URL Backend API URL https://backend.tradex.cards
TRADEX_RPC_URL Solana RPC URL https://api.mainnet-beta.solana.com

Tools

Read-Only (always available)

Tool Description
get_market_movers Top gainers, losers, and most volatile cards
get_portfolio Complete portfolio with computed PnL
get_trading_signals Trading signals and recommendations
prepare_trade Validate a trade before execution
simulate_trade Simulate trade with PnL scenarios
search_cards Search Pokemon cards by name
get_card_details Detailed card info with price history
batch_get_cards Fetch multiple cards at once
get_tradable_products List all tradable product IDs
get_trading_config Trading parameters (leverage, fees)

Execution (require keypair)

GitHub에서 전체 README 보기

설치

npx -y @tradex/mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "tradex": { "command": "npx", "args": ["-y", "@tradex/mcp"] } } }