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.

コメント

「その他」の他のコンテンツ