[project]
name = "mcp-shared"
version = "0.1.0"
description = "Shared Streamable HTTP transport + bearer middleware for in-house Python MCP servers."
requires-python = ">=3.10"
dependencies = [
  # streamable_http_manager + handle_request + run() require mcp>=1.6
  "mcp>=1.6.0",
  "starlette>=0.37",
  "uvicorn>=0.30",
]

[project.optional-dependencies]
test = [
  "pytest>=8",
  "httpx>=0.27",
  "pytest-asyncio>=0.23",
]

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["mcp_shared"]
package-dir = {"mcp_shared" = "."}
