pyproject.toml•3.9 kB
[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "scs-mcp"
version = "1.0.0"
description = "Smart Code Search MCP Server - Intelligent semantic code search and analysis for Claude Desktop"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Steven J Jobson", email = "contact@stevenjjobson.com"},
]
maintainers = [
{name = "Steven J Jobson", email = "contact@stevenjjobson.com"},
]
keywords = [
"mcp",
"claude",
"semantic-search",
"code-search",
"ai",
"llm",
"code-analysis",
"developer-tools",
"embedding",
"treesitter",
]
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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing :: Linguistic",
]
requires-python = ">=3.8"
dependencies = [
"mcp>=1.1.2",
"sentence-transformers>=3.0.0",
"numpy>=1.24.0",
"torch>=2.0.0",
"chromadb>=0.4.0",
"scikit-learn>=1.3.0",
"tree-sitter>=0.20.0",
"tree-sitter-python>=0.20.0",
"tree-sitter-javascript>=0.20.0",
"tree-sitter-java>=0.20.0",
"tree-sitter-cpp>=0.20.0",
"tree-sitter-go>=0.20.0",
"tree-sitter-rust>=0.20.0",
"tree-sitter-ruby>=0.20.0",
"gitpython>=3.1.0",
"python-dotenv>=1.0.0",
"pydantic>=2.0.0",
"aiofiles>=23.0.0",
"typing-extensions>=4.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"pre-commit>=3.0.0",
]
voice = [
"pyaudio>=0.2.11",
"speechrecognition>=3.10.0",
]
[project.urls]
Homepage = "https://github.com/StevenJJobson/scs-mcp"
Documentation = "https://github.com/StevenJJobson/scs-mcp/tree/main/docs"
Repository = "https://github.com/StevenJJobson/scs-mcp.git"
Issues = "https://github.com/StevenJJobson/scs-mcp/issues"
Changelog = "https://github.com/StevenJJobson/scs-mcp/blob/main/CHANGELOG.md"
[project.scripts]
scs-mcp = "src.server:main"
scs-index = "src.scripts.init_index:main"
scs-search = "src.scripts.search_cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
packages = ["src", "src.core", "src.core.metrics", "src.core.parsers", "src.tools", "src.utils", "src.mcp"]
[tool.setuptools.package-data]
"*" = ["*.json", "*.yaml", "*.yml"]
[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
| dev-archive
)/
'''
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
exclude = [
'dev-archive/',
'tests/',
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-ra -q --strict-markers"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*.py",
"*/__pycache__/*",
"*/dev-archive/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if __name__ == .__main__.:",
"raise NotImplementedError",
"pass",
"except ImportError:",
]