Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.78 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (69 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[project]
name = "mcp2py"
dynamic = ["version"]
description = "Turn any MCP server into a Python module"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{ name = "Maxime Rivest", email = "mrive052@gmail.com" }
]
keywords = ["mcp", "model-context-protocol", "ai", "llm", "tools"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"mcp>=1.18.0", # Official MCP Python SDK
"litellm>=1.0.0", # For sampling (Phase 3)
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"mypy>=1.8.0",
"pytest-cov>=4.1.0",
]
[project.urls]
Homepage = "https://github.com/maximerivest/mcp2py"
Documentation = "https://github.com/maximerivest/mcp2py#readme"
Repository = "https://github.com/maximerivest/mcp2py"
Issues = "https://github.com/maximerivest/mcp2py/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/mcp2py/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/README.md",
"/LICENSE",
]
[tool.mypy]
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--cov=mcp2py --cov-report=term-missing"
[dependency-groups]
dev = [
"anthropic>=0.71.0",
"claudette>=0.3.6",
"dspy>=3.0.3",
"fastmcp>=2.12.4",
"ipykernel>=7.0.1",
"ipython>=9.6.0",
"jupyter>=1.1.1",
"openai>=2.5.0",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
]