Skip to content
Cursor

Metal GPU Trace for Cursor

io.github.partprogramming09/metal-gpu-trace

Measure Wine and macOS programs' GPU use on Apple silicon with Metal System Trace

client:Cursor transport:stdio runtime:pypi

Install Metal GPU Trace in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "metal-gpu-trace": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "metal-gpu-trace"
      ],
      "env": {
        "METAL_TRACE_OUT": "<METAL_TRACE_OUT>",
        "METAL_TRACE_WINE": "<METAL_TRACE_WINE>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Metal GPU Trace in other clients