pyproject.tomlā¢3.08 kB
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "snowflake-mcp-server"
version = "1.0.0"
description = "A secure MCP server for executing SQL queries against Snowflake"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Snowflake MCP Server Contributors"}
]
keywords = ["snowflake", "mcp", "model-context-protocol", "ai", "sql", "claude"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"mcp[cli]>=1.6.0",
"pandas>=2.2.3",
"snowflake>=1.2.0",
"snowflake-connector-python>=3.14.0",
"snowflake-snowpark-python>=1.30.0",
]
[project.urls]
Homepage = "https://github.com/sfc-gh-tjia/snowflake-generic-mcp"
Documentation = "https://github.com/sfc-gh-tjia/snowflake-generic-mcp#readme"
Repository = "https://github.com/sfc-gh-tjia/snowflake-generic-mcp.git"
Issues = "https://github.com/sfc-gh-tjia/snowflake-generic-mcp/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=22.0.0",
"flake8>=5.0.0",
"mypy>=1.0.0",
"pre-commit>=2.20.0",
]
[project.scripts]
snowflake-mcp-server = "snowflake_mcp_server:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["snowflake_mcp_server*"]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --strict-markers --strict-config"
testpaths = ["tests"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.coverage.run]
source = ["snowflake_mcp_server"]
omit = ["tests/*", "setup.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]