Skip to main content
Glama
Florence-2 MCP Server

Florence-2 MCP Server

by jkawamoto

MCP-сервер Florence-2

Приложение Python Лицензия GitHub предварительное обязательство Рафф значок кузнеца

MCP-сервер для обработки изображений с использованием Florence-2 .

Вы можете обрабатывать изображения или PDF-файлы, хранящиеся на локальном или веб-сервере, для извлечения текста с помощью OCR (оптического распознавания символов) или создания описательных подписей, обобщающих содержимое изображений.

Установка

Для рабочего стола Клода

Чтобы настроить этот сервер для Claude Desktop, отредактируйте файл claude_desktop_config.json , добавив в mcpServers следующую запись:

{
  "mcpServers": {
    "florence-2": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/jkawamoto/mcp-florence2",
        "mcp-florence2"
      ]
    }
  }
}

После редактирования перезапустите приложение. Для получения дополнительной информации см.: Для пользователей Claude Desktop - Model Context Protocol .

Для Goose CLI

Чтобы включить расширение Bear в Goose CLI, отредактируйте файл конфигурации ~/.config/goose/config.yaml , включив в него следующую запись:

extensions:
  bear:
    name: Florence-2
    cmd: uvx
    args: [ --from, git+https://github.com/jkawamoto/mcp-florence2, mcp-florence2 ]
    enabled: true
    type: stdio

Для рабочего стола Goose

Добавьте новое расширение со следующими настройками:

  • Тип : Стандартный ввод-вывод

  • ID : florence-2

  • Имя : Флоренция-2

  • Описание : MCP-сервер для обработки изображений с использованием Florence-2

  • Команда : uvx --from git+https://github.com/jkawamoto/mcp-florence2 mcp-florence2

Более подробную информацию о настройке серверов MCP в Goose Desktop можно найти в документации: Использование расширений — серверы MCP .

Related MCP server: 🪄 ImageSorcery MCP

Инструменты

ocr

Обработайте файл изображения или URL-адрес с помощью OCR для извлечения текста.

Аргументы:

  • src : путь к файлу или URL-адрес файла изображения, который необходимо обработать.

подпись

Обрабатывает файл изображения и генерирует подписи к изображению.

Аргументы:

  • src : путь к файлу или URL-адрес файла изображения, который необходимо обработать.

Лицензия

Это приложение лицензировано по лицензии MIT. Подробнее см. в файле LICENSE .

Available Tools

3 tools
captionA

Processes an image file and generates captions for the image.

Inputs: src (required). Returns: result

ocrB

Process an image file or URL using OCR to extract text.

Inputs: src (required). Returns: result

processB

Processes an image file with a custom prompt using the Florence-2 model.

Inputs: src (required), prompt (required). Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 3 tools

    Disambiguation3/5

    The 'process' tool is generic and overlaps with 'caption', as captioning is a specific use case that could be handled by process. 'ocr' is distinct. The descriptions help clarify intended use, but the boundary between process and caption is not fully clear.

    Naming Consistency4/5

    All tools use a single lowercase verb (process, caption, ocr), which is consistent in style. However, the lack of noun objects (e.g., 'process_image' vs 'process') makes them slightly less predictable, but the pattern is uniform.

    Tool Count4/5

    With 3 tools, the server is on the lighter side but within a reasonable range for a focused vision model server. It covers the core capabilities without being bloated, though it could benefit from a few more specialized tools.

    Completeness3/5

    The tools cover generic processing, captioning, and OCR, but Florence-2 supports many other vision tasks (e.g., object detection, segmentation, grounding) that are not exposed. The generic 'process' tool mitigates some gaps, but the surface feels incomplete for the model's full potential.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers