Trading 212 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TRADING212_API_KEY | Yes | Your Trading 212 API key | |
| TRADING212_ENVIRONMENT | No | Environment (demo or live), defaults to demo | demo |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_account_infoB | Retrieve account metadata including currency code and account ID |
| get_account_cashB | Get detailed cash balance information including free, invested, blocked, and total amounts |
| get_account_summaryB | Get comprehensive account summary with cash, invested amounts, profit/loss, and available funds |
| get_portfolioA | List all open positions in the portfolio with current prices, quantities, and profit/loss |
| get_positionC | Get detailed information about a specific position by ticker symbol |
| get_ordersB | Retrieve all active orders (pending, processing, etc.) |
| get_orderB | Get detailed information about a specific order by order ID |
| cancel_orderC | Cancel an active order by order ID |
| place_market_orderC | Place a market order to buy or sell at the current market price |
| place_limit_orderC | Place a limit order to buy or sell at a specified price or better |
| place_stop_orderC | Place a stop order that becomes a market order when the stop price is reached |
| place_stop_limit_orderB | Place a stop-limit order that becomes a limit order when the stop price is reached |
| get_instrumentsB | List all tradeable instruments with metadata including ISIN, currency, type, and trading schedules |
| get_exchangesB | Get information about exchanges and their trading schedules |
| get_piesA | List all investment pies (portfolio buckets) with their configurations and holdings |
| get_pieC | Get detailed information about a specific pie by ID |
| create_pieC | Create a new investment pie with specified instruments and allocations |
| update_pieC | Update an existing pie configuration |
| delete_pieC | Delete an investment pie by ID |
| get_order_historyC | Get historical orders with pagination support |
| get_dividendsC | Get dividend payment history with pagination support |
| get_transactionsB | Get transaction history including deposits, withdrawals, orders, dividends, and fees |
| request_exportC | Request a CSV export of account data for a specified time period |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/enderekici/trading212-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server