Skip to main content
Glama

eToro MCP Server

Official
by shlomico-tr

eToro MCP Server

This server provides MCP (Model Context Protocol) tools for interacting with eToro's public API endpoints. It allows you to:

  1. Fetch a user's portfolio using their username
  2. Look up instrument details by IDs
  3. Search for instruments by name prefix (autocomplete)

Getting Started

  1. Install dependencies:
    npm install
  2. Start the development server:
    npm run dev
  3. Build for production:
    npm run build
  4. Start the production server:
    npm start

Available Tools

fetch_etoro_portfolio

Fetches an eToro user's portfolio using their username. The tool automatically converts the username to a Customer ID (CID) internally.

Parameters:

  • username: The eToro username
  • authToken (optional): Authorization token for authenticated requests

fetch_instrument_details

Fetches details for a list of eToro instruments.

Parameters:

  • instrumentIds: List of instrument IDs to fetch details for
  • fields (optional): Fields to include in the response (defaults to displayname, threeMonthPriceChange, oneYearPriceChange, lastYearPriceChange)

search_instruments

Searches for eToro instruments by name prefix (autocomplete).

Parameters:

  • namePrefix: The prefix to search for in instrument names
  • fields (optional): Fields to include in the response (defaults to internalInstrumentId, displayname, internalClosingPrice)

CORS Limitations

Note that some of the eToro API endpoints have CORS restrictions and should be called from a server-side environment. The tools in this server handle these requests on the server side to avoid CORS issues.

Usage Example

The server exposes a REST API for accessing these tools, which can be called from any HTTP client:

GET /tools # List all available tools GET /tools/:name/schema # Get tool schema POST /tools/:name/execute # Execute a tool

Example of using the fetch_etoro_portfolio tool:

curl -X POST http://localhost:3000/tools/fetch_etoro_portfolio/execute \ -H "Content-Type: application/json" \ -d '{"username": "yoniasia"}'
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Provides Model Context Protocol tools for interacting with eToro's public API endpoints, allowing users to fetch portfolios, look up instrument details, and search for instruments while handling CORS restrictions.

  1. Getting Started
    1. Available Tools
      1. fetch_etoro_portfolio
      2. fetch_instrument_details
      3. search_instruments
    2. CORS Limitations
      1. Usage Example

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Enables interaction with esa.io's API through the Model Context Protocol, supporting article search and retrieval with a compliant MCP interface.
          Last updated -
          3
          538
          33
          TypeScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.
          Last updated -
          31
          1
          8
          TypeScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, providing services like token transfers, contract interactions, and ENS resolution through a unified interface.
          Last updated -
          28
          988
          301
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that enables LLMs to explore and interact with API specifications by providing tools for loading, browsing, and getting detailed information about API endpoints.
          Last updated -
          4
          10
          13
          TypeScript

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/shlomico-tr/etoroPortfolioMCP'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server