etoro-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
etoro-mcp
Read-only remote MCP server exposing eToro portfolio data (positions, P&L, balances, watchlists, closed trade history) as tools, so it can be registered as a custom connector in Claude (claude.ai chat, not just an editor). Runs on Cloudflare Workers over Streamable HTTP.
This is a personal, single-user tool. It never places, modifies, or closes a
trade — only GET requests against eToro's API.
Prerequisites
Node.js (recent LTS)
A Cloudflare account (for
wrangler devand eventual deployment)eToro API credentials (
x-api-key/x-user-key) from api-portal.etoro.com
Install dependencies:
npm installAbout Wrangler
This project deploys to Cloudflare Workers,
and Wrangler is
Cloudflare's official CLI for building, testing, and deploying Workers.
It's already listed as a devDependency, so npm install pulls it in — no
separate install needed. Used via npx wrangler ... or the npm run dev
script below. Relevant commands:
wrangler dev— runs the server locally, simulating the Workers runtime (this is whatnpm run devcalls).wrangler deploy— publishes the code to Cloudflare's edge network under a real public URL.wrangler secret put <NAME>— securely uploads a secret (e.g. your eToro API key or the connector's bearer token) to the deployed Worker, without ever committing it to the repo.wrangler.toml— this repo's Workers config (build/name/routes).
Before wrangler deploy or wrangler secret put will work, log in once:
wrangler loginRelated MCP server: eToro Portfolio Connector
Local development (wrangler dev)
Copy the example env file and fill in real values:
cp .dev.vars.example .dev.varsIn
.dev.vars, set:ETORO_API_KEY/ETORO_USER_KEY— your eToro API credentials.CONNECTOR_AUTH_TOKEN— a secret bearer token that guards this connector's own/mcpendpoint (unrelated to the eToro credentials above). Generate one with:openssl rand -hex 32
.dev.varsis gitignored — never commit it.Start the local Workers dev server:
npm run devEvery request to
/mcpmust include the bearer token:Authorization: Bearer <CONNECTOR_AUTH_TOKEN from .dev.vars>Requests missing the header, or presenting the wrong token, get a
401. IfCONNECTOR_AUTH_TOKENisn't set at all, the server fails closed and rejects every request rather than allowing unauthenticated access.
Running tests
npm test # unit tests (node:test)
npm run typecheckDeploying and registering as a Claude connector
Deployment and connector registration are manual steps, done by the operator (not run as part of this repo's automation):
Set secrets on the deployed Worker (never committed to the repo):
wrangler secret put ETORO_API_KEY wrangler secret put ETORO_USER_KEY wrangler secret put CONNECTOR_AUTH_TOKENDeploy:
wrangler deployThis publishes the Worker and prints its
*.workers.devURL (or a custom route, if configured).Register as a custom connector in Claude:
In claude.ai, go to Settings → Connectors → Add custom connector.
Enter the deployed Worker's
/mcpURL.Complete the connector's auth step, supplying the same
CONNECTOR_AUTH_TOKENvalue set viawrangler secret putabove.
End-to-end check: ask Claude a real portfolio question in a normal chat (e.g. "what's my eToro portfolio P&L right now?") and confirm it calls the right tool and returns live data.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only access to your own crypto portfolio across 11+ exchanges and 20+ chains: holdings, full history, FIFO cost basis and P&L, fees and income. Ask Claude or ChatGPT about your portfolio; the connector can never trade, move funds or act as a login.
Read-only portfolio analytics for Pulse Pro users in Egypt; hosted ChatGPT and Claude OAuth.
Connect Claude, ChatGPT, Codex, Claude Code or another MCP client to your real multi-broker investment portfolio. Fortunest tracks stocks, ETFs and crypto across brokers and exchanges; its MCP server lets your agent read holdings, returns, allocation, risk, trades and tax lots, calculated by Fortunest rather than guessed by the model. Reads run on their own; every change waits for your approval in the Fortunest app, and no tool places an order or moves money. Sign-in is OAuth 2.1 and needs Fortunest Pro (14-day trial, no card). A free demo that needs no account is listed as Fortunest demo.
Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.
Related MCP Servers
- FlicenseAqualityDmaintenanceA security-hardened MCP server that wraps the eToro public API, enabling AI assistants to trade, access market data, manage portfolios, and interact with social feeds via 34 tools.6-
- AlicenseNot gradedqualityCmaintenanceA read-only MCP server that connects Claude to your eToro account, enabling queries about your portfolio, P\&L, balances, watchlists, live prices, and price history.MIT
- FlicenseNot gradedqualityDmaintenanceExposes Alpaca paper trading tools (get positions and account) via SSE transport, designed for Claude Desktop and n8n.-
- AlicenseAqualityCmaintenanceMCP server for the Trading 212 public API, enabling account, portfolio, order, pie, and history access with read tools always available and trading tools opt-in.131MIT