eToro MCP サーバー
このサーバーは、eToroのパブリックAPIエンドポイントとやり取りするためのMCP(モデルコンテキストプロトコル)ツールを提供します。これにより、以下のことが可能になります。
- ユーザー名を使用してユーザーのポートフォリオを取得する
- IDで楽器の詳細を検索する
- 名前のプレフィックスで楽器を検索(オートコンプリート)
はじめる
- 依存関係をインストールします:
- 開発サーバーを起動します。
- 生産用にビルド:
- 本番サーバーを起動します。
利用可能なツール
etoroポートフォリオを取得する
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 クライアントから呼び出すことができます。
fetch_etoro_portfolio
ツールの使用例:
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
eToro のパブリック API エンドポイントと対話するためのモデル コンテキスト プロトコル ツールを提供し、ユーザーは CORS 制限を処理しながらポートフォリオを取得したり、銘柄の詳細を調べたり、銘柄を検索したりできるようになります。
Related MCP Servers
- -securityAlicense-qualityA 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 -PythonMIT License
- -securityAlicense-qualityA 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 -JavaScriptMIT License
- -securityFlicense-qualityA 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
- -securityFlicense-qualityA 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