跳到内容

MCP 集成

将 AI 助手连接到 SatoriEx 预测市场

使用 MCP(模型上下文协议)让 AI 代理浏览市场、查看订单簿并代您进行交易。

实验性功能

MCP 集成正处于积极开发阶段。工具接口、传输方式(/mcp 的 StreamableHTTP、/mcp/sse 的 SSE)及 OAuth 流程可能随时变更,恕不另行通知。请固定使用版本化客户端,并在自动化前关注变更日志。

工作原理

1

连接

使用 SatoriEx MCP 端点配置您的 AI 助手

2

发现

AI 自动发现可用工具

3

交易

通过自然语言浏览市场、查看价格并下单

端点

端点https://staging.satoriex.io/mcp
协议StreamableHTTP + SSE
认证OAuth 2.0

可用工具

list_markets

Browse prediction markets with filters

get_market

Get market details and outcomes

get_orderbook

View current bids and asks

list_trades

Recent trade history

get_balance需要认证

Check your platform balance

get_portfolio需要认证

Snapshot of balances, positions, and open orders

place_order需要认证

Place buy/sell orders

get_positions需要认证

View your open positions

get_orders需要认证

View your active orders

cancel_order需要认证

Cancel an open order

propose_market需要认证

Submit a new market proposal — requires markets:propose scope

list_proposals需要认证

List your submitted proposals — requires markets:propose scope

approve_proposal需要认证

Approve a pending proposal — admin:proposals scope

reject_proposal需要认证

Reject a pending proposal (refunds $1 fee) — admin:proposals scope

settle_market需要认证

Trigger payouts after resolution — admin:settlement scope

快速开始

mcp.json
{
  "mcpServers": {
    "satoriex": {
      "url": "https://staging.satoriex.io/mcp",
      "transport": "streamable-http"
    }
  }
}

Admin scopes are not available on PATs or OAuth apps

The admin:settlement scope is restricted to session JWTs issued to super_admin accounts. It cannot be granted to Personal Access Tokens or OAuth application clients. Tools that require this scope (settle_market) will only work when invoked from a Claude session authenticated as a super_admin user.

兼容客户端

Claude Desktop
Claude Code
Cursor
任何兼容 MCP 的 AI 助手