Skip to content
VS Code

imgcli for VS Code

io.github.swperb/imgcli

Convert, resize, crop, filter & composite images via the imgcli CLI (lightweight, no deps)

client:VS Code transport:stdio runtime:npm

Install imgcli in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "imgcli-bin",
      "description": "IMGCLI_BIN",
      "password": true
    }
  ],
  "servers": {
    "imgcli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "imgcli-mcp"
      ],
      "env": {
        "IMGCLI_BIN": "${input:imgcli-bin}"
      }
    }
  }
}

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

imgcli in other clients