Skip to main content
Glama
Florence-2 MCP Server

Florence-2 MCP Server

by jkawamoto

フローレンス-2 MCP サーバー

Pythonアプリケーション GitHubライセンス 事前コミット ラフ 鍛冶屋のバッジ

Florence-2を使用して画像を処理するための MCP サーバー。

ローカル サーバーまたは Web サーバーに保存されている画像や 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デスクトップユーザー向け - モデルコンテキストプロトコル」を参照してください。

Goose CLIの場合

Goose CLI で Bear 拡張機能を有効にするには、設定ファイル~/.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デスクトップ用

次の設定で新しい拡張機能を追加します。

  • タイプ: 標準IO

  • ID : フローレンス2

  • 名前:フローレンス-2

  • 説明: Florence-2を使用して画像を処理するためのMCPサーバー

  • コマンド: uvx --from git+https://github.com/jkawamoto/mcp-florence2 mcp-florence2

Goose Desktop で MCP サーバーを構成する方法の詳細については、 「拡張機能の使用 - MCP サーバー」ドキュメントを参照してください。

Related MCP server: 🪄 ImageSorcery MCP

ツール

ocr

OCR を使用して画像ファイルまたは URL を処理し、テキストを抽出します。

引数:

  • 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