[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mcp-local"
version = "1.0.0"
description = "A comprehensive MCP server for local file management and system operations"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "aissam", email = "aissamirhir@gmail.com"}
]
keywords = ["mcp", "local", "mcp-file-manager", "model-context-protocol"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp>=1.0.0",
"fastmcp>=0.2.0",
"psutil>=5.9.0",
"pathlib>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
]
[project.scripts]
mcp-local = "mcp_local.main:main"
[project.urls]
Homepage = "https://github.com/nexus-aissam/mcp-local"
Documentation = "https://github.com/nexus-aissam/mcp-local/docs"
Repository = "https://github.com/nexus-aissam/mcp-local"
Issues = "https://github.com/nexus-aissam/mcp-local/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
mcp_local = ["config/*.conf"]
[tool.black]
line-length = 100
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--cov=src/mcp_local --cov-report=html --cov-report=term-missing"