MCP.so
登录
T

Trading212 Community Server MCP Server

@RohanAnandPandit

基本信息

分类

其他

传输方式

stdio

作者

RohanAnandPandit

提交者

Rohan

关于 Trading212 Community Server MCP Server

The Trading212 MCP server is a Model Context Protocol server implementation that provides seamless data connectivity to the Trading212 trading platform enabling advanced interaction capabilities via the public API.

#trading212#mcp-server#trading-platform

Trading212 Community Server MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "trading212": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "TRADING212_API_KEY",
        "mcp/trading212"
      ],
      "env": {
        "TRADING212_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Trading212 Community Server MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Trading212 Community Server?

The Trading212 Community Server is a Model Context Protocol (MCP) server that connects to the Trading212 trading platform API. It enables AI assistants to manage accounts, place orders, access market data, and analyse trading activity for Trading212 users.

How to use Trading212 Community Server?

Clone the repository, copy .env.example to .env, and set your API key and environment (demo or live). Install dependencies with uv install or pip install -r requirements.txt, then run uv run src/server.py. Configure your MCP client (e.g., Claude Desktop) with the provided Docker or uv configuration, replacing placeholders with your API key and paths.

Key features of Trading212 Community Server

  • Account metadata, cash balance, and portfolio monitoring
  • Market, limit, stop, and stop-limit order placement
  • Pie (portfolio bucket) creation, duplication, update, and deletion
  • Order history with pagination and cancellation
  • Historical trading data and dividend exports
  • Instrument and exchange search with working schedules
  • Currency-aware financial analysis via MCP prompts

Use cases of Trading212 Community Server

  • Automate portfolio rebalancing by managing pies programmatically
  • Place and cancel equity orders through a conversational AI interface
  • Retrieve real-time account cash and open positions for reporting
  • Analyse historical trading data with currency-context awareness
  • Fetch export CSVs of orders, dividends, and transactions for tax purposes

常见问题

1

How do I generate a Trading212 API key?

Generate an API key from your Trading212 account settings. See the [Trading212 help centre](https://helpcentre.trading212.com/hc/en-us/articles/14584770928157-How-can-I-generate-an-API-key). For a demo account, set `ENVIRONMENT=demo` in `.env`; for a live account, set `ENVIRONMENT=live`.

2

What are the runtime requirements?

Python 3.11 or later, plus Pydantic ≥ 2.11.4 and the Hishel library. Dependencies are listed in `requirements.txt`.

3

How do I run the server using Docker?

Build the image with `docker build -t mcp/trading212-mcp-server .` and configure your MCP client to run the container with the `-e TRADING212_API_KEY` environment variable.

4

Can I use this with a Trading212 demo account?

Yes. Set `ENVIRONMENT=demo` in your `.env` file and use the API key generated from the demo account.

5

Is this an official Trading212 tool?

No. This is an unofficial implementation of the Trading212 MCP protocol. Always consult official Trading212 documentation and terms of service before use.

评论

其他 分类下的更多 MCP 服务器