Skip to content
VS Code

migros mcp for VS Code

io.github.herp75/migros-mcp

Migros Switzerland: products, stores, recipes; with login basket, lists, orders, Cumulus

client:VS Code transport:stdio runtime:oci

Install migros mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "migros-email",
      "description": "MIGROS_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "migros-password",
      "description": "MIGROS_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "migros-totp-secret",
      "description": "MIGROS_TOTP_SECRET",
      "password": true
    }
  ],
  "servers": {
    "migros-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/herp75/migros-mcp:0.6.1"
      ],
      "env": {
        "MIGROS_EMAIL": "${input:migros-email}",
        "MIGROS_PASSWORD": "${input:migros-password}",
        "MIGROS_TOTP_SECRET": "${input:migros-totp-secret}"
      }
    }
  }
}

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

migros mcp in other clients