pyproject.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License in the LICENSE file at the
  6. # root of this repository, or online at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. [project]
  16. name = "mcp-materialize"
  17. version = "0.3.1"
  18. description = "A server that exposes Materialize indexes as tools over the Model Context Protocol (MCP)"
  19. readme = "README.md"
  20. requires-python = ">=3.13"
  21. authors = [
  22. {name = "Materialize Inc", email = "support@materialize.com"}
  23. ]
  24. keywords = ["materialize", "mcp", "database", "api"]
  25. dependencies = [
  26. "aiohttp>=3.11.18",
  27. "aiorwlock>=1.5.0",
  28. "fastapi>=0.115.12",
  29. "mcp>=1.10.1",
  30. "psycopg-pool>=3.2.6",
  31. "psycopg[binary]>=3.2.6",
  32. "pytest>=8.4.1",
  33. "pytest-asyncio>=1.0.0",
  34. "pyyaml>=6.0.2",
  35. "requests>=2.32.3",
  36. ]
  37. [project.scripts]
  38. mcp-materialize = "mcp_materialize:main"
  39. [build-system]
  40. requires = ["hatchling"]
  41. build-backend = "hatchling.build"
  42. [tool.hatch.build.targets.wheel]
  43. packages = ["mcp_materialize"]
  44. [tool.hatch.build]
  45. [dependency-groups]
  46. dev = [
  47. "pytest-asyncio>=0.26.0",
  48. "pytest>=8.3.5",
  49. "hatch>=1.9.4"
  50. ]
  51. [tool.ruff]
  52. line-length = 88
  53. lint.select = ["I", "UP", "F", "E"]
  54. lint.extend-select = ["E501"]