Imagen3-MCP logo

Imagen3-MCP

Community
hamflx

基于 Google 的 Imagen 3.0 的图像生成工具,通过 MCP(Model Control Protocol)提供服务。

Publisherhamflx
Repositoryimagen3-mcp
LanguageRust
Forks
23
Stars
70
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Imagen3-MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    70 stars and 23 forks from the linked repository.

Imagen3-MCP

English Version

基于 Google 的 Imagen 3.0 的图像生成工具,通过 MCP(Model Control Protocol)提供服务。

效果

画一只奔跑的杰克罗素犬,长焦镜头,阳光透过狗狗的毛发,照片级画质

奔跑的杰克罗素犬

画一个科技感十足的苹果

科技感十足的苹果

安装要求

安装步骤——Cherry Studio

  1. 从 GitHub Releases 下载最新版本的可执行文件
  2. 将下载的可执行文件放置在系统中的任意位置,例如 C:\bin\imagen3-mcp.exe
  3. 在 Cherry Studio 中配置:
    • Command 字段填写可执行文件路径,例如 C:\bin\imagen3-mcp.exe
    • 环境变量 GEMINI_API_KEY 中填写你的 Gemini API 密钥
    • [可选] 环境变量 BASE_URL 中填写代理地址,例如 https://lingxi-proxy.hamflx.dev/api/provider/google(这个地址可以解决 GFW 的问题,但是解决不了 Google 对 IP 的限制问题,因此还是得挂梯子)。
    • [可选] 环境变量 SERVER_LISTEN_ADDR:设置服务器监听的 IP 地址(默认为 127.0.0.1)。
    • [可选] 环境变量 SERVER_PORT:设置服务器监听的端口和图片 URL 使用的端口(默认为 9981)。
    • [可选] 环境变量 IMAGE_RESOURCE_SERVER_ADDR:设置图片 URL 中使用的服务器地址(默认为 127.0.0.1)。这在服务器运行在容器或远程机器上时很有用。

配置

安装步骤——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
      }
    }
  }
}

许可证

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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "hamflx-imagen3-mcp": {
      "command": "",
      "args": []
    }
  }
}

Use Imagen3-MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Imagen3-MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Imagen3-MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Imagen3-MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "hamflx-imagen3-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "imagen3-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Imagen3-MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Imagen3-MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Imagen3-MCP to help me with this task?
Imagen3-MCP
Sure. I read it.
Here is what I found using Imagen3-MCP.

Frequently asked questions

What is the Imagen3-MCP MCP server used for?

Imagen3-MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Imagen3-MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Imagen3-MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Imagen3-MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Imagen3-MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Imagen3-MCP MCP to TypingMind?

Imagen3-MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Imagen3-MCP MCP provide in TypingMind?

Imagen3-MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Imagen3-MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Imagen3-MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇