Skip to main content
Glama

code-index-mcp

""" Service layer for the Code Index MCP server. This package contains domain-specific services that handle the business logic for different areas of functionality: - SearchService: Code search operations and search tool management - FileService: File operations, content retrieval, and analysis - SettingsService: Settings management and directory operations Each service follows a consistent pattern: - Constructor accepts MCP Context parameter - Methods correspond to MCP entry points - Clear domain boundaries with no cross-service dependencies - Shared utilities accessed through utils module - Meaningful exceptions raised for error conditions """ # New Three-Layer Architecture Services from .base_service import BaseService from .project_management_service import ProjectManagementService from .index_management_service import IndexManagementService from .file_discovery_service import FileDiscoveryService from .code_intelligence_service import CodeIntelligenceService from .system_management_service import SystemManagementService from .search_service import SearchService # Already follows clean architecture from .settings_service import SettingsService # Simple Services from .file_service import FileService # Simple file reading for resources from .file_watcher_service import FileWatcherService # Low-level service, still needed __all__ = [ # New Architecture 'BaseService', 'ProjectManagementService', 'IndexManagementService', 'FileDiscoveryService', 'CodeIntelligenceService', 'SystemManagementService', 'SearchService', 'SettingsService', # Simple Services 'FileService', # Simple file reading for resources 'FileWatcherService' # Keep as low-level service ]

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/johnhuang316/code-index-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server