[project]
name = "massive-context-mcp"
version = "2.0.2"
description = "Handle 10M+ token contexts with chunking, sub-queries, and local Ollama inference"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Erik Goughnour", email = "e.goughnour@gmail.com" }
]
keywords = [
"mcp",
"model-context-protocol",
"massive-context",
"chunking",
"ollama",
"local-inference",
"llm",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"fastmcp>=2.0.0",
"httpx>=0.27.0",
]
[project.optional-dependencies]
claude = [
"claude-agent-sdk>=0.1.0",
]
firewall = [
"code-firewall-mcp>=0.1.0",
]
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/massive-context-mcp"
Repository = "https://github.com/egoughnour/massive-context-mcp"
Issues = "https://github.com/egoughnour/massive-context-mcp/issues"
[project.scripts]
massive-context-mcp = "src.rlm_mcp_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"
asyncio_default_fixture_loop_scope = "function"
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests that require external services",
]
[tool.coverage.run]
source = ["src"]
branch = true
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
show_missing = true
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = [
"E501", # Line too long - handled by formatter, not linter
]
[tool.ruff.lint.per-file-ignores]
# Tests need to set env vars before importing, so module-level imports aren't at top
"tests/*.py" = ["E402"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"