Trading212 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ENVIRONMENT | No | Set to 'demo' for practice account or 'live' for real money. Default is 'demo'. | demo |
| TRADING212_API_KEY | Yes | Your Trading212 API key (required). Generate from account settings. | |
| TRADING212_API_SECRET | No | Optional API secret for Basic auth flow. If omitted, legacy API-key-only header is used. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_instrumentA | |
| search_exchangeA | |
| fetch_piesA | Fetch all pies. |
| create_pieB | |
| delete_pieC | Delete a pie. |
| fetch_a_pieB | Fetch a specific pie by ID. |
| update_pieA | |
| duplicate_pieA | |
| fetch_all_ordersB | Fetch all equity orders. |
| place_limit_orderA | |
| place_market_orderB | |
| place_stop_orderA | |
| place_stop_limit_orderA | |
| cancel_orderC | Cancel an existing order. |
| fetch_orderC | Fetch a specific order by ID. |
| fetch_account_infoC | Fetch the account summary. |
| fetch_account_summaryB | Fetch the account summary. |
| fetch_account_cashA | Fetch account cash balance. |
| fetch_positionsA | Fetch open positions, optionally filtered by ticker. |
| fetch_position_by_tickerC | Fetch a single open position by ticker. |
| fetch_all_open_positionsA | Deprecated alias for fetch_positions(). |
| fetch_open_position_by_tickerB | Deprecated alias for fetch_position_by_ticker(). |
| search_specific_position_by_tickerB | Deprecated alias for fetch_position_by_ticker(). |
| fetch_historical_order_dataC | Fetch historical order data with pagination. |
| fetch_paid_out_dividendsC | Fetch historical dividend data with pagination. |
| fetch_exports_listA | Lists detailed information about all csv account exports. |
| request_csv_exportA | |
| fetch_transaction_listC | Fetch superficial information about movements to and from your account. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyse_trading212_data | Analyse trading212 data. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| trading212://account/info | |
| trading212://account/summary | |
| trading212://account/cash | |
| trading212://account/portfolio | |
| trading212://account/positions | |
| trading212://positions | |
| trading212://orders | |
| trading212://pies | |
| trading212://instruments | |
| trading212://exchanges | |
| trading212://history/exports |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/RohanAnandPandit/trading212-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server