image2-mcp
by sailor20
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAGE2_API_KEY | Yes | Required. API key for the relay. | |
| IMAGE2_BASE_URL | Yes | Required. Relay root URL, without /images/... | |
| IMAGE2_ENV_FILE | No | Path to an extra `.env` (useful for multi-environment setups) | |
| IMAGE2_EDIT_FIELD | No | multipart field name for `edit_image` | image |
| IMAGE2_OUTPUT_DIR | No | Output directory; relative paths resolve against server root | ./output |
| IMAGE2_TIMEOUT_MS | No | Per-request timeout (ms); max 2147483647 | 300000 |
| IMAGE2_DEFAULT_SIZE | No | Default size | 1024x1024 |
| IMAGE2_DEFAULT_MODEL | No | Model used when `model` is omitted — set this to a model your relay serves | gpt-image-2 |
| IMAGE2_MODEL_ALIASES | No | Your own shorthands, `alias=model-id,alias2=id2`. Replaces the built-in aliases | |
| IMAGE2_DEFAULT_QUALITY | No | Default quality | high |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |