nanobanana mcp for VS Code
io.github.getjoystick/nanobanana-mcp
Lean MCP server for Google's Nano Banana (Gemini) image models. Returns file paths, not base64.
client:VS Code
transport:stdio
runtime:npm
Install nanobanana mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "gemini-api-key",
"description": "GEMINI_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "nanobanana-model",
"description": "NANOBANANA_MODEL",
"password": true
},
{
"type": "promptString",
"id": "nanobanana-output-dir",
"description": "NANOBANANA_OUTPUT_DIR",
"password": true
}
],
"servers": {
"nanobanana-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nanobanana/mcp"
],
"env": {
"GEMINI_API_KEY": "${input:gemini-api-key}",
"NANOBANANA_MODEL": "${input:nanobanana-model}",
"NANOBANANA_OUTPUT_DIR": "${input:nanobanana-output-dir}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs