Back to Home
anton-proto icon

mcp-imagen

Verified Safe

by anton-proto

Overview

Generates images from text prompts and performs image processing tasks like style transfer, background removal, and auto-cropping using Google Imagen API.

Installation

Run Command
uv run mcp-imagen-server

Environment Variables

  • GOOGLE_API_KEY
  • USE_VERTEXAI
  • GOOGLE_CLOUD_PROJECT
  • GOOGLE_CLOUD_LOCATION

Security Notes

The server uses standard Google Cloud authentication methods (Gemini API key or Vertex AI credentials). It validates that all user-provided paths for input/output directories and files are absolute to mitigate path traversal risks. It uses subprocess only to read gcloud configuration. No eval, obfuscation, or hardcoded secrets were found.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens7500
Stars0
Forks0
Last Update2025-12-06

Tags

Text-to-ImageGoogle ImagenImage ProcessingMCP ServerAI