[build-system]
requires = ["uv_build>=0.8.15,<0.9.0"]
build-backend = "uv_build"
[project]
name = "local-filesystem"
version = "0.1.0"
description = "A filesystem management MCP server with sandboxed operations"
authors = [
{name = "Adel Esmairi", email = "esmairi.github@gmail.com"}
]
requires-python = ">=3.10"
dependencies = [
"mcp>=1.15.0",
"smithery>=0.4.2",
]
[project.scripts]
dev = "smithery.cli.dev:main" # Run the MCP server in development mode
start = "smithery.cli.start:main" # Run the MCP server in production mode
playground = "smithery.cli.playground:main" # Run server with interactive testing playground
[tool.smithery]
server = "local_filesystem.server:create_server" # Function that returns a patched FastMCP server
log_level = "warning" # Production log level (optional, defaults to "warning")
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pre-commit>=4.0.1",
"black>=24.10.0",
"flake8>=7.1.1",
"mypy>=1.13.0",
]
[tool.black]
line-length = 101
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.mypy_cache
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
# Informational mode - show warnings but don't fail
warn_return_any = false
check_untyped_defs = false
[tool.flake8]
max-line-length = 101
extend-ignore = ["E203", "W503"]
exclude = [
".git",
"__pycache__",
".venv",
"build",
"dist",
]