About MCP Servers Collection
MCP Servers Collection groups separate MCP servers for Capital.com and eToro trading APIs. It is for users of Amazon Q, Claude Desktop, and other MCP-compatible LLM applications that need market search, account data, or position operations.
Key features
- 01Capital.com market and account tools
- 02Capital.com position and watchlist access
- 03eToro instrument and account search
- 04eToro prices and position management
Use cases
- 01Search markets such as EURUSD or AAPL
- 02Review account balances and positions
- 03Create or manage trading positions
MCP support
The collection exposes Capital.com and eToro trading API operations as MCP tools. MCP-compatible clients such as Amazon Q and Claude Desktop can start and connect to the servers through configuration.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Servers Collection
This repository contains a collection of Model Context Protocol (MCP) servers that can be used with Amazon Q, Claude Desktop, and other LLMs that support the MCP protocol.
Available MCP Servers
-
Capital.com MCP Server: Exposes the Capital.com trading API as MCP tools for trading operations
- Search for markets (e.g., EURUSD, AAPL)
- Get account information and positions
- Create and manage trading positions
- Access watchlists
-
eToro MCP Server: Exposes the eToro trading API as MCP tools for trading operations
- Search for instruments by name, symbol, or category
- Get account information (balance, equity, margin)
- Get and manage open trading positions
- Create positions with leverage, stop loss, and take profit
- Get real-time bid/ask prices for instruments
- Access detailed instrument metadata (trading hours, spreads, limits)
What is MCP?
Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to LLMs. MCP enables communication between the system and locally running MCP servers that provide additional tools and resources to extend LLM capabilities.
Prerequisites
Make sure you have uv installed on your system:
curl -LsSf https://astral.sh/uv/install.sh | sh
Using with Amazon Q
-
Create an
mcp.jsonconfiguration file in your Amazon Q configuration directory (~/.aws/amazonq/mcp.json):{ "mcpServers": { "capital-com-mcp-server": { "command": "uvx", "args": ["capital-com-mcp-server"], "env": { "CAPITAL_BASE_URL": "https://demo-api-capital.backend-capital.com", "CAPITAL_API_KEY": "your_api_key_here", "CAPITAL_PASSWORD": "your_password_here", "CAPITAL_IDENTIFIER": "[email protected]", "FASTMCP_LOG_LEVEL": "ERROR" } }, "etoro-mcp-server": { "command": "uvx", "args": ["etoro-mcp-server"], "env": { "ETORO_API_KEY": "your_public_app_key_here", "ETORO_USER_KEY": "your_user_key_here", "ETORO_ACCOUNT_TYPE": "demo", "FASTMCP_LOG_LEVEL": "ERROR" } } } } -
Run Amazon Q with:
q chat -
Amazon Q will automatically start the MCP server and connect to it.
Using with Claude Desktop
-
In Claude Desktop, go to Settings > Developer section and click on "Edit Config"
-
This will open the configuration file. Add the following to the JSON:
{ "mcpServers": { "capital-com-mcp-server": { "command": "uvx", "args": ["capital-com-mcp-server"], "env": { "CAPITAL_BASE_URL": "https://demo-api-capital.backend-capital.com", "CAPITAL_API_KEY": "your_api_key_here", "CAPITAL_PASSWORD": "your_password_here", "CAPITAL_IDENTIFIER": "[email protected]", "FASTMCP_LOG_LEVEL": "ERROR" } }, "etoro-mcp-server": { "command": "uvx", "args": ["etoro-mcp-server"], "env": { "ETORO_API_KEY": "your_public_app_key_here", "ETORO_USER_KEY": "your_user_key_here", "ETORO_ACCOUNT_TYPE": "demo", "FASTMCP_LOG_LEVEL": "ERROR" } } } } -
Save the file and restart Claude Desktop.
Example Conversations
Capital.com
You: Search for Apple stock on Capital.com
AI: I'll search for Apple stock on Capital.com for you.
[Uses capital-com-mcp-server___search_markets tool]
I found Apple Inc. (AAPL) on Capital.com. Here are the details:
- Epic: AAPL
- Market name: Apple Inc.
- Current bid price: $184.25
- Current ask price: $184.30
- Market status: OPEN
Would you like me to get more information about this stock or perform any trading operations?
eToro
You: Search for Apple stock on eToro
AI: I'll search for Apple stock on eToro for you.
[Uses search_instruments tool with search_term="Apple"]
I found Apple Inc. on eToro. Here are the details:
- Instrument ID: 1001
- Name: Apple Inc.
- Symbol: AAPL
- Category: Stocks
- Current price: $184.25
- Market status: OPEN
Note: The instrument ID (1001) is what you'll need for trading operations.
You: Buy $1000 worth of Bitcoin with 2x leverage and set a stop loss at $60,000
AI: I'll create a Bitcoin position with your specified parameters.
[Uses search_instruments to find Bitcoin instrument ID, then create_position]
Successfully created a BUY position for Bitcoin:
- Position ID: pos_abc123
- Instrument ID: 2045 (Bitcoin)
- Amount: $1,000
- Leverage: 2x
- Stop loss: $60,000
- Status: OPEN
- Current P&L: $0.00
The position is now active and being monitored.
Repository Structure
Each MCP server is organized as a separate Python package under the src/ directory:
mcp-servers/
├── README.md
└── src/
├── capital_com_mcp_server/
│ ├── README.md
│ ├── pyproject.toml
│ ├── capital_com_mcp_server/
│ │ ├── __init__.py
│ │ ├── capital_mcp_server.py
│ │ └── capital_client.py
│ └── ...
└── etoro_mcp_server/
├── README.md
├── pyproject.toml
├── etoro_mcp_server/
│ ├── __init__.py
│ ├── etoro_mcp_server.py
│ └── etoro_client.py
└── ...
Development
To add a new MCP server to this collection:
- Create a new directory under
src/with your server name - Add the necessary files for your MCP server implementation
- Include a
pyproject.tomlandsetup.pyin the server directory - Add a README.md with usage instructions
Publishing
Each MCP server can be published to PyPI independently:
cd src/your_mcp_server
uv build
uv pip publish
GitHub Actions
This repository uses GitHub Actions to automatically build and publish packages to PyPI when a new release is created. The workflow is configured to use a matrix strategy, allowing each package to be built and published independently.
To add a new package to the publishing workflow, update the matrix in .github/workflows/python-publish.yml:
strategy:
matrix:
package: [capital_com_mcp_server, etoro_mcp_server]
Resources
License
This project is licensed under the MIT License - see the LICENSE file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.