Skip to main content

An MCP server for processing images using Florence-2

Project description

Florence-2 MCP Server

Python Application GitHub License pre-commit Ruff smithery badge

An MCP server for processing images using Florence-2.

You can process images or PDF files stored on a local or web server to extract text using OCR (Optical Character Recognition) or generate descriptive captions summarizing the content of the images.

Installation

For Claude Desktop

To configure this server for Claude Desktop, edit the claude_desktop_config.json file with the following entry under mcpServers:

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

After editing, restart the application. For more information, see: For Claude Desktop Users - Model Context Protocol.

For Goose CLI

To enable the Bear extension in Goose CLI, edit the configuration file ~/.config/goose/config.yaml to include the following entry:

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

For Goose Desktop

Add a new extension with the following settings:

  • Type: Standard IO
  • ID: florence-2
  • Name: Florence-2
  • Description: An MCP server for processing images using Florence-2
  • Command: uvx --from git+https://github.com/jkawamoto/mcp-florence2 mcp-florence2

For more details on configuring MCP servers in Goose Desktop, refer to the documentation: Using Extensions - MCP Servers.

Tools

ocr

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

Arguments:

  • src: A file path or URL to the image file that needs to be processed.

caption

Processes an image file and generates captions for the image.

Arguments:

  • src: A file path or URL to the image file that needs to be processed.

License

This application is licensed under the MIT License. See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_mcp_florence2-0.3.1.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_mcp_florence2-0.3.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mcp_florence2-0.3.1.tar.gz.

File metadata

  • Download URL: mseep_mcp_florence2-0.3.1.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_mcp_florence2-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6d0d2c101c067ae117bf0a126bfefc9dbaad3458f6036f0bffc23a419ed993b4
MD5 e5434244a9d96c960d5d690954901e04
BLAKE2b-256 16a84987906d4d160dede038759d076a6e77089b89ff66bc8d048f11ffcdd5f0

See more details on using hashes here.

File details

Details for the file mseep_mcp_florence2-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_florence2-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fff47a2837bf0ba4ff46a768e679ab8ee7efd59d03baffffa09fc25f5f369dab
MD5 91cb49d4a17bb04f839424e7c283d21f
BLAKE2b-256 f54bfde8b18c43325d98be35c325db2382f340459bce529564b9d0788077ffa4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page