[project]
name = "cadquery-mcp-server"
version = "0.1.0"
description = "MCP Server for CAD Verification with CadQuery"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "CadQuery MCP Server"}
]
keywords = ["mcp", "cadquery", "cad", "verification", "3d", "modeling"]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
]
dependencies = [
"cadquery-cli",
"transformers",
"torch",
"mcp",
"openai>=1.93.0",
]
[project.scripts]
cadquery-mcp-server = "server:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["server*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.ruff]
target-version = "py311"
line-length = 88
[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
"B008", # do not perform function calls in argument defaults
]
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.hatch.metadata]
allow-direct-references = true
[tool.uv]
required-environments = [
"sys_platform == 'darwin' and platform_machine == 'arm64'"
]
[tool.uv.sources]
cadquery-cli = { git = "https://github.com/CadQuery/cq-cli.git" }
[dependency-groups]
dev = [
"ruff>=0.12.0",
]