Enables researching and trading Pokemon card perpetual futures on the Solana blockchain via the TradeX platform, allowing for position management, wallet balance checks, and market analysis.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TradeX MCP ServerShow me today's top market movers and any signals for Charizard cards"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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/mcpFor trade execution, pass your keypair:
claude mcp add tradex -e TRADEX_KEYPAIR=/path/to/keypair.json -- npx -y @tradex/mcpOmit 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 |
| Path to Solana keypair JSON | (none - read-only) |
| Backend API URL |
|
| Solana RPC URL |
|
Tools
Read-Only (always available)
Tool | Description |
| Top gainers, losers, and most volatile cards |
| Complete portfolio with computed PnL |
| Trading signals and recommendations |
| Validate a trade before execution |
| Simulate trade with PnL scenarios |
| Search Pokemon cards by name |
| Detailed card info with price history |
| Fetch multiple cards at once |
| List all tradable product IDs |
| Trading parameters (leverage, fees) |
Execution (require keypair)
Tool | Description |
| Open a long/short position |
| Close an existing position |
| Deposit USDC into trading account |
| Withdraw USDC from trading account |
| Check wallet balance and status |
Resources
The server provides documentation resources:
tradex://docs/trading-guide- Trading guide and best practicestradex://docs/api-reference- OpenAPI specification
Example Usage
Once installed, ask Claude:
Research:
"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"
Trading (with keypair):
"Check my wallet status"
"Deposit $50 USDC into my trading account"
"Open a $20 long position on Charizard with 3x leverage"
"Close my position on product 517044"
Security
Private keys are stored locally and never transmitted
Transactions are signed locally using
@solana/web3.jsAll trades are validated before execution
Transaction parameters fetched from the TradeX backend
API Endpoints
The MCP server connects to:
Resource | URL |
Backend API | |
API Documentation | |
OpenAPI Spec | |
Trading Guide |
Development
# Install dependencies
bun install
# Build
bun run build
# Run locally
bun run devLicense
Business Source License 1.1 (BUSL-1.1), non-commercial use only. Automatically changes to GNU GPLv3 on 2030-02-18.
mcp
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.