Skip to content
VS Code

trading212 mcp server for VS Code

io.github.kyurish/trading212-mcp-server

MCP server for Trading 212 API - portfolio, orders, pies, dividends, and analytics

client:VS Code transport:stdio runtime:pypi

Install trading212 mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "trading212-api-key",
      "description": "TRADING212_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "trading212-api-secret",
      "description": "TRADING212_API_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "environment",
      "description": "ENVIRONMENT",
      "password": true
    }
  ],
  "servers": {
    "trading212-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "trading212-mcp-server"
      ],
      "env": {
        "TRADING212_API_KEY": "${input:trading212-api-key}",
        "TRADING212_API_SECRET": "${input:trading212-api-secret}",
        "ENVIRONMENT": "${input:environment}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

trading212 mcp server in other clients