image-recognition-mcp
Provides a tool to recognize images using an OpenAI-compatible vision-language model, allowing prompts to extract text or describe image content.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
image-recognition-mcp
An MCP (Model Context Protocol) server that exposes a single tool, vlm_recognize, for running an OpenAI-compatible vision-language model on a local image with a natural-language prompt.
Tool
vlm_recognize
Parameter | Type | Required | Description |
| string | yes | Natural-language instruction, e.g. |
| string | yes | Path to a local image (png/jpg/jpeg/gif/webp/bmp) |
Returns the model's text response.
Related MCP server: image_mcp
Configuration
Required env
Env | Purpose |
| Bearer token for the OpenAI-compatible API |
| Model name, e.g. |
Optional env
Env | Default | Purpose |
|
| Base URL for any OpenAI-compatible endpoint |
Install
Option A: npx (once published to npm)
// e.g. Claude Code's mcp config
"image-recognition-mcp": {
"command": "npx",
"args": ["-y", "image-recognition-mcp"],
"env": {
"API_KEY": "your_key",
"OPENAI_BASE_URL": "https://api.openai.com/v1",
"MODEL": "gpt-4o"
}
}Option B: local checkout
"image-recognition-mcp": {
"command": "node",
"args": ["/absolute/path/to/image_recognition_mcp/index.js"],
"env": {
"API_KEY": "your_key",
"OPENAI_BASE_URL": "https://api.openai.com/v1",
"MODEL": "gpt-4o"
}
}Or after npm link in this repo:
"image-recognition-mcp": {
"command": "image-recognition-mcp",
"env": { "API_KEY": "...", "MODEL": "..." }
}Self-test
API_KEY=test-key MODEL=gpt-4o node index.js --self-testVerifies the image-file → data-URL helper (extension check + MIME map) without making an API call.
Notes
Reads files from the local filesystem only. No URL fetching.
Image is sent as a base64 data URL inside the
chat/completionsrequest body. Large images will produce large requests — resize before sending if your provider has size limits.Errors from the VLM API are surfaced as tool-call errors (non-zero exit code on the tool result).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Search photos and video moments by visual meaning, people, dates, and folders across local libraries, Apple Photos, and OneDrive. Manage collections, groups, favorites, people, and duplicate review. Synced metadata remains searchable while the desktop is offline; local and Apple Photos media access needs the owning device online with remote access enabled. OneDrive media can be accessed directly from the cloud. OAuth or Bearer API keys. Paid Cloud Access required; hosted visual search uses prepaid credits. Text-in-image search is semantic matching, not guaranteed exact OCR. Setup: https://organizewith.ai/en/guides/connect-ai-assistants
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables image analysis and understanding using Vision Language Models through OpenAI-compatible APIs. Supports analyzing images from URLs or local files with custom prompts.12MIT
- AlicenseNot gradedqualityDmaintenanceEnables text-only LLMs to analyze images by routing them to an OpenAI-compatible vision backend, supporting local files, URLs, and data URLs.18 npmMIT
- AlicenseAqualityDmaintenanceEnables image analysis using any OpenAI-compatible vision API, supporting URLs, local files, or base64 input with custom prompts.1MIT
- AlicenseNot gradedqualityCmaintenanceProvides local image understanding for text-only LLMs with tools for image analysis, OCR, object detection, and cropping, all processed on-device.2MIT