[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fhl-bible-mcp"
version = "0.1.2"
description = "A Model Context Protocol server for Faith, Hope, Love (FHL) Bible API"
authors = [
{name = "Ytssamuel", email = "samuel3484181@gmail.com"}
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
keywords = ["mcp", "bible", "fhl", "theology", "research"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Religion",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Religion",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"mcp[cli]>=1.15.0",
"smithery>=0.4.2",
"httpx>=0.27.0",
"pydantic>=2.0.0",
"python-dotenv>=1.0.0",
"uvicorn>=0.30.0",
"starlette>=0.38.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"black>=23.0.0",
"mypy>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/ytssamuel/FHL_MCP_SERVER"
Documentation = "https://github.com/ytssamuel/FHL_MCP_SERVER/blob/main/README.md"
Repository = "https://github.com/ytssamuel/FHL_MCP_SERVER"
Issues = "https://github.com/ytssamuel/FHL_MCP_SERVER/issues"
[project.scripts]
fhl-bible-mcp = "fhl_bible_mcp.server:main"
dev = "smithery.cli.dev:main"
playground = "smithery.cli.playground:main"
# Smithery configuration - points to the server creation function
[tool.smithery]
server = "fhl_bible_mcp.smithery_server:create_server"
name = "FHL Bible MCP Server"
description = "信望愛聖經工具 MCP 伺服器 - 提供聖經查詢、原文分析、註釋、有聲聖經等功能"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = [
"--cov=fhl_bible_mcp",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-report=xml",
]
[tool.ruff]
line-length = 100
target-version = "py310"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by black)
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
include = '\.pyi?$'
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
follow_imports = "normal"
[[tool.mypy.overrides]]
module = "mcp.*"
ignore_missing_imports = true