Integrations
Demonstrated as a method to interact with the MCP server's REST API for executing tools like fetching eToro portfolios.
Provides package management for installing dependencies and running scripts for the MCP server.
eToro MCP Server
This server provides MCP (Model Context Protocol) tools for interacting with eToro's public API endpoints. It allows you to:
- Fetch a user's portfolio using their username
- Look up instrument details by IDs
- Search for instruments by name prefix (autocomplete)
Getting Started
- Install dependencies:Copy
- Start the development server:Copy
- Build for production:Copy
- Start the production server:Copy
Available Tools
fetch_etoro_portfolio
Fetches an eToro user's portfolio using their username. The tool automatically converts the username to a Customer ID (CID) internally.
Parameters:
username
: The eToro usernameauthToken
(optional): Authorization token for authenticated requests
fetch_instrument_details
Fetches details for a list of eToro instruments.
Parameters:
instrumentIds
: List of instrument IDs to fetch details forfields
(optional): Fields to include in the response (defaults todisplayname
,threeMonthPriceChange
,oneYearPriceChange
,lastYearPriceChange
)
search_instruments
Searches for eToro instruments by name prefix (autocomplete).
Parameters:
namePrefix
: The prefix to search for in instrument namesfields
(optional): Fields to include in the response (defaults tointernalInstrumentId
,displayname
,internalClosingPrice
)
CORS Limitations
Note that some of the eToro API endpoints have CORS restrictions and should be called from a server-side environment. The tools in this server handle these requests on the server side to avoid CORS issues.
Usage Example
The server exposes a REST API for accessing these tools, which can be called from any HTTP client:
Example of using the fetch_etoro_portfolio
tool:
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Provides Model Context Protocol tools for interacting with eToro's public API endpoints, allowing users to fetch portfolios, look up instrument details, and search for instruments while handling CORS restrictions.
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