- delete_certificate (Vorschau + confirm, verweigert bei Nutzung ohne force), renew_certificate, list_unused_certificates - update_proxy_host: domain_names, hsts_enabled, hsts_subdomains, http2_support, caching_enabled; create_proxy_host: dieselben vier Schalter - find_proxy_host (auch Umlaute/Punycode) - Redirection-Hosts, TCP/UDP-Streams, 404-Hosts (auflisten, anlegen, löschen) - delete_proxy_host und alle neuen Löschwerkzeuge nur mit confirm=true - Fehler als MCP-ToolError statt Text Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
45 lines
822 B
TOML
45 lines
822 B
TOML
[project]
|
|
name = "npm-mcp"
|
|
version = "0.1.0"
|
|
description = "MCP server for Nginx Proxy Manager"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"httpx>=0.27.0",
|
|
"pydantic>=2.0",
|
|
"pydantic-settings>=2.0",
|
|
"fastmcp>=2.0.0",
|
|
"starlette>=0.40.0",
|
|
"uvicorn>=0.30.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
"pytest-httpx>=0.30",
|
|
"ruff>=0.8.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
npm-mcp = "npm_mcp.main:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/npm_mcp"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|