Skip to main content
Glama
Florence-2 MCP Server

Florence-2 MCP Server

by jkawamoto

Florence-2 MCP-Server

Python-Anwendung GitHub-Lizenz Vorab-Commit Halskrause Schmiedeabzeichen

Ein MCP-Server zur Bildverarbeitung mit Florence-2 .

Sie können auf einem lokalen oder Webserver gespeicherte Bilder oder PDF-Dateien verarbeiten, um mithilfe von OCR (Optical Character Recognition) Text zu extrahieren oder beschreibende Bildunterschriften zu generieren, die den Inhalt der Bilder zusammenfassen.

Installation

Für Claude Desktop

Um diesen Server für Claude Desktop zu konfigurieren, bearbeiten Sie die Datei claude_desktop_config.json mit dem folgenden Eintrag unter mcpServers :

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

Starten Sie die Anwendung nach der Bearbeitung neu. Weitere Informationen finden Sie unter: Für Claude Desktop-Benutzer – Model Context Protocol .

Für Goose CLI

Um die Bear-Erweiterung in Goose CLI zu aktivieren, bearbeiten Sie die Konfigurationsdatei ~/.config/goose/config.yaml um den folgenden Eintrag einzufügen:

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

Für Goose Desktop

Fügen Sie eine neue Erweiterung mit den folgenden Einstellungen hinzu:

  • Typ : Standard-IO

  • ID : florence-2

  • Name : Florenz-2

  • Beschreibung : Ein MCP-Server zur Bildverarbeitung mit Florence-2

  • Befehl : uvx --from git+https://github.com/jkawamoto/mcp-florence2 mcp-florence2

Weitere Einzelheiten zum Konfigurieren von MCP-Servern in Goose Desktop finden Sie in der Dokumentation: Verwenden von Erweiterungen – MCP-Server .

Related MCP server: 🪄 ImageSorcery MCP

Werkzeuge

OCR

Verarbeiten Sie eine Bilddatei oder URL mit OCR, um Text zu extrahieren.

Argumente:

  • src : Ein Dateipfad oder eine URL zur Bilddatei, die verarbeitet werden muss.

Untertitel

Verarbeitet eine Bilddatei und generiert Beschriftungen für das Bild.

Argumente:

  • src : Ein Dateipfad oder eine URL zur Bilddatei, die verarbeitet werden muss.

Lizenz

Diese Anwendung ist unter der MIT-Lizenz lizenziert. Weitere Informationen finden Sie in der Datei 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