[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "your-docs-mcp"
version = "0.0.5"
description = "Model Context Protocol server for hierarchical documentation navigation with markdown and OpenAPI support"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "MCP Contributors"}
]
keywords = ["mcp", "documentation", "ai", "openapi", "markdown"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp>=0.1.0",
"pyyaml>=6.0",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"openapi-spec-validator>=0.7.0",
"prance>=23.6.21.0",
"watchdog>=3.0.0",
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
]
[project.optional-dependencies]
# Vector search with CPU-only PyTorch (recommended for most users)
vector = [
"chromadb>=0.4.0",
"sentence-transformers>=2.2.2",
# CPU-only torch - must install with: pip install .[vector] --extra-index-url https://download.pytorch.org/whl/cpu
]
# Vector search with GPU support (for CUDA-enabled systems)
vector-gpu = [
"chromadb>=0.4.0",
"sentence-transformers>=2.2.2",
# Uses default torch with CUDA support
]
# PDF generation dependencies
pdf = [
"Pillow>=9.0.0",
]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"httpx>=0.25.0",
"pytest-mock>=3.11.0",
"pytest-cov>=4.1.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
"types-PyYAML",
"python-dotenv>=1.0.0",
]
[project.scripts]
your-docs-mcp = "docs_mcp.__main__:mcp_main"
your-docs-web = "docs_mcp.__main__:web_main"
your-docs-server = "docs_mcp.__main__:main"
[project.urls]
Homepage = "https://github.com/esola-thomas/Markdown-MCP"
Repository = "https://github.com/esola-thomas/Markdown-MCP"
[tool.setuptools.packages.find]
where = ["."]
include = ["docs_mcp*"]
[tool.setuptools.package-data]
docs_mcp = ["py.typed", "static/*"]
"*" = ["py.typed", "static/*"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"] # Line too long (handled by formatter)
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
strict_equality = true
[[tool.mypy.overrides]]
module = ["pydantic", "pydantic_settings", "mcp.*", "yaml"]
ignore_missing_imports = true