Skip to content
VS Code

imagedimensions mcp for VS Code

io.github.bishop81/imagedimensions-mcp

Audit a web page's images: natural vs rendered sizes, oversized detection, and formats.

client:VS Code transport:stdio runtime:npm

Install imagedimensions mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "imagedimensions-api-base",
      "description": "IMAGEDIMENSIONS_API_BASE",
      "password": true
    }
  ],
  "servers": {
    "imagedimensions-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "imagedimensions-mcp"
      ],
      "env": {
        "IMAGEDIMENSIONS_API_BASE": "${input:imagedimensions-api-base}"
      }
    }
  }
}

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

imagedimensions mcp in other clients