Skip to main content
Glama

Vision MCP Server

Un servidor de Model Context Protocol (MCP) que aporta capacidad de visión a agentes conectados a modelos no multimodales (DeepSeek, GPT-4 antiguo, modelos locales pequeños, etc.): el agente entrega una imagen a la herramienta MCP, el servidor llama a un modelo de visión y devuelve texto.

Compatible con los principales proveedores de China y EE. UU., además de cualquier endpoint compatible con OpenAI. SDK oficiales primero, abstracción antes que implementación, incorporación de proveedores sin fricción.

Documentación en chino en README.zh-CN.md

Características

  • 4 herramientas: analyze_image / describe_image / ocr_image / list_providers, todas devuelven texto Markdown plano

  • 13 proveedores integrados: OpenAI / Anthropic / Google Gemini / Qwen (DashScope) / Zhipu / Doubao (Volcengine) / ERNIE (Qianfan) / StepFun / Ollama / Alibaba Bailian / SiliconFlow / OpenRouter / endpoint personalizado compatible con OpenAI

  • Tres formatos de imagen: ruta local / URL http(s) / base64 (URI de datos o base64 sin procesar), detectados automáticamente

  • Cadena de respaldo de tres niveles: SDK oficial → endpoint compatible con OpenAI → fetch nativo (ver SPEC §1)

  • Sin estado: cada llamada es independiente; las imágenes y los resultados nunca se almacenan en caché; las claves solo se leen de variables de entorno

Related MCP server: vision-mcp

Inicio rápido

Opción A: npx (publicado en npm, sin necesidad de repositorio)

npx -y @inferai/vision-mcp

Opción B: compilación local

git clone <repo> && cd vision-mcp
pnpm install
pnpm build
node dist/index.js

Ejemplos de configuración de MCP (stdio)

El servidor utiliza el transporte stdio: el cliente MCP inicia el proceso e intercambia mensajes JSON-RPC a través de stdin/stdout. Configúralo donde tu cliente defina los servidores MCP:

  • Claude Code: .mcp.json a nivel de proyecto o ~/.claude.json a nivel de usuario (clave mcpServers)

  • Claude Desktop: claude_desktop_config.json

  • Cualquier cliente MCP (Cursor, agentes propios, etc.): misma estructura

Versión npx (disponible después de publicar el paquete):

{
  "mcpServers": {
    "vision-mcp": {
      "command": "npx",
      "args": ["-y", "@inferai/vision-mcp"],
      "env": {
        "OPENAI_API_KEY": "sk-...",
        "DASHSCOPE_API_KEY": "sk-..."
      }
    }
  }
}

Desarrollo local (ajusta la ruta; --env-file-if-exists=.env carga .env de forma nativa):

{
  "mcpServers": {
    "vision-mcp": {
      "command": "node",
      "args": ["--env-file-if-exists=.env", "/absolute/path/to/vision-mcp/dist/index.js"],
      "env": {
        "OPENAI_API_KEY": "sk-..."
      }
    }
  }
}

Con argumentos de inicio (anula los valores predeterminados del proveedor mediante argv, ver más abajo):

{
  "mcpServers": {
    "vision-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@inferai/vision-mcp",
        "--default-provider=dashscope",
        "--siliconflow-api-key=sk-...",
        "--siliconflow-model=Qwen/Qwen2.5-VL-7B-Instruct"
      ],
      "env": {
        "DASHSCOPE_API_KEY": "sk-..."
      }
    }
  }
}

Notas sobre stdio:

  • stdout solo transporta el protocolo MCP — el servidor nunca imprime registros ahí; los diagnósticos van a stderr

  • el cliente gestiona el ciclo de vida del proceso (inicio al arrancar, terminación al salir); no se necesita demonio

  • la primera ejecución de npx descarga el paquete y puede tardar unos segundos

  • las variables de entorno también pueden provenir del shell si el cliente las hereda (sin necesidad de bloque env)

Depura con MCP Inspector:

pnpm dlx @modelcontextprotocol/inspector node dist/index.js --xxx-api-key=xxx --xxx2-api-key=xxx

Configuración de variables

  1. Bloque env de la configuración MCP (recomendado, el más fiable entre plataformas) — escribe las variables en el objeto env anterior

  2. Archivo .env (desarrollo local) — copia .env.example a .env, complétalo y luego ejecuta node --env-file-if-exists=.env dist/index.js (nativo en Node 22, sin necesidad de dotenv)

  3. Exportación en el shell — export OPENAI_API_KEY=sk-xxx y luego ejecuta

Los proveedores sin claves aparecen como no disponibles en list_providers e informan de la variable que falta al ser llamados.

Publicación (antes de que funcione npx)

pnpm publish          # or pnpm release (changeset flow)

Variables de entorno

El API_KEY, BASE_URL y MODEL de cada proveedor admiten anulaciones mediante variables de entorno (convención: <PROVIDER_PREFIX>_API_KEY / <PROVIDER_PREFIX>_BASE_URL / <PROVIDER_PREFIX>_MODEL):

Proveedor

Variables de entorno

Modelo predeterminado

OpenAI

OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL

gpt-4o

Anthropic

ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, ANTHROPIC_MODEL

claude-sonnet-4-5

Google Gemini

GEMINI_API_KEY, GEMINI_BASE_URL, GEMINI_MODEL

gemini-2.5-flash

Alibaba DashScope

DASHSCOPE_API_KEY, DASHSCOPE_BASE_URL, DASHSCOPE_MODEL

qwen-vl-max

Zhipu

ZHIPU_API_KEY, ZHIPU_BASE_URL, ZHIPU_MODEL

glm-4v-flash (gratuito)

Volcengine Doubao

VOLCENGINE_ARK_API_KEY, VOLCENGINE_ARK_BASE_URL, VOLCENGINE_ARK_MODEL

doubao-1.5-vision-pro

Baidu Qianfan

QIANFAN_API_KEY, QIANFAN_SECRET_KEY, QIANFAN_BASE_URL, QIANFAN_MODEL

ernie-4.5-vl-8k

StepFun

STEPFUN_API_KEY, STEPFUN_BASE_URL, STEPFUN_MODEL

step-1v

Ollama (local)

OLLAMA_BASE_URL, OLLAMA_MODEL

— (sin valor predeterminado integrado; deben configurarse endpoint y modelo)

Alibaba Bailian

BAILIAN_API_KEY, BAILIAN_BASE_URL (modo compatible con DashScope por defecto), BAILIAN_MODEL

qwen-vl-max

SiliconFlow

SILICONFLOW_API_KEY, SILICONFLOW_BASE_URL (por defecto https://api.siliconflow.cn/v1), SILICONFLOW_MODEL

Qwen/Qwen2.5-VL-72B-Instruct

OpenRouter

OPENROUTER_API_KEY, OPENROUTER_BASE_URL (por defecto https://openrouter.ai/api/v1), OPENROUTER_MODEL

openai/gpt-4o

Compatible personalizado

OPENAI_COMPAT_BASE_URL, OPENAI_COMPAT_API_KEY?, OPENAI_COMPAT_MODEL

—

? = opcional (tiene un valor predeterminado integrado); * = obligatorio.

Configuración global:

Variable de entorno

Valor predeterminado

Descripción

VISION_MCP_DEFAULT_PROVIDER

primer disponible

Proveedor predeterminado

VISION_MCP_DEFAULT_MODEL

predeterminado del proveedor

Modelo predeterminado

VISION_MCP_PROVIDER_PRIORITY

orden de la tabla

Prioridad de proveedores (separada por comas, mayor primero, p. ej. openai,dashscope,zhipu)

VISION_MCP_MAX_RETRIES

0 (desactivado)

Número de reintentos por proveedor antes de pasar al respaldo

VISION_MCP_MAX_FALLBACKS

0 (desactivado)

Número máximo de respaldos de proveedor antes de rendirse

VISION_MCP_MAX_IMAGE_BYTES

20 MB

Límite de tamaño de imagen

VISION_MCP_TIMEOUT_MS

60000

Tiempo de espera de descarga y solicitud (ms)

Cadena de respaldo

Cuando hay varios proveedores disponibles, las llamadas recorren la cadena de prioridad: predeterminado configurado → lista VISION_MCP_PROVIDER_PRIORITY → orden de la tabla (los proveedores no disponibles se omiten).

  • cada proveedor se reintenta hasta VISION_MCP_MAX_RETRIES veces ante errores del proveedor (fallos del servicio ascendente, tiempos de espera)

  • cuando un proveedor agota sus reintentos, se prueba el siguiente proveedor disponible de la cadena, hasta VISION_MCP_MAX_FALLBACKS respaldos

  • solo los errores del proveedor activan reintento/respaldo; los errores de configuración o de imagen fallan rápidamente

  • un argumento provider solicitado explícitamente se prueba solo (sin respaldo)

  • cuando todo falla, el error enumera cada proveedor intentado y su último error

También disponible como argv: --provider-priority=..., --max-retries=N, --max-fallbacks=N (superan a las variables de entorno).

Argumentos de inicio de MCP (argv)

El apiKey / baseUrl / model de cada proveedor se puede anular mediante argumentos de inicio (prioridad superior a las variables de entorno), formato --<provider>-<field>:

node dist/index.js \
  --openai-api-key=sk-xxx \
  --openai-base-url=https://my-gateway.example.com/v1 \
  --openai-model=gpt-4o-mini \
  --dashscope-api-key=sk-xxx \
  --default-provider=dashscope
  • Global: --default-provider <nombre> / --default-model <nombre>

  • Por proveedor: --<provider>-api-key, --<provider>-base-url, --<provider>-model (funcionan tanto con signo igual como con espacio)

  • Cualquier servicio de terceros compatible con OpenAI: conéctalo en una línea con --openai-compat-base-url + --openai-compat-api-key + --openai-compat-model; o apunta el base-url de cualquier proveedor integrado a un espejo/proxy

Prioridad: argumentos de herramienta provider/model > argumentos de inicio (por proveedor > predeterminado global) > variables de entorno > valores predeterminados integrados del proveedor.

Herramientas

Herramienta

Argumentos

Descripción

analyze_image

image*, prompt?, provider?, model?

Análisis general de imágenes

describe_image

image*, provider?, model?

Describe el contenido de la imagen (instrucción predeterminada)

ocr_image

image*, language? (auto/zh/en/zh-en), provider?, model?

OCR, conservando el diseño

list_providers

—

Lista de proveedores y estado de configuración

image acepta: ruta local / URL http(s):// / URI data: / base64 sin procesar, detectado automáticamente.

Nota de seguridad: las descargas por URL están protegidas contra SSRF — cada salto (incluidas las redirecciones) se valida y las URL que resuelven a direcciones loopback, privadas o link-local se bloquean (la pista en el error explica el motivo).

Integración de proveedores (cadena de respaldo de tres niveles)

proveedor

Integración

Notas

openai / stepfun / ollama / bailian / siliconflow / openrouter / openai-compat

Adaptador compatible con OpenAI (openai SDK)

Un adaptador, baseURL configurable

anthropic

SDK oficial @anthropic-ai/sdk

mensajes + bloque de contenido de imagen

gemini

SDK oficial @google/generative-ai

generateContent + inlineData

dashscope

fetch nativo

el paquete npm oficial no tiene visión; API directa de generación multimodal

zhipu

fetch nativo

el SDK oficial solo acepta contenido de cadena; API v4 directa

volcengine

fetch nativo

el openapi oficial es un plano de gestión; API Ark directa

qianfan

fetch nativo

el SDK oficial es solo de cadenas; AK/SK → token → API v2

Añadir un proveedor: para endpoints compatibles con OpenAI, añade una fila a RULES en src/core/config.ts y una asignación en la tabla de fábrica en src/index.ts — cero código nuevo. Implementaciones con SDK oficial o fetch nativo: consulta SPEC §1.

Desarrollo

pnpm check        # biome checks
pnpm test         # rstest unit tests (injected mocks, no network)
pnpm build        # rslib build

Pruebas de humo con llamadas reales (solo se ejecutan contra proveedores cuyas claves están configuradas; se omiten en caso contrario):

OPENAI_API_KEY=sk-... pnpm exec rstest tests/e2e

Arquitectura

src/
├── index.ts            # Entry: composition root, stdio startup
├── core/               # Abstraction: interfaces / image loading / config / registry
├── providers/          # Adapters: official SDK or compatible endpoints, protocol conversion only
└── server/tools.ts     # MCP tool layer: zod validation + error mapping

Especificación completa: SPEC.md.

Available Tools

4 tools
analyze_imageA

Analyze one or more images with a vision model and return the text result. Accepts 1 to 9 images (local path, URL, data URI, or base64; types can be mixed). Pass several images to compare, diff, or combine them — the model sees them in the given order. Use for reading screenshots, photos, charts, UI states, document pages, etc.

NameRequiredDescriptionDefault
modelNoModel name, overrides the provider default model
imagesYesOne image, or an array of up to 9 images. Each entry: local path / http(s):// URL / data: URI / raw base64 string; types can be mixed. Pass multiple images to compare, diff, or combine them (e.g. before/after pairs, several charts) — order matters.
promptNoAnalysis instruction; defaults to a detailed description of the image(s)
providerNoProvider name (e.g. openai / dashscope / zhipu / ollama); defaults to the configured default

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It does a good job: it mentions the ability to handle 1-9 images, supports multiple formats (local path, URL, data URI, base64), and clarifies that order is preserved and images can be compared/diffed. This goes beyond what one might assume and helps the agent anticipate multi-image behavior. However, it does not mention any potential failure modes, rate limits, or other operational details that could be relevant, though these may not be necessary for this tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is exceptionally concise—two sentences that efficiently convey the core purpose, input capabilities, and typical use cases. It is front-loaded with the primary function and does not contain redundant or explanatory fluff. Every clause adds value, and the structure flows naturally from what it does to how it behaves with multiple inputs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with four parameters, no nested objects, and no output schema, the description covers the essential aspects: input types, count limits, ordering, and example use cases. It gives the agent enough to invoke the tool correctly for common scenarios. It does not explain when to prefer this over describe_image or ocr_image, which could be considered a completeness gap given those siblings exist, but the description still stands on its own as a complete usage guide for the tool itself.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, and the schema itself already thoroughly explains the parameters, including the images format, the order-preservation nuance, and the default prompt behavior. The tool description adds little beyond what the schema states. For instance, the description's note about 'compare, diff, or combine' is a rephrasing of the schema's 'compare, diff, or combine' text. Since the schema covers this ground, the description meets the baseline but does not add substantial new meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Analyze one or more images with a vision model and return the text result.' It specifies a verb (analyze) and a resource (images), and indicates the output (text). However, it does not differentiate from the siblings describe_image and ocr_image, which likely serve overlapping purposes. For example, it does not explain how analyze_image is distinct from describe_image beyond the multi-image capability.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool, listing use cases such as 'reading screenshots, photos, charts, UI states, document pages, etc.' This gives an agent a good sense of appropriate scenarios. However, it does not explicitly mention alternatives or exclusions, such as 'use describe_image for single images' or 'use ocr_image for text extraction only,' so the guidance is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

describe_imageA

Describe the image content: subject, layout, text, details. Accepts 1 to 9 images; each image is described in the given order. Equivalent to analyze_image with the default description instruction.

NameRequiredDescriptionDefault
modelNoModel name, overrides the provider default model
imagesYesOne image, or an array of up to 9 images. Each entry: local path / http(s):// URL / data: URI / raw base64 string; types can be mixed. Pass multiple images to compare, diff, or combine them (e.g. before/after pairs, several charts) — order matters.
providerNoProvider name (e.g. openai / dashscope / zhipu / ollama); defaults to the configured default

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description provides limited behavioral info. It states that it accepts 1–9 images and preserves order, which is useful, but does not mention side effects, authentication, rate limits, or error handling. Since it's a descriptive read operation, the risk is low, but transparency is incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences convey the core function, parameter limits, and ordering behavior without fluff. The information is front-loaded and efficiently structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description implies text output via 'Describe the image content'. It covers the input constraints and purpose adequately. While it doesn't specify return format, that is not critical for a description task, and the context is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the images parameter: 'Pass multiple images to compare, diff, or combine them (e.g. before/after pairs, several charts) — order matters.' This enriches understanding beyond the schema's generic descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Describe') and resource ('image content') with explicit scope (subject, layout, text, details). It also distinguishes from siblings by noting it is 'Equivalent to analyze_image with the default description instruction', which clarifies its relationship to a similar tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by mentioning equivalence to analyze_image, suggesting that custom instructions would require analyze_image. However, it does not explicitly state when to use this tool over ocr_image or list_providers, leaving some ambiguity. Still, the core use case is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_providersA

List all registered vision model providers, their default models, and configuration status. Providers without keys will error when called.

NameRequiredDescriptionDefault

No parameters

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

There are no annotations, so the description carries full burden. It mentions that providers without keys will error when called, which is a useful behavioral warning. However, it doesn't disclose potential side effects (though listing is read-only, it could be mistaken), nor does it explain implications of configuration status, but the warning is a positive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, extremely concise, and front-loaded with the core action (list all providers) and output details. Every sentence provides value: the second clarifies error behavior. No redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (no parameters, no output schema, no annotations), the description covers key aspects: what it lists, the error condition. It lacks explicit mention of the exact return format or whether it includes provider IDs, but for a list tool, this is largely sufficient. A minor gap is not specifying if it returns configuration status as structured data or human-readable text.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so there are no parameter semantics to explain. The description focuses on the output content (default models, configuration status), which is sufficient. With no parameters, a baseline of 4 is appropriate as the description adds meaning about the result.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists all registered vision model providers, including their default models and configuration status. It distinguishes itself from sibling tools (analyze/describe/ocr) which are image-related operations, though it doesn't explicitly compare.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description doesn't explicitly state when to use this tool vs alternatives, but the purpose is clear enough that an agent would know it's for listing providers, not image analysis. It conveys usage context implicitly by listing what it returns, but no explicit exclusions or alternative tool references.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ocr_imageA

OCR: transcribe all text in the image(s), preserving reading order and paragraph structure. Accepts 1 to 9 images; transcripts follow the given order. Suitable for screenshots, scans, invoices, slides, etc.

NameRequiredDescriptionDefault
modelNoModel name, overrides the provider default model
imagesYesOne image, or an array of up to 9 images. Each entry: local path / http(s):// URL / data: URI / raw base64 string; types can be mixed. Pass multiple images to compare, diff, or combine them (e.g. before/after pairs, several charts) — order matters.
languageNoRecognition language; defaults to auto
providerNoProvider name (e.g. openai / dashscope / zhipu / ollama); defaults to the configured default

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden and does disclose meaningful behavior: preserving reading order and paragraph structure, accepting 1–9 images, and returning transcripts in the given order. It does not mention output format or error behavior, but the core read-only transcription behavior is well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the core action front-loaded. Every sentence earns its place, and there is no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose, input limits, ordering, and typical use cases, which is sufficient for an agent to select and invoke the tool. Since there is no output schema, a brief note on return format would improve completeness, but this is a minor gap for a simple OCR tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description reinforces image order and count, which the schema already documents, but adds no parameter-level meaning for model, language, or provider beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('transcribe all text') and resource ('image(s)'), and adds output characteristics (reading order, paragraph structure). This clearly distinguishes it from sibling tools like analyze_image and describe_image.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete use cases (screenshots, scans, invoices, slides) but does not explicitly state when to choose this tool over analyze_image or describe_image, nor when not to use it. The differentiation is implied by the OCR action rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.1.1
    • Changedanalyze_image4 fields changed
      • removedInput schema / properties / image
        Removed value: -{
        -  "description": "Image: local path / http(s):// URL / data: URI / raw base64 string",
        -  "minLength": 1,
        -  "type": "string"
        -}
      • addedInput schema / properties / images
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "local path / http(s):// URL / data: URI / raw base64 string",
        +      "minLength": 1,
        +      "type": "string"
        +    },
        +    {
        +      "description": "Array of 9 images max; order is preserved when the model sees them",
        +      "items": {
        +        "description": "local path / http(s):// URL / data: URI / raw base64 string",
        +        "minLength": 1,
        +        "type": "string"
        +      },
        +      "maxItems": 9,
        +      "minItems": 1,
        +      "type": "array"
        +    }
        +  ],
        +  "description": "One image, or an array of up to 9 images. Each entry: local path / http(s):// URL / data: URI / raw base64 string; types can be mixed. Pass multiple images to compare, diff, or combine them (e.g. before/after pairs, several charts) — order matters."
        +}
      • changedInput schema / properties / prompt / description
        Previous value: -"Analysis instruction; defaults to a detailed description"New value: +"Analysis instruction; defaults to a detailed description of the image(s)"
      • changedInput schema / required
        Previous value: -[
        -  "image"
        -]New value: +[
        +  "images"
        +]
    • Changeddescribe_image3 fields changed
      • removedInput schema / properties / image
        Removed value: -{
        -  "description": "Image: local path / http(s):// URL / data: URI / raw base64 string",
        -  "minLength": 1,
        -  "type": "string"
        -}
      • addedInput schema / properties / images
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "local path / http(s):// URL / data: URI / raw base64 string",
        +      "minLength": 1,
        +      "type": "string"
        +    },
        +    {
        +      "description": "Array of 9 images max; order is preserved when the model sees them",
        +      "items": {
        +        "description": "local path / http(s):// URL / data: URI / raw base64 string",
        +        "minLength": 1,
        +        "type": "string"
        +      },
        +      "maxItems": 9,
        +      "minItems": 1,
        +      "type": "array"
        +    }
        +  ],
        +  "description": "One image, or an array of up to 9 images. Each entry: local path / http(s):// URL / data: URI / raw base64 string; types can be mixed. Pass multiple images to compare, diff, or combine them (e.g. before/after pairs, several charts) — order matters."
        +}
      • changedInput schema / required
        Previous value: -[
        -  "image"
        -]New value: +[
        +  "images"
        +]
    • Changedocr_image3 fields changed
      • removedInput schema / properties / image
        Removed value: -{
        -  "description": "Image: local path / http(s):// URL / data: URI / raw base64 string",
        -  "minLength": 1,
        -  "type": "string"
        -}
      • addedInput schema / properties / images
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "local path / http(s):// URL / data: URI / raw base64 string",
        +      "minLength": 1,
        +      "type": "string"
        +    },
        +    {
        +      "description": "Array of 9 images max; order is preserved when the model sees them",
        +      "items": {
        +        "description": "local path / http(s):// URL / data: URI / raw base64 string",
        +        "minLength": 1,
        +        "type": "string"
        +      },
        +      "maxItems": 9,
        +      "minItems": 1,
        +      "type": "array"
        +    }
        +  ],
        +  "description": "One image, or an array of up to 9 images. Each entry: local path / http(s):// URL / data: URI / raw base64 string; types can be mixed. Pass multiple images to compare, diff, or combine them (e.g. before/after pairs, several charts) — order matters."
        +}
      • changedInput schema / required
        Previous value: -[
        -  "image"
        -]New value: +[
        +  "images"
        +]
  2. 4 tool updatesv1.0.0
    • First observedanalyze_image
    • First observeddescribe_image
    • First observedlist_providers
    • First observedocr_image

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation2/5

analyze_image, describe_image, and ocr_image all accept the same input and return text results. describe_image is explicitly described as equivalent to analyze_image with a default instruction, and ocr_image is just a specialized prompt variant. This creates significant overlap and makes it unclear when to choose one over another. Only list_providers is clearly distinct.

Naming Consistency4/5

All tool names use snake_case with a verb-first pattern: analyze_image, list_providers, describe_image, ocr_image. The only minor deviation is ocr_image using an acronym instead of a plain verb, but it still fits the pattern. Overall, naming is predictable and consistent.

Tool Count3/5

With only 4 tools, the server is on the low end of the typical range. However, 3 of the 4 tools essentially perform the same task with different prompt variations, so the effective functionality is even more limited. The count feels padded rather than well-scoped, and could be reduced to just analyze_image and list_providers without loss.

Completeness4/5

The server covers the core functionality of image analysis, including general analysis, description, and OCR, plus provider list management. Since analyze_image is generic and accepts multiple images for comparison, it covers most basic vision tasks. Minor gaps include lack of explicit model management or configuration tools, but list_providers partially addresses this.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for analyzing images using multiple vision LLM providers (OpenCode, OpenAI, Anthropic, Google, and custom OpenAI-compatible endpoints). Provides tools to analyze single or multiple images, list providers, and test vision capabilities.
    MIT