[project]
name = "code-firewall-mcp"
version = "0.1.0"
description = "Code similarity firewall - blocks dangerous code patterns before they reach execution tools"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10,<3.14"
authors = [
{ name = "Erik Goughnour", email = "e.goughnour@gmail.com" }
]
keywords = [
"mcp",
"model-context-protocol",
"security",
"code-analysis",
"firewall",
"tree-sitter",
"embeddings",
]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"fastmcp>=2.0.0",
"httpx>=0.27.0",
"chromadb>=0.4.0",
"tree-sitter>=0.21.0",
"tree-sitter-python>=0.21.0",
"tree-sitter-javascript>=0.21.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
]
[project.urls]
Homepage = "https://github.com/egoughnour/code-firewall-mcp"
Repository = "https://github.com/egoughnour/code-firewall-mcp"
[project.scripts]
code-firewall-mcp = "src.firewall_server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"] # Line too long - handled by formatter