> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spiralstake.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Add the Spiral MCP to Cursor.

Cursor supports remote MCP servers directly by URL.

<Steps>
  <Step title="Open the MCP config">
    Create or edit `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` in your project.
  </Step>

  <Step title="Add Spiral Stake">
    ```json .cursor/mcp.json theme={null}
    {
      "mcpServers": {
        "spiralstake": {
          "url": "https://api.spiralstake.xyz/mcp"
        }
      }
    }
    ```
  </Step>

  <Step title="Enable it">
    Cursor → Settings → MCP → toggle **spiralstake** on. The seven tools appear in the agent.
  </Step>
</Steps>

<Tip>
  Ask Cursor's agent: *"Use Spiral to find the best stable yield and build a 3x open tx for 0x… "* — it will chain `list_strategies` → `simulate_leverage` → `build_leverage_tx`.
</Tip>
