pyproject.toml•1.49 kB
[project]
name = "my-mcp-server"
version = "0.1.0"
description = "My MCP server using an API"
authors = [
{name = "Your Name", email = "your.email@example.com"},
]
readme = "README.md"
requires-python = ">=3.13"
license = {text = "MIT"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"httpx>=0.28.1",
"mcp[cli]>=1.9.0",
"fastapi>=0.111.0",
"uvicorn[standard]>=0.30.1",
"pydantic-settings>=2.3.4",
"python-dotenv>=1.0.0"
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.7.0",
"flake8>=6.1.0",
"mypy>=1.5.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
line-length = 88
target-version = ['py313']
include = '\.pyi?$'
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"
max-complexity = 18
select = "B,C,E,F,W,T4,B9"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
python_classes = ["Test*"]
asyncio_mode = "auto"
addopts = "-v --cov=src --cov-report=term-missing"
filterwarnings = ["error"]
[tool.coverage.run]
source = ["src"]
omit = ["**/__init__.py"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 80
[tool.hatch.build.targets.wheel]
packages = ["src/my_mcp_server"]