Florence-2 MCP Server
フローレンス-2 MCP サーバー
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: stdioGooseデスクトップ用
次の設定で新しい拡張機能を追加します。
タイプ: 標準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 toolscaptionA
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
Scored across 3 tools
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.
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.
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.
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
Related MCP Connectors
MCP server for Qwen Image 3 AI image generation
MCP server for Flux AI image generation
MCP server for Wan AI video generation
MCP server for Grok Imagine AI video generation
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server for analyzing images using OpenRouter vision models, offering capabilities like automatic image resizing, model configuration, and handling custom queries about images.11MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server providing tools for image processing operations147 PyPI339PythonMIT
- FlicenseBqualityCmaintenanceAn MCP server that provides image generation capabilities using Google's Gemini 2.5 Flash Image Preview model.2-
- FlicenseNot gradedqualityDmaintenanceMCP server for generating and editing images using gpt-image-2. Enables image creation, editing, listing, and retrieval via natural language tools.-