Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHTTP listen host. CLI flag --host takes precedence.127.0.0.1
MCP_PATHNoMCP endpoint path. CLI flag --path takes precedence./mcp
MCP_PORTNoHTTP listen port. CLI flag --port takes precedence.3000
ALLOWED_HOSTSNoCloudflare Worker runtime comma-separated allowed Host hostnames. Empty disables the check.
MCP_TRANSPORTNoTransport method (stdio or http). CLI flag --transport takes precedence.stdio
ALLOWED_ORIGINSNoCloudflare Worker runtime comma-separated allowed Origin hostnames. Empty disables the check.
MCP_ALLOWED_HOSTSNoComma-separated allowed Host hostnames for the Node HTTP server.
MCP_ALLOWED_ORIGINSNoComma-separated allowed Origin hostnames for the Node HTTP server.

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
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageC

通过 OpenAI Images API(/v1/images/generations)生成图片,支持 gpt-image-2 与 gpt-image-2.5 系列模型。

edit_imageA

通过 OpenAI Images API(/v1/images/edits)编辑图片,支持单图、多图、mask 与 gpt-image-2 / 2.5 系列模型。

generate_image_via_responsesA

通过 OpenAI Responses API 的 image_generation 工具生成图片,支持 previous_response_id 多轮编辑与参考图输入。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation4/5

generate_image and generate_image_via_responses both create images, so there is potential overlap, but the descriptions clearly distinguish the underlying API and the multi-turn/reference-image capability. edit_image is clearly separate. An agent can choose correctly if it reads descriptions, though the generation split could still cause minor hesitation.

Naming Consistency4/5

All tool names follow a verb_noun pattern and are consistently snake_case. generate_image_via_responses adds a longer qualifier but remains readable and intentional. Minor deviation only.

Tool Count5/5

Three tools are well-scoped for an image generation/editing server: generate via one API, generate via another API with multi-turn support, and edit. Each tool earns its place without unnecessary surface area.

Completeness4/5

The core image lifecycle is covered: generation and editing, including masks, multiple images, references, and multi-turn editing. Some optional operations like variations or upscaling are absent, but the primary workflows are present.