web fetcher for VS Code
io.github.vojtisprime11/web-fetcher
Turns any web page into clean Markdown, page metadata and classified links for LLMs.
client:VS Code
transport:stdio
runtime:npm
Install web fetcher in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "web-fetcher-timeout-ms",
"description": "WEB_FETCHER_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "web-fetcher-max-bytes",
"description": "WEB_FETCHER_MAX_BYTES",
"password": true
},
{
"type": "promptString",
"id": "web-fetcher-user-agent",
"description": "WEB_FETCHER_USER_AGENT",
"password": true
},
{
"type": "promptString",
"id": "web-fetcher-allow-private-hosts",
"description": "WEB_FETCHER_ALLOW_PRIVATE_HOSTS",
"password": true
},
{
"type": "promptString",
"id": "web-fetcher-respect-robots",
"description": "WEB_FETCHER_RESPECT_ROBOTS",
"password": true
}
],
"servers": {
"web-fetcher": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-web-fetcher"
],
"env": {
"WEB_FETCHER_TIMEOUT_MS": "${input:web-fetcher-timeout-ms}",
"WEB_FETCHER_MAX_BYTES": "${input:web-fetcher-max-bytes}",
"WEB_FETCHER_USER_AGENT": "${input:web-fetcher-user-agent}",
"WEB_FETCHER_ALLOW_PRIVATE_HOSTS": "${input:web-fetcher-allow-private-hosts}",
"WEB_FETCHER_RESPECT_ROBOTS": "${input:web-fetcher-respect-robots}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs