-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
157 lines (137 loc) · 3.66 KB
/
pyproject.toml
File metadata and controls
157 lines (137 loc) · 3.66 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "mcpstack"
dynamic = ["version"]
description = "MCPStack: a generic, composable stack for building and running MCP tool pipelines."
requires-python = ">=3.10"
authors = [
{ name = "Provost Simon", email = "sgp29@kent.ac.uk" },
]
readme = "README.md"
license = "MIT"
keywords = ["mcp", "model-context-protocol", "pipelines", "llm", "tooling", "cli", "scikit-learn-pipelines"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"fastmcp>=0.1.0",
"beartype>=0.21.0",
"thefuzz>=0.22.1",
"rich-pyfiglet>=0.1.4",
"click==8.1.8",
"pytest-cov>=6.2.1",
]
[project.optional-dependencies]
# Optional extras for external tools that may be plugged into MCPStack.
# Keep the core lightweight; tool-specific deps live here or in their own projects.
devtools = [
"appdirs>=1.4.0",
"pyaml>=25.7.0",
]
[dependency-groups]
dev = [
"ruff>=0.4.0",
"pre-commit>=3.0.0",
"pytest>=7.4.0",
"pytest-asyncio>=0.23.0",
"pytest-mock>=3.10.0",
"aiohttp>=3.8.0",
"pytest-cov>=6.2.1",
"mkdocs-material-extensions==1.3.1",
"mkdocs-minify-plugin==0.8.0",
"markdown-callouts>=0.4",
"markdown-exec>=1.8",
"mkdocs>=1.6.1",
"mkdocs-coverage>=1.0",
"mkdocs-gen-files>=0.5",
"mkdocs-git-revision-date-localized-plugin>=1.2",
"mkdocs-literate-nav>=0.6",
"mkdocs-minify-plugin>=0.8",
"mkdocstrings[python]>=0.25",
"tomli>=2.0; python_version < '3.11'",
"mkdocstrings-python>=1.16.10",
"mkdocs-jupyter>=0.25.1",
"pymdown-extensions>=10.14.3",
"mkdocs-material[emoji,imaging]>=9.6.11",
"mkdocs-document-dates>=3.1.5",
"mkdocs-glightbox>=0.4.0",
]
mcp_tools = [
# Add any MCPStack MCP supported tools of interest here. `uv sync --group mcp_tools`
]
[project.scripts]
mcpstack = "MCPStack.cli:main_cli"
mcpstack-mcp-server = "MCPStack.core.server:main"
[project.urls]
Homepage = "https://github.com/MCP-Pipeline/"
Repository = "https://github.com/MCP-Pipeline/MCPStack"
Documentation = "https://github.com/MCP-Pipeline/MCPStack"
Issues = "https://github.com/MCP-Pipeline/MCPStack/issues"
Changelog = "https://github.com/MCP-Pipeline/MCPStack/releases"
[tool.pdm.version]
source = "file"
path = "src/MCPStack/__init__.py"
[tool.ruff]
line-length = 88
target-version = "py310"
src = ["src"]
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"UP",
"RUF",
"B",
"C4",
]
ignore = [
"E501", "F821", "B027", "RUF001"
]
[tool.ruff.format]
[tool.ruff.lint.isort]
known-first-party = ["MCPStack"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
filterwarnings = [
"ignore::DeprecationWarning:jupyter_client.*",
]
[tool.coverage.paths]
source = [
"src/MCPStack",
]
[tool.coverage.run]
branch = true
omit = [
"src/MCPStack/**/base.py",
"src/MCPStack/**/__init__.py",
"tests/**",
]
[tool.coverage.report]
exclude_also = [
"def __repr__",
"if self\\.debug",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"@(abc\\.)?abstractmethod",
]
ignore_errors = true
[tool.coverage.html]
directory = "coverage_html_report"