Skip to content
VS Code

gold mcp for VS Code

io.github.thaitrevor/gold-mcp

MCP server for XAUUSD gold market data + 4-tier trading toolkit (TA, backtest, SMC, risk).

client:VS Code transport:stdio runtime:pypi

Install gold mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gold-mcp-license-key",
      "description": "GOLD_MCP_LICENSE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "gold-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gold-mcp"
      ],
      "env": {
        "GOLD_MCP_LICENSE_KEY": "${input:gold-mcp-license-key}",
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}"
      }
    }
  }
}

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

gold mcp in other clients