eToro Trading MCP

io.github.n-kostadinov由 GitHub 帳號 n-kostadinov 發布v1.0.1更新於 Oct 26, 2026

197 eToro API tools for agents: market data, watchlists, feeds, demo and real trading.

已驗證STDIO僅桌面金融開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,把 eToro 公開 API 包裝成 156 個工具,用於行情資料、自選清單、動態以及模擬或真實交易。

可以做什麼
  • 讀取行情資料、排名、熱門資產、價格提醒與投資組合搜尋
  • 管理自選清單、俱樂部、通知以及使用者與投資組合統計
  • 檢視餘額、現金帳戶、子帳戶與代理投資組合
  • 進行模擬交易與模擬跟單交易
  • 在兩道安全開關都開啟後執行真實資金交易、跟單、轉帳與子帳戶操作
  • 在本機列出並驗證設定,不連線 eToro
適用情境
適合讓助理透過 API 操作 eToro 帳戶:取得行情與投資組合資料、管理自選清單,或進行模擬交易。真實資金交易只適合明確啟用相關工具集並額外確認的使用者。
執行需求
透過 npx 在本機以 stdio 執行,需要 Node.js 22 以上版本。需要 eToro API 憑證:金鑰組 ETORO_API_KEY 與 ETORO_USER_KEY,或 ETORO_ACCESS_TOKEN 中的 OAuth 權杖,兩者不可同時使用。工具集預設全部關閉,需透過 ETORO_ENABLED_TOOLSETS 或設定檔啟用。需要連線 eToro 的網路。
安裝前請注意
憑證以環境變數(ETORO_API_KEY、ETORO_USER_KEY、ETORO_ACCESS_TOKEN)提供,可存取金融帳戶,建議先使用模擬金鑰。trading-real、copy-trading、transfer 與 sub-accounts-etoro-trading 工具集中的真實資金操作需同時啟用工具並設定 ETORO_ALLOW_REAL_MONEY=true,可能造成真實資金損失。啟用工具集會一併啟用其中所有工具,包括寫入操作。非官方專案,與 eToro 無關聯。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 eToro Trading MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

eToro Trading MCP

Local Model Context Protocol server for eToro's public Swagger UI API. Its main purpose is configuration for AI agents: you register it once in an MCP client and enable exactly the toolsets your agent needs. The command line exists only for local inspection (tools list, config validate), not for day-to-day use.

This MCP is scanning the eToro APIs for updates daily: an automated daily job downloads eToro's current OpenAPI documents, detects upstream changes, and opens a pull request with fully regenerated and verified tools—nothing is merged or published automatically.

[npm] [CI] [Release] [License: MIT] [Node]

Install with an AI agent

Give this one instruction to your coding or desktop agent:

text
Install and configure this MCP server by following https://github.com/n-kostadinov/etoro-trading-mcp/blob/main/INSTALL.md

The agent-facing guide is also available as raw Markdown.

What you get

  • 156 fine-grained MCP tools generated from eToro Swagger UI—one tool per REST operation.
  • 26 toolsets, all disabled by default: listing toolsets or tools in configuration is the only way to enable them. Enabling a toolset enables every tool in it.
  • Demo-safe example configuration: ETORO_ENABLED_TOOLSETS=market-data,trading-demo enables 28 tools (11 market-data tools and 17 current demo-trading tools) without touching real money.
  • Real-money mutations stay hidden unless you enable their tools and set ETORO_ALLOW_REAL_MONEY=true.
  • Legacy operations remain available only through an explicit includeDeprecated opt-in.
  • TypeScript, Node.js 22+, stdio transport, and one npx command—no global install.
  • Automatic request IDs, shared rate-limit tracking, conservative retries, structured HTTP responses, and credential redaction.

Quick look: configure your agent

All toolsets are disabled by default. A typical, demo-safe MCP client entry:

json
{  "mcpServers": {    "etoro": {      "command": "npx",      "args": ["-y", "[email protected]"],      "env": {        "ETORO_API_KEY": "<user-supplied-application-key>",        "ETORO_USER_KEY": "<user-supplied-user-key>",        "ETORO_ENABLED_TOOLSETS": "market-data,trading-demo",        "ETORO_ALLOW_REAL_MONEY": "false"      }    }  }}

Credentials are environment-only. An API key pair and user key, or an OAuth bearer token, can be used—never both and never a portal password.

Where to find x-api-key and x-user-key

The key pair comes from eToro's API Key Management page—open the annotated screenshot to see exactly which value is which:

  • x-api-key — the Public Key shown at the top of the page. It identifies your application and is supplied to this server as ETORO_API_KEY.
  • x-user-key — one of the keys you create with Create Your API Key; it appears in the Generated Keys list, identifies your eToro user, and is supplied as ETORO_USER_KEY.

Every authenticated request sends both headers together. Start with a Demo key with Read & Write permissions; see INSTALL.md for the full walkthrough.

How to enable tools

PurposeEnvironment variableJSON file property
Enable toolsets (every tool in each toolset)ETORO_ENABLED_TOOLSETS=market-data,trading-demo"enabledToolsets": ["market-data", "trading-demo"]
Enable individual toolsETORO_ENABLED_TOOLS=getRates,getMe"enabledTools": ["getRates", "getMe"]
Permit legacy toolsETORO_INCLUDE_DEPRECATED=true"includeDeprecated": true
Permit real-money mutationsETORO_ALLOW_REAL_MONEY=true"allowRealMoney": true

Environment lists are comma-separated; JSON properties take arrays. Precedence is built-in defaults < JSON file (ETORO_CONFIG) < environment < CLI flags, with higher layers replacing (not merging) lists. The same example as an explicit JSON file (ETORO_CONFIG=/absolute/path/to/etoro-mcp.config.json):

json
{  "$schema": "https://raw.githubusercontent.com/n-kostadinov/etoro-trading-mcp/main/schemas/config.schema.json",  "enabledToolsets": ["market-data", "trading-demo"],  "includeDeprecated": false,  "allowRealMoney": false}

See Configuration for every setting.

Two safety gates stay separate from selection: legacy tools additionally require includeDeprecated, and real-money mutations additionally require allowRealMoney. Real-money mutations live in four toolsets—trading-real, copy-trading, transfer, and sub-accounts-etoro-trading—so enabling those toolsets exposes live-funds operations only when the second gate is also set.

Available toolsets (26)

ToolsetCurrentLegacyToolsetCurrentLegacy
agent-portfolios73price-alerts40
app-data10rankings70
balances60sso-applications50
cash-accounts10sso-scopes10
clubs10sub-accounts20
copy-trading ⚠️50sub-accounts-etoro-trading ⚠️60
copy-trading-demo50top-assets10
data50trading-demo176
identity10trading-real ⚠️176
market-data110transfer ⚠️70
notifications20user-stats40
pi-data10users-info60
portfolio-search10watchlists180

⚠️ marks toolsets containing real-money mutations (gated by allowRealMoney regardless of selection). "Current" tools are enabled with the toolset; "legacy" tools additionally need includeDeprecated. Every operation ID is listed in the tool reference; the toolset breakdown is in toolsets.

Local inspection (secondary)

The CLI never contacts eToro for these commands and works without credentials:

bash
npx -y [email protected] tools list --all    # every operation and its statenpx -y [email protected] config validate     # effective settings and warnings

Documentation

  • INSTALL — complete agent and manual setup guide
  • Configuration — file/environment/CLI precedence and every setting
  • Toolsets — all 26 toolsets with counts
  • Tool reference — every generated tool, request, scope alternative, and replacement
  • Trading — demo versus real money, scopes, asynchronous orders, and safety
  • Security — credentials, local files, diagnostics, and untrusted content
  • Troubleshooting — startup, authentication, limits, and configuration issues

Safety and project status

This is an independent, unofficial project. It is not affiliated with, endorsed by, or sponsored by eToro. eToro names and trademarks belong to eToro. Nothing in this repository is investment advice. Demo trading uses virtual funds; real trading can lose real money and requires two explicit opt-ins.

Current release: 1.3.0, generated from eToro Swagger UI v1.405.0. Daily automation opens a review pull request when eToro's published API changes; it never automatically merges, tags, or publishes.

Contribute

MIT licensed. See CONTRIBUTING.md, CHANGELOG.md, and SECURITY.md for development, release history, and reporting guidance.

來源:README.md,提交 b9c0c15

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未完成 MCP 握手。

版本歷史

1
  1. v1.0.1最新Oct 26, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分