Initial import

This commit is contained in:
David Soria Parra
2024-09-24 22:04:19 +01:00
commit 4cbf815430
33 changed files with 2986 additions and 0 deletions

34
pyproject.toml Normal file
View File

@@ -0,0 +1,34 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mcp-python"
version = "0.1.2"
description = "Model Context Protocol implementation for Python"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"anyio",
"httpx",
"httpx-sse",
"pydantic>=2.0.0",
"starlette",
"sse-starlette",
]
[tool.hatch.build.targets.wheel]
packages = ["mcp_python"]
[tool.pyright]
include = ["mcp_python", "tests"]
typeCheckingMode = "strict"
[tool.ruff]
select = ["E", "F", "I"]
ignore = []
line-length = 88
target-version = "py38"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]