Skip to main content
Glama

Florence-2 MCP Server

pyproject.toml2.09 kB
[build-system] build-backend = "hatchling.build" requires = [ "hatchling" ] [project] name = "mcp-florence2" version = "0.3.3" description = "An MCP server for processing images using Florence-2" readme = "README.md" authors = [ { name = "Junpei Kawamoto", email = "kawamoto.junpei.s64@kyoto-u.jp" }, ] requires-python = ">=3.12" classifiers = [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Image Recognition", ] dependencies = [ "click<8.3", "dill>=0.3.9", "einops>=0.8.1", "mcp>=1.14", "pillow>=11.3", "pydantic>=2.11.9", "pypdfium2>=4.30", "requests>=2.32.3", "rich-click>=1.8.8", "timm>=1.0.15", "torch>=2.6", "transformers>=4.56", ] scripts.mcp-florence2 = "mcp_florence2.cli:main" [dependency-groups] dev = [ "bump-my-version>=1.1.1", "pre-commit>=4.2", "pre-commit-uv>=4.1.4", "pytest>=8.3.4", "types-requests>=2.32.0.20250328", ] [tool.ruff] target-version = "py312" line-length = 120 [tool.pyproject-fmt] indent = 4 [tool.bumpversion] current_version = "0.3.3" commit = true pre_commit_hooks = [ "uv sync", "git add uv.lock", ] [[tool.bumpversion.files]] filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"' [[tool.bumpversion.files]] filename = "manifest.json" search = '"version": "{current_version}"' replace = '"version": "{new_version}"' [[tool.bumpversion.files]] filename = "server.json" search = '"version": "{current_version}"' replace = '"version": "{new_version}"' [[tool.bumpversion.files]] filename = "server.json" search = 'download/v{current_version}' replace = 'download/v{new_version}' [tool.mypy] warn_return_any = true warn_unused_configs = true disallow_untyped_defs = true [[tool.mypy.overrides]] module = [ "dill", "transformers.*", "pypdfium2", ] ignore_missing_imports = true

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jkawamoto/mcp-florence2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server