"""
Basic test to verify test infrastructure
"""
import sys
import os
from pathlib import Path
# Add project root to path
project_root = Path(__file__).parent.parent
sys.path.insert(0, str(project_root))
def test_import_clean_search():
"""Test that we can import the main search module"""
from src.core.clean_search import CleanSmartCodeSearch
assert CleanSmartCodeSearch is not None
def test_import_mcp_server():
"""Test that we can import the MCP server"""
from src.server import SCSMCPServer
assert SCSMCPServer is not None
def test_project_structure():
"""Test that key directories exist"""
assert Path("src").exists()
assert Path("src/core").exists()
assert Path("tests").exists()
def test_requirements_file():
"""Test that requirements.txt exists"""
assert Path("requirements.txt").exists()
if __name__ == "__main__":
# Allow running directly
test_import_clean_search()
test_import_mcp_server()
test_project_structure()
test_requirements_file()
print("✅ All basic tests passed!")
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/stevenjjobson/scs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server