Loading...
{
"mcpServers": {
"imagen3": {
"command": "C:\\bin\\imagen3-mcp.exe",
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
// Optional environment variables:
// "BASE_URL": "<PROXY_URL>",
// "SERVER_LISTEN_ADDR": "0.0.0.0", // Example: Listen on all interfaces
// "SERVER_PORT": "9981",
// "IMAGE_RESOURCE_SERVER_ADDR": "your.domain.com" // Example: Use a domain name for image URLs
}
}
}
}image_generationGenerates images based on a text prompt using the Google Gemini API.
Image generation itself is not destructive, but misuse of the API or generation of inappropriate content poses a risk.
Imagen3-MCP is relatively safe for generating images, as it operates within a sandboxed environment and requires API key authentication. However, the risk of exposing the Gemini API key and the reliance on an external API should be carefully considered. Using a proxy can mitigate some risks but doesn't eliminate the core dependency.