pyproject.toml•3.24 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "strands-mcp-server"
version = "0.1.3"
description = "Transform Strands Agents into MCP servers, exposing agent tools to any MCP-compatible client"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Cagatay Cali", email = "cagataycali@icloud.com"},
]
keywords = [
"strands",
"agents",
"mcp",
"model-context-protocol",
"ai",
"llm",
"tools",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"strands-agents"
]
[project.optional-dependencies]
dev = [
"strands-agents-tools",
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=4.1.0",
"black>=24.0.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
]
[project.urls]
Homepage = "https://github.com/cagataycali/strands-mcp-server"
Documentation = "https://strandsagents.com"
Repository = "https://github.com/cagataycali/strands-mcp-server"
Issues = "https://github.com/cagataycali/strands-mcp-server/issues"
[project.scripts]
strands-mcp-server = "strands_mcp_server.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["strands_mcp_server"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = [
"--strict-markers",
"--strict-config",
"-ra",
"--cov=strands_mcp_server",
"--cov-report=term-missing",
"--cov-report=html",
]
[tool.coverage.run]
source = ["strands_mcp_server"]
omit = ["*/tests/*", "*/test_*.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
]
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312", "py313"]
include = '\.pyi?$'
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
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)
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
strict_equality = true