Skip to main content
Glama
jpaarhuis
by jpaarhuis

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAI_IMAGE_API_KEYYesResource key
MAI_IMAGE_ENDPOINTYesFull URL ending in /mai/v1/images/generations
MAI_IMAGE_DEPLOYMENTYesDeployment name in Foundry
MAI_IMAGE_OUTPUT_DIRNoDefault output folder; falls back to the OS temp dir

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_configA

Report whether the Foundry image server is configured (which environment variables are set, endpoint and deployment in use, output directory). Never reveals the API key. Call this first when a generation fails with a configuration error.

generate_imageA

Generate a PNG image with gpt-image-2 on Azure AI Foundry. The image is written to disk and the tool returns its path; it is not returned inline. Use a detailed prompt covering subject, style, composition, lighting and colors. Each side must be at least 768 pixels and width x height must not exceed 1048576 pixels, so 1024x1024, 768x1024 and 1024x768 are valid but 1024x1536 is not.

edit_imageA

Edit an existing PNG or JPEG with gpt-image-2 on Azure AI Foundry, following a text instruction. The result is written to disk as a PNG and the tool returns its path. The source file is never modified.

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/jpaarhuis/claude-foundry-image'

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