跳到內容

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 助手