Since we are pulling the list of Python versions in the README badge from PyPi we need to ensure we correctly reflect all supported versions.
74 lines
1.8 KiB
TOML
74 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mcp"
|
|
version = "1.0.0.dev0"
|
|
description = "Model Context Protocol implementation for Python"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
authors = [{ name = "Anthropic, PBC." }]
|
|
maintainers = [
|
|
{ name = "David Soria Parra", email = "davidsp@anthropic.com" },
|
|
{ name = "Justin Spahr-Summers", email = "justin@anthropic.com" },
|
|
]
|
|
keywords = ["git", "mcp", "llm", "automation"]
|
|
license = { text = "MIT" }
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"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",
|
|
"Programming Language :: Python :: 3.13",
|
|
]
|
|
dependencies = [
|
|
"anyio>=4.6",
|
|
"httpx>=0.27",
|
|
"httpx-sse>=0.4",
|
|
"pydantic>=2.8.0",
|
|
"starlette>=0.39",
|
|
"sse-starlette>=2.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://modelcontextprotocol.io"
|
|
Documentation = "https://modelcontextprotocol.io/api-reference/"
|
|
Repository = "https://github.com/modelcontextprotocol/python-sdk"
|
|
Issues = "https://github.com/modelcontextprotocol/python-sdk/issues"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/mcp"]
|
|
|
|
[tool.pyright]
|
|
include = ["src/mcp", "tests"]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I"]
|
|
ignore = []
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"]
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"pyright>=1.1.378",
|
|
"pytest>=8.3.3",
|
|
"ruff>=0.6.9",
|
|
"trio>=0.26.2",
|
|
]
|
|
|
|
[tool.uv.workspace]
|
|
members = ["examples/servers/*"]
|
|
|
|
[tool.uv.sources]
|
|
mcp = { workspace = true }
|