> ## 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.

# Build with LLMs

> Use LLMs in your SX Bet integration workflow.

You can use large language models (LLMs) to assist in building SX Bet integrations. We provide a set of tools to give your AI assistant accurate, up-to-date context about the SX Bet API.

| Tool                         | What it does                                                            | Best for                                                                                 |
| ---------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| **MCP server**               | Lets your assistant search and read these docs live during your session | IDE-based workflows (Claude Code, Cursor, VS Code)                                       |
| **Skill**                    | Teaches your assistant how to approach SX Bet integration tasks         | Pairing with MCP for deeper guidance on workflows, signing patterns, and common mistakes |
| **llms.txt / llms-full.txt** | Plain-text index or full export of the documentation                    | Pasting context into ChatGPT, Gemini, or claude.ai conversations                         |

## 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."*

<AccordionGroup>
  <Accordion title="Claude Desktop">
    1. Go to [**Settings → Connectors**](https://claude.ai/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`:

    ```json theme={null}
    {
      "mcpServers": {
        "sx-bet": {
          "url": "https://docs.sx.bet/mcp"
        }
      }
    }
    ```
  </Accordion>

  <Accordion title="Claude Code">
    ```bash theme={null}
    claude mcp add --transport http sx-bet https://docs.sx.bet/mcp
    ```
  </Accordion>

  <Accordion title="Cursor">
    Add to `.cursor/mcp.json` in your project root:

    ```json theme={null}
    {
      "mcpServers": {
        "sx-bet": {
          "url": "https://docs.sx.bet/mcp"
        }
      }
    }
    ```

    Or open the Command Palette (`Cmd+Shift+P`) and select **MCP: Add Server**.
  </Accordion>

  <Accordion title="VS Code">
    Create `.vscode/mcp.json` in your project root:

    ```json theme={null}
    {
      "servers": {
        "sx-bet": {
          "type": "http",
          "url": "https://docs.sx.bet/mcp"
        }
      }
    }
    ```
  </Accordion>

  <Accordion title="Windsurf">
    Open **Windsurf Settings → MCP Configuration** and add:

    ```json theme={null}
    {
      "mcpServers": {
        "sx-bet": {
          "url": "https://docs.sx.bet/mcp"
        }
      }
    }
    ```
  </Accordion>
</AccordionGroup>

## Skill

A skill is a structured instruction file that tells an AI assistant how to work with a specific API — covering workflows, signing patterns, configuration, and common mistakes. Where MCP gives your assistant access to search the docs, the skill teaches it how to approach SX Bet integration tasks.

Run this command in your project to install the SX Bet skill:

```bash theme={null}
npx skills add https://docs.sx.bet --yes
```

This works across Claude Code, Cursor, and other tools that support the [agentskills.io](https://agentskills.io) standard. Once installed, your assistant will automatically apply the skill when working on SX Bet integrations.

## 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.

|                   | URL                                                            | Use when                                                           |
| ----------------- | -------------------------------------------------------------- | ------------------------------------------------------------------ |
| **llms.txt**      | [docs.sx.bet/llms.txt](https://docs.sx.bet/llms.txt)           | You want a lightweight index of all pages to reference in a prompt |
| **llms-full.txt** | [docs.sx.bet/llms-full.txt](https://docs.sx.bet/llms-full.txt) | You 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.
