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.
Click on "Install 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., "@image-recognition-mcpextract all text from the image at /path/to/image.png"
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.
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: MCP Vision Server
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).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MiV1N/image_recognition_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server