Skip to content
VS Code

Capture Screen MCP for VS Code

io.github.ochtum/capture-screen

Windows screen capture MCP server with display, region, and active-window capture tools.

client:VS Code transport:stdio runtime:nuget

Install Capture Screen MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "capture-screen-default-display",
      "description": "CAPTURE_SCREEN_DEFAULT_DISPLAY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "capture-screen-output-dir",
      "description": "CAPTURE_SCREEN_OUTPUT_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "capture-screen-hide-foreground-windows-terminal",
      "description": "CAPTURE_SCREEN_HIDE_FOREGROUND_WINDOWS_TERMINAL",
      "password": true
    }
  ],
  "servers": {
    "capture-screen": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "CaptureScreenMcp",
        "--yes"
      ],
      "env": {
        "CAPTURE_SCREEN_DEFAULT_DISPLAY": "${input:capture-screen-default-display}",
        "CAPTURE_SCREEN_OUTPUT_DIR": "${input:capture-screen-output-dir}",
        "CAPTURE_SCREEN_HIDE_FOREGROUND_WINDOWS_TERMINAL": "${input:capture-screen-hide-foreground-windows-terminal}"
      }
    }
  }
}

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

Capture Screen MCP in other clients