[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "mcp-command-server"
version = "0.1.0"
description = "MCP Command Server with Security Layer"
requires-python = ">=3.8"
dependencies = [
"pytest>=7.0",
"pytest-asyncio",
"mcp>=1.2.0",
"aiofiles>=23.2.1",
]
[tool.pytest.ini_options]
asyncio_mode = "strict"
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v -ra -q"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["mcp_command_server*"]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-asyncio",
"pytest-cov",
"pytest-timeout",
"pytest-xdist",
"coverage",
]
# Adding linting and type checking configurations
[tool.mypy]
python_version = "3.8"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pylint.messages_control]
disable = [
"C0111", # missing-docstring
"C0103", # invalid-name
"C0330", # wrong-hanging-indentation
]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3