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

# Cursor

> Integrate eToro API documentation into Cursor using MCP

You can access the eToro API documentation directly within Cursor using the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/). This allows Cursor's AI to search and reference the documentation while you code.

## Configuration

<a href="cursor://anysphere.cursor-deeplink/mcp/install?name=etoro-api-docs&config=eyJ1cmwiOiJodHRwczovL2FwaS1wb3J0YWwuZXRvcm8uY29tL21jcCJ9" style={{ display: 'inline-flex', alignItems: 'center', gap: '8px', backgroundColor: '#16A34A', color: 'white', padding: '12px 24px', borderRadius: '8px', textDecoration: 'none', fontWeight: '600', fontSize: '16px' }}>
  <span>Install on Cursor</span>
</a>

Or configure manually:

<Steps>
  <Step title="Open Cursor Settings">
    Navigate to **Cursor Settings** > **Tools & MCP** > **Installed MCP Servers**.
  </Step>

  <Step title="Add New MCP Server">
    Click on **Add Custom MCP**. This will open the `mcp.json` configuration file.
  </Step>

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

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

## Usage

Once configured, you can ask Cursor about the eToro API. For example:

* "What are the parameters for placing a market order?"
* "How do I authenticate with the WebSocket API?"

Cursor will use the MCP server to retrieve the relevant documentation sections.
