Skip to main content
Glama
eToro MCP Server

eToro MCP Server

Official
by shlomico-tr

eToro MCP 服务器

该服务器提供 MCP(模型上下文协议)工具,用于与 eToro 的公共 API 端点进行交互。它允许您:

  1. 使用用户名获取用户的投资组合

  2. 通过 ID 查找仪器详细信息

  3. 按名称前缀搜索仪器(自动完成)

入门

  1. 安装依赖项:

    npm install
  2. 启动开发服务器:

    npm run dev
  3. 为生产而构建:

    npm run build
  4. 启动生产服务器:

    npm start

Related MCP server: IB MCP Server

可用工具

fetch_etoro_portfolio

使用用户名获取 eToro 用户的投资组合。该工具会自动将用户名内部转换为客户 ID (CID)。

参数:

  • username :eToro 用户名

  • authToken (可选):经过身份验证的请求的授权令牌

获取仪器详情

获取 eToro 工具列表的详细信息。

参数:

  • instrumentIds :用于获取详细信息的仪器 ID 列表

  • fields (可选):响应中包含的字段(默认为displayname 、 threeMonthPriceChange 、 oneYearPriceChange 、 lastYearPriceChange )

搜索工具

按名称前缀搜索 eToro 工具(自动完成)。

参数:

  • namePrefix :在仪器名称中搜索的前缀

  • fields (可选):响应中包含的字段(默认为internalInstrumentId 、 displayname 、 internalClosingPrice )

CORS 限制

请注意,部分 eToro API 端点受 CORS 限制,应从服务器端环境调用。本服务器中的工具会在服务器端处理这些请求,以避免 CORS 问题。

使用示例

服务器公开了一个用于访问这些工具的 REST API,可以从任何 HTTP 客户端调用:

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

使用fetch_etoro_portfolio工具的示例:

curl -X POST http://localhost:3000/tools/fetch_etoro_portfolio/execute \
  -H "Content-Type: application/json" \
  -d '{"username": "yoniasia"}'

Available Tools

3 tools
fetch_etoro_portfolioB

Fetch an eToro user's portfolio using their username

Inputs: no named parameters.

fetch_instrument_detailsB

Fetch details for a list of eToro instruments

Inputs: no named parameters.

search_instrumentsB

Search for eToro instruments by name prefix (autocomplete)

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: fetch_etoro_portfolio retrieves user portfolio data, fetch_instrument_details gets details for specific instruments, and search_instruments performs autocomplete searches. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case: fetch_etoro_portfolio, fetch_instrument_details, and search_instruments. The naming is predictable and readable throughout the set.

    Tool Count3/5

    With only 3 tools, the server feels thin for a financial trading domain like eToro. While the tools cover basic fetching and searching, the scope suggests more operations (e.g., trading actions, account management) would be expected, making the count borderline low.

    Completeness2/5

    The toolset is significantly incomplete for an eToro server. It lacks core operations such as placing trades, managing orders, viewing account details, or accessing market data beyond instruments. This creates gaps that will likely cause agent failures in real-world trading scenarios.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Provides tools to get financial data (stock prices, company information) and generate financial visualizations through the Model Context Protocol.
      10
      12
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables interaction with Interactive Brokers through the official IBKR Web API, providing access to account management, brokerage sessions, and trading endpoints via the Model Context Protocol.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables interaction with Interactive Brokers' Web API through the Model Context Protocol, including brokerage session setup, authentication, and protected endpoint access for account and trading workflows.
      -