Skip to main content
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.

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 rest a GTC order on SX Bet?”
  • “What channel do I subscribe to for order book depth on one market?”
  • “Show me the EIP-712 struct I sign for an order, in field 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:
Add to .cursor/mcp.json in your project root:
Or open the Command Palette (Cmd+Shift+P) and select MCP: Add Server.
Create .vscode/mcp.json in your project root:
Open Windsurf Settings → MCP Configuration and add:

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. 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, proxy setup, funding, EIP-712 signing, posting, a realtime subscription and a cancel — at the minimum order size, so it is a safe end-to-end smoke test. The prompt states the invariants an assistant cannot infer from a single doc lookup — that a proxy is mandatory, that nothing may be hardcoded, that odds sit on a ladder — because without them an assistant confidently writes plausible code against an API shape that does not exist.
If your assistant completes this without you intervening, your MCP server is wired up correctly and you are ready to build something real.
Last modified on August 11, 2026