codex-vision-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEX_JS | No | Full path to @openai/codex/bin/codex.js | |
| CODEX_BIN | No | Command or executable to start Codex | |
| CODEX_VISION_MODEL | No | Model for Codex app-server | gpt-5.4 |
| CODEX_VISION_WORKDIR | No | Base directory for relative image paths | |
| CODEX_VISION_MAX_IMAGES | No | Max images per call | 5 |
| CODEX_VISION_TIMEOUT_MS | No | Request timeout in milliseconds | 180000 |
| CODEX_VISION_MAX_IMAGE_MB | No | Max local image size in MB | 20 |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
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.
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.
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.
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.