Skip to content
VS Code

PineForge — offline PineScript v6 backtest MCP for VS Code

io.github.pineforge-4pass/pineforge-codegen-mcp

Offline PineScript v6 → C++ backtests at deterministic TradingView parity, run locally via MCP.

client:VS Code transport:stdio runtime:oci

Install PineForge — offline PineScript v6 backtest MCP in VS Code

.vscode/mcp.json

{
  "servers": {
    "pineforge-codegen-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pineforge-4pass/pineforge-codegen-mcp:v0.9.18"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

PineForge — offline PineScript v6 backtest MCP in other clients