h

hamflx

@hamflx/imagen3-mcp
0 Stars 312 次浏览 hamflx 更新于 2026-08-23
该服务暂未提供标准配置,请参考 README 手动接入

服务介绍

Imagen3-MCP

English Version

An image generation tool based on Google's Imagen 3.0, provided through MCP (Model Control Protocol).

Effects

A running Jack Russell Terrier, telephoto lens, sunlight filtering through the dog's fur, photorealistic quality

Running Jack Russell Terrier

A high-tech apple

High-tech apple

Installation Requirements

Installation Steps—Cherry Studio

  1. Download the latest executable from GitHub Releases
  2. Place the downloaded executable anywhere in your system, for example, C:\bin\imagen3-mcp.exe
  3. Configure in Cherry Studio:
    • Fill in the Command field with the path to the executable, for example, C:\bin\imagen3-mcp.exe
    • Enter your Gemini API key in the GEMINI_API_KEY environment variable
    • [Optional] Enter a proxy URL in the BASE_URL environment variable, for example, https://lingxi-proxy.hamflx.dev/api/provider/google (This address can resolve GFW issues but cannot solve IP restrictions by Google, so you still need to use a proxy).
    • [Optional] Set the SERVER_LISTEN_ADDR environment variable: The IP address the server listens on (defaults to 127.0.0.1).
    • [Optional] Set the SERVER_PORT environment variable: The port the server listens on and uses for image URLs (defaults to 9981).
    • [Optional] Set the IMAGE_RESOURCE_SERVER_ADDR environment variable: The server address used in the image URLs (defaults to 127.0.0.1). This is useful if the server runs in a container or on a remote machine.

Configuration

Installation Steps—Cursor

json
{
"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
}
}
}
}

License

MIT


Imagen3-MCP (English)

An image generation tool based on Google's Imagen 3.0, providing services through MCP (Model Control Protocol).

Examples

A running Jack Russell Terrier, telephoto lens, sunlight filtering through the dog's fur, photorealistic quality

Running Jack Russell Terrier

A high-tech apple

High-tech apple

Requirements

Installation Steps—Cherry Studio

  1. Download the latest executable from GitHub Releases
  2. Place the downloaded executable anywhere in your system, e.g., C:\bin\imagen3-mcp.exe
  3. Configure in Cherry Studio:
    • Fill in the Command field with the executable path, e.g., C:\bin\imagen3-mcp.exe
    • Enter your Gemini API key in the GEMINI_API_KEY environment variable
    • [Optional] Enter a proxy URL in the BASE_URL environment variable, e.g., https://your-proxy.com.
    • [Optional] Set the SERVER_LISTEN_ADDR environment variable: The IP address the server listens on (defaults to 127.0.0.1).
    • [Optional] Set the SERVER_PORT environment variable: The port the server listens on and uses for image URLs (defaults to 9981).
    • [Optional] Set the IMAGE_RESOURCE_SERVER_ADDR environment variable: The server address used in the image URLs (defaults to 127.0.0.1). Useful if the server runs in a container or remote machine.

Configuration

Installation Steps—Cursor

json
{
"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
}
}
}
}## License

MIT

相关 MCP 服务