mcp-vision-azure mcp

v1.0.0 · MCP Tool · ai · registry.pascalai.org

Analyze images using Azure Computer Vision: object detection, OCR, face detection, image classification and captioning.

azurevisionocrimageanalysiscognitive

Input Parameters

ParameterTypeDescription
endpointrequired string Azure Computer Vision endpoint URL.
api_keyrequired string
operationrequired string One of: analyze, ocr, caption, dense_caption, tags, objects, people, smartcrop, read.
image_urloptional string
image_pathoptional string
featuresoptional array[string] Visual features: Caption, Objects, Tags, People, SmartCrops.
languageoptional string Default: en.
gender_neutraloptional boolean Default: True.

Output Fields

FieldTypeDescription
operation string
caption string
objects array[object]
tags array[object]
text string
people array[object]

Examples

OCR on image

// Input
{
  "endpoint": "https://myresource.cognitiveservices.azure.com",
  "api_key": "xxx",
  "operation": "ocr",
  "image_url": "https://example.com/receipt.jpg"
}

// Output
{
  "operation": "ocr",
  "text": "Receipt\nItem 1: $10.00\nTotal: $10.00"
}

Install & Discovery

Install

ppm install mcp-vision-azure

Get JSON Schema

GET /v1/packages/mcp-vision-azure/1.0.0/schema

Discover by keyword

GET /v1/mcp/discover?q=azure
Discovery hint: Install with ppm install mcp-vision-azure or invoke remotely via POST /v1/invoke/mcp-vision-azure on the MCP Service.

PascalAI Usage

uses toolslib;
var Tool := LoadTool('mcp-vision-azure');
var R := Tool.Call(JsonObj([]));
Writeln(R.ToJSON);