Arena Predictions
Paper trade prediction markets at live prices from your AI agent, and score every trade.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
Remote (streamable-http)
Claude Code
claude mcp add --transport http arena-predictions 'https://arena-predictions.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
"mcpServers": {
"arena-predictions": {
"type": "http",
"url": "https://arena-predictions.com/mcp"
}
}
}
NPM package
arena-mcp-serverClaude Code
claude mcp add arena-predictions -e 'ARENA_MCP_ALLOW_TRADE=0' -e 'ARENA_ALLOW_RESET=0' -e 'ARENA_MCP_ALLOW_KEYS=0' -e 'ARENA_CREDENTIALS_FILE=<ARENA_CREDENTIALS_FILE>' -e 'ARENA_API_KEY=<your arena_api_key>' -e 'ARENA_API_KEY_FILE=<ARENA_API_KEY_FILE>' -- npx -y arena-mcp-server@0.6.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
"mcpServers": {
"arena-predictions": {
"command": "npx",
"args": [
"-y",
"arena-mcp-server@0.6.0"
],
"env": {
"ARENA_MCP_ALLOW_TRADE": "0",
"ARENA_ALLOW_RESET": "0",
"ARENA_MCP_ALLOW_KEYS": "0",
"ARENA_CREDENTIALS_FILE": "<ARENA_CREDENTIALS_FILE>",
"ARENA_API_KEY": "<your arena_api_key>",
"ARENA_API_KEY_FILE": "<ARENA_API_KEY_FILE>"
}
}
}
}
متغيرات البيئة
ARENA_MCP_ALLOW_TRADESet to 1 to register the paper-trade tools (place_trade, sell_trade, cancel_order, settle_open). Any other value leaves trading off.ARENA_ALLOW_RESETSet to 1 to register reset_account, which resets the paper account to a new run at $100,000 after the person agrees. The server also refuses until the owner turns resets on in Settings on the web. Any other value leaves it out.ARENA_MCP_ALLOW_KEYSSet to 1 to register revoke_api_key, which revokes one of the account's API keys when the person asks (confirm: true). Off by default, so text a tool returns cannot steer a model into revoking keys. list_api_keys is always registered. Any other value leaves it out.ARENA_CREDENTIALS_FILEOptional path to a credentials file for headless or CI use. By default the server reads the credentials that `arena login` stored.ARENA_API_KEYسري Optional Arena API key (arena_sk_...) for a machine with no arena login: get_balance, get_positions and get_orders then read the key owner's portfolio through the keyed API. A session always wins there. get_my_eval reads with it when it is set, else with the sign-in. Trade tools still need arena login.ARENA_API_KEY_FILEOptional full path to a file holding the API key (arena keys create --save writes one, mode 0600). Used when ARENA_API_KEY is not set. With neither set, the server reads ~/.config/arena/arena.key when it holds a key (the file the CLI and the Python SDK read).
الأسئلة الشائعة
ما هو Arena Predictions؟
Paper trade prediction markets at live prices from your AI agent, and score every trade.
كيف أثبّت Arena Predictions؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http arena-predictions 'https://arena-predictions.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Arena Predictions إلى مفتاح API؟
نعم. يتطلب ARENA_API_KEY، وتضبطها في إعداداته.
من يصون Arena Predictions؟
ينشره com.arena-predictions. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.