MCP Retrieval for VS Code
io.github.role1776/mcp-retrieval
Local Go MCP server: DuckDuckGo/Bing web + image search, readability scraping to Markdown.
client:VS Code
transport:stdio
runtime:oci
Install MCP Retrieval in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mcp-transport",
"description": "MCP_TRANSPORT",
"password": true
},
{
"type": "promptString",
"id": "mcp-name",
"description": "MCP_NAME",
"password": true
},
{
"type": "promptString",
"id": "mcp-path",
"description": "MCP_PATH",
"password": true
},
{
"type": "promptString",
"id": "server-port",
"description": "SERVER_PORT",
"password": true
},
{
"type": "promptString",
"id": "server-read-timeout",
"description": "SERVER_READ_TIMEOUT",
"password": true
},
{
"type": "promptString",
"id": "server-write-timeout",
"description": "SERVER_WRITE_TIMEOUT",
"password": true
},
{
"type": "promptString",
"id": "log-mode",
"description": "LOG_MODE",
"password": true
},
{
"type": "promptString",
"id": "max-idle-conns-per-host",
"description": "MAX_IDLE_CONNS_PER_HOST",
"password": true
},
{
"type": "promptString",
"id": "max-queries",
"description": "MAX_QUERIES",
"password": true
},
{
"type": "promptString",
"id": "default-results",
"description": "DEFAULT_RESULTS",
"password": true
},
{
"type": "promptString",
"id": "max-results",
"description": "MAX_RESULTS",
"password": true
},
{
"type": "promptString",
"id": "default-images",
"description": "DEFAULT_IMAGES",
"password": true
},
{
"type": "promptString",
"id": "max-images",
"description": "MAX_IMAGES",
"password": true
},
{
"type": "promptString",
"id": "default-timeout-ms",
"description": "DEFAULT_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "min-timeout-ms",
"description": "MIN_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "max-timeout-ms",
"description": "MAX_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "default-document-chars",
"description": "DEFAULT_DOCUMENT_CHARS",
"password": true
},
{
"type": "promptString",
"id": "max-document-chars",
"description": "MAX_DOCUMENT_CHARS",
"password": true
},
{
"type": "promptString",
"id": "proxy-scheme",
"description": "PROXY_SCHEME",
"password": true
},
{
"type": "promptString",
"id": "proxy-host",
"description": "PROXY_HOST",
"password": true
},
{
"type": "promptString",
"id": "proxy-port",
"description": "PROXY_PORT",
"password": true
},
{
"type": "promptString",
"id": "proxy-login",
"description": "PROXY_LOGIN",
"password": true
},
{
"type": "promptString",
"id": "proxy-password",
"description": "PROXY_PASSWORD",
"password": true
}
],
"servers": {
"mcp-retrieval": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/role1776/mcp-retrieval:0.1.7"
],
"env": {
"MCP_TRANSPORT": "${input:mcp-transport}",
"MCP_NAME": "${input:mcp-name}",
"MCP_PATH": "${input:mcp-path}",
"SERVER_PORT": "${input:server-port}",
"SERVER_READ_TIMEOUT": "${input:server-read-timeout}",
"SERVER_WRITE_TIMEOUT": "${input:server-write-timeout}",
"LOG_MODE": "${input:log-mode}",
"MAX_IDLE_CONNS_PER_HOST": "${input:max-idle-conns-per-host}",
"MAX_QUERIES": "${input:max-queries}",
"DEFAULT_RESULTS": "${input:default-results}",
"MAX_RESULTS": "${input:max-results}",
"DEFAULT_IMAGES": "${input:default-images}",
"MAX_IMAGES": "${input:max-images}",
"DEFAULT_TIMEOUT_MS": "${input:default-timeout-ms}",
"MIN_TIMEOUT_MS": "${input:min-timeout-ms}",
"MAX_TIMEOUT_MS": "${input:max-timeout-ms}",
"DEFAULT_DOCUMENT_CHARS": "${input:default-document-chars}",
"MAX_DOCUMENT_CHARS": "${input:max-document-chars}",
"PROXY_SCHEME": "${input:proxy-scheme}",
"PROXY_HOST": "${input:proxy-host}",
"PROXY_PORT": "${input:proxy-port}",
"PROXY_LOGIN": "${input:proxy-login}",
"PROXY_PASSWORD": "${input:proxy-password}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs