Skip to main content
Glama

eToro MCP Server

Official
by shlomico-tr

eToro MCP サーバー

このサーバーは、eToroのパブリックAPIエンドポイントとやり取りするためのMCP(モデルコンテキストプロトコル)ツールを提供します。これにより、以下のことが可能になります。

  1. ユーザー名を使用してユーザーのポートフォリオを取得する
  2. IDで楽器の詳細を検索する
  3. 名前のプレフィックスで楽器を検索(オートコンプリート)

はじめる

  1. 依存関係をインストールします:
    npm install
  2. 開発サーバーを起動します。
    npm run dev
  3. 生産用にビルド:
    npm run build
  4. 本番サーバーを起動します。
    npm start

利用可能なツール

etoroポートフォリオを取得する

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"}'
-
security - not tested
F
license - not found
-
quality - not tested

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. etoroポートフォリオを取得する
      2. 楽器の詳細を取得する
      3. 検索機器
    2. CORSの制限
      1. 使用例

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that provides standardized interfaces for interacting with Ollama API, offering JSON responses, error handling, and intelligent guidance for LLM-based API calls.
          Last updated -
          Python
          MIT License
          • Linux
          • Apple
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables querying the Crossref API to search for academic publications by title, author, or DOI, returning structured metadata about scholarly works.
          Last updated -
          JavaScript
          MIT License
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server for accessing Confluence API using Personal Access Tokens, enabling users to retrieve space lists, view pages, create new pages, and update existing content.
          Last updated -
          TypeScript
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that interfaces with Alpaca trading API, allowing users to manage portfolios, place trades, and access market data through natural language interactions.
          Last updated -
          Python

        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