pyproject.toml•2.48 kB
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cortex-mcp"
dynamic = ["version"]
description = "MCP (Model Context Protocol) server for Cortex API integration"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Cortex", email = "aditya.bansal@cortex.io"},
]
maintainers = [
{name = "Cortex", email = "aditya.bansal@cortex.io"},
]
requires-python = ">=3.13"
keywords = ["mcp", "cortex", "api", "integration", "openapi"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13"
]
dependencies = [
"fastmcp>=1.0.0",
"httpx>=0.25.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.11.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/cortexapps/cortex-mcp"
Documentation = "https://github.com/cortexapps/cortex-mcp#readme"
Repository = "https://github.com/cortexapps/cortex-mcp"
Issues = "https://github.com/cortexapps/cortex-mcp/issues"
[project.scripts]
cortex-mcp = "server:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
exclude = ["tests*"]
[tool.black]
line-length = 88
target-version = ['py313']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.ruff]
line-length = 88
target-version = "py313"
[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
"W191", # indentation contains tabs
"W293", # blank line contains whitespace
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["S101"]
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = false
no_implicit_optional = true
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"