Skip to content
VS Code

webfetch for VS Code

io.github.ashlrai/webfetch

License-first federated image search with attribution, dimensions, and download tooling.

client:VS Code transport:stdio runtime:npm

Install webfetch in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "unsplash-access-key",
      "description": "UNSPLASH_ACCESS_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pexels-api-key",
      "description": "PEXELS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pixabay-api-key",
      "description": "PIXABAY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brave-api-key",
      "description": "BRAVE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "serpapi-key",
      "description": "SERPAPI_KEY",
      "password": true
    }
  ],
  "servers": {
    "webfetch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "getwebfetch-mcp"
      ],
      "env": {
        "UNSPLASH_ACCESS_KEY": "${input:unsplash-access-key}",
        "PEXELS_API_KEY": "${input:pexels-api-key}",
        "PIXABAY_API_KEY": "${input:pixabay-api-key}",
        "BRAVE_API_KEY": "${input:brave-api-key}",
        "SERPAPI_KEY": "${input:serpapi-key}"
      }
    }
  }
}

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

webfetch in other clients