Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_JSNoFull path to @openai/codex/bin/codex.js
CODEX_BINNoCommand or executable to start Codex
CODEX_VISION_MODELNoModel for Codex app-servergpt-5.4
CODEX_VISION_WORKDIRNoBase directory for relative image paths
CODEX_VISION_MAX_IMAGESNoMax images per call5
CODEX_VISION_TIMEOUT_MSNoRequest timeout in milliseconds180000
CODEX_VISION_MAX_IMAGE_MBNoMax local image size in MB20

Instructions

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

Call understand_image whenever image, screenshot, OCR, UI, diagram, chart, error screenshot, or visual comparison understanding is needed. Prefer local absolute paths when possible.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
understand_imageA

Use Codex app-server to understand one or more images. Works for screenshots, OCR, errors, UI, diagrams, charts, and visual comparison. Provide the user's exact question in question.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool there is nothing to confuse it with, so misselection is impossible. The tool's purpose (image understanding via Codex) is stated unambiguously.

Naming Consistency5/5

A single snake_case verb_noun name (understand_image) that clearly reads as an action on a resource. No competing conventions exist to create inconsistency.

Tool Count3/5

The server is narrowly scoped to image understanding, so one tool is defensible, but the surface is thin — there is no separate operation for OCR-only, comparison, or batch workflows. A single-tool MCP server is borderline rather than well-scoped.

Completeness4/5

The tool claims to cover screenshots, OCR, errors, UI, diagrams, charts, and visual comparison, which spans the stated domain in one call. Minor gaps remain, such as no explicit batch/list handling or result-format options, but agents can work around this by passing multiple images.