Google Custom Search MCP for VS Code
io.github.a1-x-tech/mcp-google-custom-search
MCP server for Google Custom Search: web and image search via a Programmable Search Engine.
client:VS Code
transport:stdio
runtime:npm
Install Google Custom Search MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "google-custom-search-api-key",
"description": "GOOGLE_CUSTOM_SEARCH_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "google-custom-search-engine-id",
"description": "GOOGLE_CUSTOM_SEARCH_ENGINE_ID",
"password": true
},
{
"type": "promptString",
"id": "google-custom-search-api-base",
"description": "GOOGLE_CUSTOM_SEARCH_API_BASE",
"password": true
},
{
"type": "promptString",
"id": "google-custom-search-timeout-ms",
"description": "GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "google-custom-search-max-retries",
"description": "GOOGLE_CUSTOM_SEARCH_MAX_RETRIES",
"password": true
}
],
"servers": {
"mcp-google-custom-search": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-custom-search"
],
"env": {
"GOOGLE_CUSTOM_SEARCH_API_KEY": "${input:google-custom-search-api-key}",
"GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "${input:google-custom-search-engine-id}",
"GOOGLE_CUSTOM_SEARCH_API_BASE": "${input:google-custom-search-api-base}",
"GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "${input:google-custom-search-timeout-ms}",
"GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "${input:google-custom-search-max-retries}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs