[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mcp-codebase-insight"
version = "0.1.2"
description = "MCP Codebase Insight Server"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Tosin Akinosho"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"fastapi>=0.103.2",
"uvicorn>=0.23.2",
"pydantic>=2.4.2",
"starlette>=0.27.0,<0.28.0",
"asyncio>=3.4.3",
"qdrant-client>=1.13.3",
"sentence-transformers>=2.2.2",
"torch>=2.0.0",
"transformers>=4.34.0",
"python-frontmatter>=1.0.0",
"markdown>=3.4.4",
"PyYAML>=6.0.1",
"structlog>=23.1.0",
"psutil>=5.9.5",
"python-dotenv>=1.0.0",
"requests>=2.31.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.4.2",
"pytest-asyncio>=0.21.1",
"pytest-cov>=4.1.0",
"httpx>=0.25.0",
]
dev = [
"black>=23.9.1",
"isort>=5.12.0",
"mypy>=1.5.1",
"flake8>=6.1.0",
"bump2version>=1.0.1",
"pre-commit>=3.5.0",
"pdoc>=14.1.0",
]
[project.urls]
Homepage = "https://github.com/tosin2013/mcp-codebase-insight"
Documentation = "https://github.com/tosin2013/mcp-codebase-insight/docs"
Repository = "https://github.com/tosin2013/mcp-codebase-insight.git"
Issues = "https://github.com/tosin2013/mcp-codebase-insight/issues"
[project.scripts]
mcp-codebase-insight = "mcp_codebase_insight.server:run"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["mcp_codebase_insight*"]
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_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
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=src --cov-report=term-missing"
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["src"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]
ignore_errors = true
omit = ["tests/*", "setup.py"]