[project]
name = "codesdevs-log-analyzer"
version = "0.5.0"
description = "MCP server for intelligent log file analysis and debugging assistance"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Fathin", email = "fathin@codesdevs.com" }
]
keywords = ["mcp", "log-analysis", "debugging", "ai", "claude"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Debuggers",
"Topic :: System :: Logging",
]
dependencies = [
"mcp>=1.0.0",
"pydantic>=2.0.0",
"python-dateutil>=2.8.0",
"chardet>=5.0.0",
"rich>=13.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"types-python-dateutil>=2.8.0",
]
[project.scripts]
codesdevs-log-analyzer = "codesdevs_log_analyzer.cli:main"
[project.urls]
Homepage = "https://github.com/Fato07/log-analyzer-mcp"
Repository = "https://github.com/Fato07/log-analyzer-mcp"
Issues = "https://github.com/Fato07/log-analyzer-mcp/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["codesdevs_log_analyzer"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
strict = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "dateutil.*"
ignore_missing_imports = true
follow_untyped_imports = true
[[tool.mypy.overrides]]
module = ["codesdevs_log_analyzer.utils.time_utils", "codesdevs_log_analyzer.parsers.syslog"]
disable_error_code = ["no-untyped-call"]
[tool.mcp]
name = "io.github.fato07/log-analyzer-mcp"
[dependency-groups]
dev = [
"types-python-dateutil>=2.9.0.20251115",
]