Skip to main content
Glama

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

可用工具

fetch_etoro_portfolio

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

参数:

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

获取仪器详情

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

参数:

  • instrumentIds :用于获取详细信息的仪器 ID 列表
  • fields (可选):响应中包含的字段(默认为displaynamethreeMonthPriceChangeoneYearPriceChangelastYearPriceChange

搜索工具

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

参数:

  • namePrefix :在仪器名称中搜索的前缀
  • fields (可选):响应中包含的字段(默认为internalInstrumentIddisplaynameinternalClosingPrice

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"}'
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.

提供用于与 eToro 公共 API 端点交互的模型上下文协议工具,允许用户获取投资组合、查找工具详细信息以及搜索工具,同时处理 CORS 限制。

  1. 入门
    1. 可用工具
      1. fetch_etoro_portfolio
      2. 获取仪器详情
      3. 搜索工具
    2. CORS 限制
      1. 使用示例

        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
          548
          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
          11
          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
          376
          299
          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
          7
          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