read-image-mcp
Provides image reading capabilities (describe, OCR, structured extraction) using OpenAI-compatible vision models.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@read-image-mcp describe the image at https://example.com/photo.jpg"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Read Image MCP
read-image-mcp is a stdio MCP server that lets agents without native vision ask an OpenAI-compatible vision model to read images.
It exposes one tool, read_image, with three modes:
describe: general image descriptionocr: visible text and layout notesstructured: JSON extraction with an optional question and optional JSON Schema
Run From GitHub With npx
Recommended MCP command:
{
"command": "npx",
"args": [
"-y",
"--package",
"github:xiayangqun/Read-Image-MCP#main",
"read-image-mcp"
],
"env": {
"READ_IMAGE_MCP_CONFIG": "/absolute/path/read-image-mcp.config.json"
}
}#main is a rolling GitHub dependency. Restarting a client does not guarantee that npm fetches the newest commit because npm may reuse its cache. If you need an immediate refresh, clear npm cache or temporarily reference a specific commit SHA.
Related MCP server: mcp-six-eyes
Config
Create a config file:
{
"default_profile": "default",
"profiles": {
"default": {
"base_url": "https://api.example.com/v1",
"api_key": "your-api-key",
"model": "vision-model-name",
"timeout_ms": 60000
}
}
}Lookup order:
READ_IMAGE_MCP_CONFIGread-image-mcp.config.jsonin the current working directory~/.config/read-image-mcp/config.json
If api_key is empty or omitted, no Authorization header is sent. This is useful for local OpenAI-compatible gateways.
MCP Client Examples
Claude Desktop, Cursor, Codex, and OpenCode all use the same basic stdio command shape:
{
"mcpServers": {
"read-image": {
"command": "npx",
"args": [
"-y",
"--package",
"github:xiayangqun/Read-Image-MCP#main",
"read-image-mcp"
],
"env": {
"READ_IMAGE_MCP_CONFIG": "/absolute/path/read-image-mcp.config.json"
}
}
}
}This repository is xiayangqun/Read-Image-MCP.
Tool Input
{
"source": {
"type": "path",
"value": "/absolute/path/image.png"
},
"mode": "describe"
}Supported source types:
pathurlbase64data_url
structured mode supports:
{
"source": {
"type": "url",
"value": "https://example.com/screenshot.png"
},
"mode": "structured",
"question": "Which UI error is visible?",
"schema": {
"type": "object",
"properties": {
"error": { "type": "string" }
},
"required": ["error"],
"additionalProperties": false
}
}Local Development
npm install
npm test -- --run
npm run typecheck
npm run build
node dist/index.js --helpThe built dist/ directory is committed so npx --package github:...#main read-image-mcp can run directly from GitHub without client-side TypeScript compilation.
Available Tools
1 toolread_imageRead ImageC
Read an image through an OpenAI-compatible vision model. Supports path, url, base64, and data_url sources.
Inputs: mode (required), source (required), schema, question, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusing it with others. The tool's purpose is clearly defined, so an agent can unambiguously select it when needing to read an image.
The single tool name 'read_image' follows a clear verb_noun pattern, which is consistent. There are no other tools to create inconsistencies.
One tool is on the lower end of typical tool counts. While the server's purpose is narrow, a single tool feels thin; however, it is appropriate for the specific functionality provided.
The tool covers all common input methods for images (path, URL, base64, data URL), so there are no obvious gaps in functionality for its stated purpose.
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server for building and testing AI agents with multi-model experimentation and insights.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server that provides an analyze_image tool using OpenAI-compatible vision LLMs to describe images from file paths, URLs, or base64 data.127 npm1MIT
- AlicenseAqualityCmaintenanceMCP server that gives text-only AI agents the ability to understand images via vision tools, including multi-image analysis, OCR, comparison, and structured extraction. It uses providers like OpenAI, Anthropic, Gemini, and OpenRouter to return plain text descriptions.109 npmMIT
- AlicenseAqualityDmaintenanceMCP server that provides visual question answering, image description, object detection, OCR, and image manipulation tools using OpenAI-compatible vision models.12GPL 2.0
- AlicenseAqualityCmaintenanceMCP server that provides vision capabilities to coding agents, enabling them to analyze screenshots, UI mockups, terminal errors, documents, tables, and charts through OpenAI-compatible vision models. Supports local stdio and remote HTTP deployments with structured JSON output and binary upload side channels.859 npmMIT