🎨 Local AI Image Generation MCP Server powered by Google's Imagen 4.0 models
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add gemini-imagen4 -- npx -y gemini-imagen4~/.codex/config.toml
[mcp_servers.gemini-imagen4]
command = "npx"
args = ["-y", "gemini-imagen4"]
# codex mcp add gemini-imagen4 -- npx -y gemini-imagen4~/.cursor/mcp.json
{
"mcpServers": {
"gemini-imagen4": {
"command": "npx",
"args": [
"-y",
"gemini-imagen4"
]
}
}
}.vscode/mcp.json
{
"servers": {
"gemini-imagen4": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gemini-imagen4"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gemini-imagen4": {
"command": "npx",
"args": [
"-y",
"gemini-imagen4"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gemini-imagen4": {
"command": "npx",
"args": [
"-y",
"gemini-imagen4"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gemini-imagen4": {
"command": "npx",
"args": [
"-y",
"gemini-imagen4"
]
}
}
}