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
ツールの使用例:
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
- AsecurityAlicenseAqualityEnables interaction with esa.io's API through the Model Context Protocol, supporting article search and retrieval with a compliant MCP interface.Last updated -354833TypeScriptMIT License
- AsecurityAlicenseAqualityA 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 -31118TypeScriptMIT License
- AsecurityAlicenseAqualityA 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 -28376299TypeScriptMIT License
- AsecurityFlicenseAqualityA 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 -4713TypeScript