Some checks failed
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / security (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / test (3.13) (push) Has been cancelled
Tests / test-install (3.13) (push) Has been cancelled
Tests / build (push) Has been cancelled
Tests / test-install (3.10) (push) Has been cancelled
- Implement smart identifier resolution across all modules (v1.9.0) - Instances: lookup by label or hostname - SSH Keys: lookup by name - Firewall Groups: lookup by description - Snapshots: lookup by description - Reserved IPs: lookup by IP address - All UUID lookups use exact matching for safety - Update README.md with comprehensive feature documentation - Add detailed changelog showing version progression - Enhance examples to demonstrate smart identifier resolution 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
197 lines
4.5 KiB
TOML
197 lines
4.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mcp-vultr"
|
|
version = "1.9.0"
|
|
description = "A comprehensive Model Context Protocol (MCP) server for managing Vultr DNS records"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Ryan Malloy", email = "ryan@supported.systems"}
|
|
]
|
|
maintainers = [
|
|
{name = "Ryan Malloy", email = "ryan@supported.systems"}
|
|
]
|
|
keywords = [
|
|
"vultr",
|
|
"dns",
|
|
"mcp",
|
|
"model-context-protocol",
|
|
"dns-management",
|
|
"api",
|
|
"mcp-server"
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Internet :: Name Service (DNS)",
|
|
"Topic :: System :: Systems Administration",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Communications",
|
|
"Environment :: Console",
|
|
"Framework :: AsyncIO"
|
|
]
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"fastmcp>=0.1.0",
|
|
"httpx>=0.24.0",
|
|
"pydantic>=2.0.0",
|
|
"click>=8.0.0"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
"black>=23.0.0",
|
|
"isort>=5.12.0",
|
|
"flake8>=6.0.0",
|
|
"mypy>=1.0.0",
|
|
"pre-commit>=3.0.0"
|
|
]
|
|
docs = [
|
|
"sphinx>=6.0.0",
|
|
"sphinx-rtd-theme>=1.2.0",
|
|
"myst-parser>=1.0.0"
|
|
]
|
|
test = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
"pytest-httpx>=0.21.0"
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/rsp2k/mcp-vultr"
|
|
Documentation = "https://mcp-vultr.readthedocs.io/"
|
|
Repository = "https://github.com/rsp2k/mcp-vultr.git"
|
|
"Bug Tracker" = "https://github.com/rsp2k/mcp-vultr/issues"
|
|
Changelog = "https://github.com/rsp2k/mcp-vultr/blob/main/CHANGELOG.md"
|
|
|
|
[project.scripts]
|
|
mcp-vultr = "mcp_vultr.cli:main"
|
|
vultr-dns-server = "mcp_vultr.cli:server_command"
|
|
vultr-mcp-server = "mcp_vultr.fastmcp_server:run_server"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
mcp_vultr = ["py.typed"]
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ["py310", "py311", "py312", "py313"]
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
/(
|
|
# directories
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
multi_line_output = 3
|
|
line_length = 88
|
|
known_first_party = ["mcp_vultr"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
disallow_incomplete_defs = true
|
|
check_untyped_defs = true
|
|
disallow_untyped_decorators = true
|
|
no_implicit_optional = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
warn_no_return = true
|
|
warn_unreachable = true
|
|
strict_equality = true
|
|
show_error_codes = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["mcp.*"]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py", "*_test.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = [
|
|
"--strict-markers",
|
|
"--strict-config",
|
|
"--verbose",
|
|
"--tb=short",
|
|
"--cov=mcp_vultr",
|
|
"--cov-report=term-missing",
|
|
"--cov-report=html",
|
|
"--cov-report=xml",
|
|
"--cov-fail-under=80"
|
|
]
|
|
asyncio_mode = "auto"
|
|
markers = [
|
|
"unit: Unit tests that test individual components in isolation",
|
|
"integration: Integration tests that test component interactions",
|
|
"mcp: Tests specifically for MCP server functionality",
|
|
"slow: Tests that take a long time to run"
|
|
]
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning",
|
|
"ignore::PendingDeprecationWarning"
|
|
]
|
|
|
|
[tool.coverage.run]
|
|
source = ["src/mcp_vultr"]
|
|
omit = [
|
|
"*/tests/*",
|
|
"*/test_*",
|
|
"*/__pycache__/*"
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"def __repr__",
|
|
"if self.debug:",
|
|
"if settings.DEBUG",
|
|
"raise AssertionError",
|
|
"raise NotImplementedError",
|
|
"if 0:",
|
|
"if __name__ == .__main__.:"
|
|
]
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
"black>=23.0.0",
|
|
"isort>=5.12.0",
|
|
"flake8>=6.0.0",
|
|
"mypy>=1.0.0",
|
|
"pre-commit>=3.0.0",
|
|
"twine>=4.0.0"
|
|
]
|