Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sx.bet/llms.txt

Use this file to discover all available pages before exploring further.

You can use AI coding assistants to build SX Bet integrations end-to-end — fetching markets, signing orders, subscribing to live odds. We provide a set of tools that give your assistant accurate, up-to-date context about the SX Bet API.
ToolWhat it doesBest for
MCP serverLets your assistant search and read these docs live during your sessionIDE-based workflows (Claude Code, Cursor, VS Code)
llms.txt / llms-full.txtPlain-text index or full export of the documentationPasting context into ChatGPT, Gemini, or claude.ai conversations
Per-page markdownCopy any page as Markdown, or open it directly in ChatGPT or ClaudeQuickly grounding an assistant in one specific topic

Per-page markdown access

Every page in these docs has a contextual menu in the top-right that lets you:
  • Copy as Markdown — grab the page content without HTML or navigation chrome
  • View as Markdown — open the raw .md version in a new tab
  • Open in ChatGPT — start a ChatGPT conversation pre-loaded with the page
  • Open in Claude — same, for claude.ai
Reach for these when you want to ground an assistant in one specific topic (e.g. EIP-712 signing) without pasting the full docs.

MCP server

MCP (Model Context Protocol) is a standard that lets AI coding tools connect to external resources. Adding the SX Bet MCP server gives your assistant live access to search and read these docs during your session — so instead of copy-pasting documentation into your prompt, your assistant can look up exactly what it needs on demand. Install the server once using the config for your tool, then ask questions as you code:
  • “How do I post a maker order on SX Bet?”
  • “What WebSocket channel do I subscribe to for live odds?”
  • “Show me the EIP-712 signing flow for filling an order.”
  1. Go to Settings → Connectors and select Add custom connector.
  2. Enter the name SX Bet and URL https://docs.sx.bet/mcp, then select Add.
  3. When chatting, select the attachments button (the + icon) and choose SX Bet to give Claude access for that conversation.
Or add directly to claude_desktop_config.json:
{
  "mcpServers": {
    "sx-bet": {
      "url": "https://docs.sx.bet/mcp"
    }
  }
}
claude mcp add --transport http sx-bet https://docs.sx.bet/mcp
Add to .cursor/mcp.json in your project root:
{
  "mcpServers": {
    "sx-bet": {
      "url": "https://docs.sx.bet/mcp"
    }
  }
}
Or open the Command Palette (Cmd+Shift+P) and select MCP: Add Server.
Create .vscode/mcp.json in your project root:
{
  "servers": {
    "sx-bet": {
      "type": "http",
      "url": "https://docs.sx.bet/mcp"
    }
  }
}
Open Windsurf Settings → MCP Configuration and add:
{
  "mcpServers": {
    "sx-bet": {
      "url": "https://docs.sx.bet/mcp"
    }
  }
}

Plain text docs

llms.txt and llms-full.txt are plain-text exports of this documentation — no HTML, no navigation chrome, just content. Use them when you’re working outside your IDE and want to give an LLM SX Bet context directly: paste the contents into a ChatGPT, Gemini, or claude.ai conversation, or fetch and inject them into your own API calls.
URLUse when
llms.txtdocs.sx.bet/llms.txtYou want a lightweight index of all pages to reference in a prompt
llms-full.txtdocs.sx.bet/llms-full.txtYou want the complete documentation in a single paste
For most cases, llms-full.txt is the better choice — it gives the LLM everything it needs without requiring follow-up fetches. Open the URL, copy the contents, and paste it at the start of your conversation before asking your question.

Try this first

Once the MCP server is installed, paste the prompt below into Claude Code, Cursor, or any MCP-aware assistant. It exercises the full stack — doc lookups, EIP-712 signing, posting an order, and a WebSocket subscription — on testnet with the minimum order size, so it’s a safe end-to-end smoke test.
Place a single maker order on SX Bet testnet end-to-end:

1. Fetch /metadata to get the live contract addresses — never hardcode them.
2. Find an active NBA moneyline market.
3. Build, EIP-712 sign, and POST /orders/new for 10 USDC at +150 odds.
4. Subscribe to the Centrifugo channel active_orders:{maker} so any fill
   prints in real time.
5. If no fill after 60 seconds, cancel via POST /orders/cancel/v2.

Use Python with eth-account and the centrifuge-python client. Pull every
endpoint shape, signing pattern, and channel name from the SX Bet docs as
you go — don't guess. Keep the script under 150 lines.
If your assistant completes this without you intervening, your MCP server and skill are wired up correctly and you’re ready to build something real.
Last modified on May 22, 2026