-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (90 loc) · 2.8 KB
/
pyproject.toml
File metadata and controls
101 lines (90 loc) · 2.8 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
[build-system]
requires = ["setuptools>=70.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "plesk-unified"
version = "0.4.2"
description = "A unified MCP server that indexes and retrieves Plesk documentation using vector embeddings and semantic search with reranking"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Gilson Siqueira", email = "gilson@example.com"}
]
keywords = ["plesk", "mcp", "model-context-protocol", "semantic-search", "rag", "vector-database"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: System :: Monitoring",
"Topic :: Utilities",
]
requires-python = ">=3.12"
dependencies = [
"beautifulsoup4>=4.14.3",
"fastmcp>=3.2.0",
"lancedb>=0.29.1",
"numpy>=1.26.0", # used directly in server.py, tq_index.py, and scripts
"pydantic>=2.10.0",
"sentence-transformers>=5.2.2",
"torch>=2.4.0",
]
[project.urls]
Homepage = "https://github.com/barateza/mcp-plesk-unified"
Documentation = "https://github.com/barateza/mcp-plesk-unified#readme"
Repository = "https://github.com/barateza/mcp-plesk-unified.git"
"Bug Tracker" = "https://github.com/barateza/mcp-plesk-unified/issues"
[tool.setuptools]
packages = ["plesk_unified", "plesk_unified.turboquant"]
[project.scripts]
# Console script to run the MCP server
plesk-unified-mcp = "plesk_unified.server:main"
[project.optional-dependencies]
# Note: torch is already a dependency of sentence-transformers
# For GPU support, install PyTorch with CUDA from https://pytorch.org/
# The server will automatically detect and use GPU acceleration if available.
dev = [
"pytest>=8.0.0",
"requests>=2.32.0",
"ruff>=0.3.0",
]
test = [
"pytest>=8.0.0",
]
tools = [
"markdownify>=0.14.1",
"requests>=2.32.0",
]
# --- NEW CONFIGURATION BELOW ---
[[tool.uv.index]]
name = "pytorch-cu124"
url = "https://download.pytorch.org/whl/cu124"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cu124", marker = "sys_platform == 'win32'" },
]
torchvision = [
{ index = "pytorch-cu124", marker = "sys_platform == 'win32'" },
]
torchaudio = [
{ index = "pytorch-cu124", marker = "sys_platform == 'win32'" },
]
[tool.ruff]
line-length = 88
# Core runtime settings remain at top-level. Linter-specific selection
# options live under the `lint` table per ruff newer config layout.
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "TC", "B", "B9"]
extend-ignore = ["E203"]
extend-select = []
[dependency-groups]
dev = [
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"ruff>=0.15.2",
]