[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "rtfd-mcp"
version = "0.5.2"
description = "MCP server for real-time library documentation access across multiple package ecosystems."
authors = [{ name = "Amit Serper", email = "amit@example.com" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["mcp", "documentation", "pypi", "npm", "crates", "godocs", "docker", "github"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"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 :: Software Development :: Libraries",
]
dependencies = [
"mcp>=1.22.0",
"httpx>=0.28.1",
"beautifulsoup4>=4.14.3",
"markdownify>=1.2.2",
"docutils>=0.22.3",
"tiktoken>=0.12.0",
"loguru>=0.7.3",
]
[project.urls]
Homepage = "https://github.com/aserper/RTFD"
Repository = "https://github.com/aserper/RTFD.git"
Issues = "https://github.com/aserper/RTFD/issues"
Documentation = "https://github.com/aserper/RTFD#readme"
[project.scripts]
rtfd = "RTFD.server:run"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0",
"pytest-recording>=0.13.0",
"ruff>=0.2.0",
"python-semantic-release>=9.0.0",
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages]
find = { where = ["src"] }
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
"requires_auth: marks tests that require API authentication",
]
[tool.semantic_release]
version_variables = ["src/RTFD/__init__.py:__version__"]
version_toml = ["pyproject.toml:project.version"]
build_command = "python scripts/sync_json_versions.py"
[tool.ruff]
# Enable pycodestyle (E), Pyflakes (F), isort (I), and more
lint.select = ["E", "F", "I", "N", "B", "UP", "PL", "RUF"]
lint.ignore = ["E501", "PLR2004", "PLR0915","PLR0912","N999","PLR0911","PLC0415"]
target-version = "py310"
line-length = 100
exclude = [
".git",
".venv",
"__pycache__",
"build",
"dist",
]
[tool.ruff.lint.isort]
known-first-party = ["RTFD"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
exclude = ["PLC0415"]
[dependency-groups]
dev = [
"ruff>=0.14.8",
]