Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_API_KEYYesYour Google API key for Gemini and Imagen APIs.
GOOGLE_CLOUD_PROJECTNoYour Google Cloud project ID for Vertex AI features (optional).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageC

Generate an image from a text prompt using Google Gemini.

edit_imageC

Edit an existing image using a text prompt.

remove_backgroundA

Remove the background from an image.

Uses AI to isolate the main subject and remove the background. Best results with clear subjects against distinct backgrounds.

transform_imageC

Transform an image using Pillow operations.

upscale_imageA

Upscale an image to higher resolution (requires Vertex AI).

This feature requires Google Cloud Vertex AI credentials. Set GOOGLE_CLOUD_PROJECT environment variable to enable.

advanced_editC

Advanced image editing with specialized modes (requires Vertex AI).

This feature requires Google Cloud Vertex AI credentials. Set GOOGLE_CLOUD_PROJECT environment variable to enable.

analyze_imageC

Analyze an image and get a detailed description.

extract_textA

Extract text from an image using OCR.

Uses Gemini's vision capabilities for high-quality text extraction. Works with screenshots, documents, signs, handwriting, etc.

detect_objectsA

Detect objects in an image with bounding boxes.

Uses Gemini's zero-shot object detection. Returns bounding box coordinates normalized to 0-1000 scale as [y_min, x_min, y_max, x_max].

compare_imagesA

Compare two or more images and analyze differences.

Useful for A/B testing, design review, before/after comparison, and change detection.

optimize_promptA

Enhance a basic prompt for dramatically better image results.

Uses AI to add details about lighting, composition, colors, textures, and artistic techniques. The #1 way to improve generation quality.

list_templatesB

List available prompt templates for image generation.

apply_templateC

Apply a prompt template with a subject to generate a ready-to-use prompt.

estimate_costA

Estimate the cost of an image operation.

Shows pricing per model per operation to help with budgeting.

list_historyC

List recent generation history.

get_generation_detailsA

Get details of a specific generation by ID.

batch_generateA

Generate multiple images in parallel from a list of prompts.

list_available_modelsA

List all available image generation models with capabilities.

Returns model details including speed, quality, resolution support, and best use cases. Use this to pick the right model for your task.

Returns: Dictionary with model details and selection guidance

Example: list_available_models()

get_server_infoA

Get MCP server configuration, capabilities, and available tools.

Returns: Dictionary with server info and feature overview

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tehnolabs/pixelforge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server