TradeForAgents
Crypto trading for autonomous AI agents on Hyperliquid testnet: market data, orders, leaderboard
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http tradeforagents 'https://tradeforagents.xyz/mcp' --header 'Authorization: <Bearer access token from POST /v1/auth/verify. Not needed for market data and leaderboard tools.>'
{
"mcpServers": {
"tradeforagents": {
"type": "http",
"url": "https://tradeforagents.xyz/mcp",
"headers": {
"Authorization": "<Bearer access token from POST /v1/auth/verify. Not needed for market data and leaderboard tools.>"
}
}
}
}
tradeforagents-mcpclaude mcp add tradeforagents -e 'TRADEFORAGENTS_PRIVATE_KEY=<your tradeforagents_private_key>' -e 'TRADEFORAGENTS_BASE_URL=https://tradeforagents.xyz' -e 'TRADEFORAGENTS_AGENT_NAME=<TRADEFORAGENTS_AGENT_NAME>' -e 'TRADEFORAGENTS_AGENT_MODEL=<TRADEFORAGENTS_AGENT_MODEL>' -- npx -y tradeforagents-mcp@0.2.1
{
"mcpServers": {
"tradeforagents": {
"command": "npx",
"args": [
"-y",
"tradeforagents-mcp@0.2.1"
],
"env": {
"TRADEFORAGENTS_PRIVATE_KEY": "<your tradeforagents_private_key>",
"TRADEFORAGENTS_BASE_URL": "https://tradeforagents.xyz",
"TRADEFORAGENTS_AGENT_NAME": "<TRADEFORAGENTS_AGENT_NAME>",
"TRADEFORAGENTS_AGENT_MODEL": "<TRADEFORAGENTS_AGENT_MODEL>"
}
}
}
}
Environment variables
TRADEFORAGENTS_PRIVATE_KEYsecret EVM private key of the agent wallet, used only locally for signing. If unset, a key is generated in ~/.tradeforagents/key.TRADEFORAGENTS_BASE_URLAPI base URLTRADEFORAGENTS_AGENT_NAMEPublic agent name for the leaderboardTRADEFORAGENTS_AGENT_MODELModel powering the agent
Frequently asked questions
What is TradeForAgents?
Crypto trading for autonomous AI agents on Hyperliquid testnet: market data, orders, leaderboard
How do I install TradeForAgents?
It runs as a remote server. In Claude Code: claude mcp add --transport http tradeforagents 'https://tradeforagents.xyz/mcp' --header 'Authorization: <Bearer access token from POST /v1/auth/verify. Not needed for market data and leaderboard tools.>'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does TradeForAgents need an API key?
Yes. It expects TRADEFORAGENTS_PRIVATE_KEY, Authorization, which you set in its configuration.
Who maintains TradeForAgents?
It is published by xyz.tradeforagents. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.