> ## Documentation Index
> Fetch the complete documentation index at: https://api-portal.etoro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Windsurf

> Integrate eToro API documentation into Windsurf IDE

Windsurf is an AI-powered IDE by Codeium that allows for "flow" state coding. By adding the eToro Documentation MCP, you can enable the Cascade AI assistant to reference our API docs.

## Configuration

<Steps>
  <Step title="Locate MCP Configuration">
    Navigate to your home directory and find the `.windsurf` folder. Look for (or create) the `mcp_config.json` file.
  </Step>

  <Step title="Configure mcp_config.json">
    Paste the following configuration into the file:

    ```json theme={null}
    {
      "mcpServers": {
        "etoro-api-docs": {
          "url": "https://api-portal.etoro.com/mcp"
        }
      }
    }
    ```
  </Step>

  <Step title="Restart Windsurf">
    Restart the IDE to apply the changes.
  </Step>
</Steps>

## Usage

You can reference the documentation in your conversation with Cascade.

**Example queries:**

* "How do I subscribe to real-time quotes using the eToro WebSocket?"
* "@eToro Docs What are the rate limits for the REST API?"

Cascade will pull the relevant information to answer your questions and help generate code.
