├── .dockerignore ├── .gitattributes ├── .github └── workflows │ └── publish-to-pypi.yml ├── .gitignore ├── .pylintrc ├── .python-version ├── .well-known ├── mcp.json └── mcp.llmfeed.json ├── Dockerfile ├── LICENSE ├── README.md ├── README_ja.md ├── README_ko.md ├── README_zh.md ├── docs ├── mcp-restart-playbook.md └── mcp-upgrade-notes.md ├── fastmcp.json ├── pyproject.toml ├── requirements.txt ├── run.py ├── src └── code_index_mcp │ ├── __init__.py │ ├── __main__.py │ ├── constants.py │ ├── indexing │ ├── __init__.py │ ├── deep_index_manager.py │ ├── index_provider.py │ ├── json_index_builder.py │ ├── models │ │ ├── __init__.py │ │ ├── file_info.py │ │ └── symbol_info.py │ ├── qualified_names.py │ ├── shallow_index_manager.py │ ├── sqlite_index_builder.py │ ├── sqlite_index_manager.py │ ├── sqlite_store.py │ └── strategies │ │ ├── __init__.py │ │ ├── base_strategy.py │ │ ├── fallback_strategy.py │ │ ├── go_strategy.py │ │ ├── java_strategy.py │ │ ├── javascript_strategy.py │ │ ├── objective_c_strategy.py │ │ ├── python_strategy.py │ │ ├── strategy_factory.py │ │ ├── typescript_strategy.py │ │ └── zig_strategy.py │ ├── project_settings.py │ ├── search │ ├── __init__.py │ ├── ag.py │ ├── base.py │ ├── basic.py │ ├── grep.py │ ├── ripgrep.py │ └── ugrep.py │ ├── server.py │ ├── services │ ├── __init__.py │ ├── base_service.py │ ├── code_intelligence_service.py │ ├── file_discovery_service.py │ ├── file_service.py │ ├── file_watcher_service.py │ ├── index_management_service.py │ ├── project_management_service.py │ ├── search_service.py │ ├── settings_service.py │ └── system_management_service.py │ ├── tools │ ├── __init__.py │ ├── config │ │ ├── __init__.py │ │ ├── project_config_tool.py │ │ └── settings_tool.py │ ├── filesystem │ │ ├── __init__.py │ │ ├── file_matching_tool.py │ │ └── file_system_tool.py │ └── monitoring │ │ ├── __init__.py │ │ └── file_watcher_tool.py │ └── utils │ ├── __init__.py │ ├── context_helper.py │ ├── error_handler.py │ ├── file_filter.py │ ├── response_formatter.py │ └── validation.py ├── test ├── README.md └── sample-projects │ ├── go │ └── user-management │ │ ├── README.md │ │ ├── cmd │ │ └── server │ │ │ └── main.go │ │ ├── go.mod │ │ ├── internal │ │ ├── models │ │ │ └── user.go │ │ ├── services │ │ │ └── user_service.go │ │ └── utils │ │ │ └── types.go │ │ └── pkg │ │ └── api │ │ └── user_handler.go │ ├── java │ └── user-management │ │ ├── README.md │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── example │ │ └── usermanagement │ │ ├── Main.java │ │ ├── models │ │ ├── Person.java │ │ ├── User.java │ │ ├── UserRole.java │ │ └── UserStatus.java │ │ ├── services │ │ └── UserManager.java │ │ └── utils │ │ ├── DuplicateUserException.java │ │ ├── UserNotFoundException.java │ │ └── ValidationUtils.java │ ├── javascript │ └── user-management │ │ ├── .env.example │ │ ├── README.md │ │ ├── package.json │ │ └── src │ │ ├── config │ │ └── database.js │ │ ├── middleware │ │ ├── auth.js │ │ ├── rateLimiter.js │ │ └── validate.js │ │ ├── models │ │ └── User.js │ │ ├── routes │ │ └── userRoutes.js │ │ ├── server.js │ │ ├── services │ │ └── UserService.js │ │ └── utils │ │ ├── errors.js │ │ └── logger.js │ ├── objective-c │ ├── Person.h │ ├── Person.m │ ├── UserManager.h │ ├── UserManager.m │ └── main.m │ ├── python │ ├── README.md │ ├── main.py │ ├── requirements.txt │ ├── setup.py │ └── user_management │ │ ├── __init__.py │ │ ├── cli.py │ │ ├── models │ │ ├── __init__.py │ │ ├── person.py │ │ └── user.py │ │ ├── services │ │ ├── __init__.py │ │ ├── auth_service.py │ │ └── user_manager.py │ │ └── utils │ │ ├── __init__.py │ │ ├── exceptions.py │ │ ├── helpers.py │ │ └── validators.py │ ├── typescript │ ├── sample.ts │ └── user-management │ │ ├── package.json │ │ ├── src │ │ ├── config │ │ │ └── database.ts │ │ ├── middleware │ │ │ └── rateLimiter.ts │ │ ├── models │ │ │ └── User.ts │ │ ├── routes │ │ │ └── userRoutes.ts │ │ ├── server.ts │ │ ├── services │ │ │ └── UserService.ts │ │ ├── types │ │ │ └── User.ts │ │ └── utils │ │ │ ├── errors.ts │ │ │ └── logger.ts │ │ └── tsconfig.json │ └── zig │ └── code-index-example │ ├── build.zig │ ├── build.zig.zon │ └── src │ ├── main.zig │ ├── math.zig │ ├── root.zig │ └── utils.zig ├── tests ├── indexing │ ├── test_javascript_called_by.py │ ├── test_shallow_index_lenient.py │ ├── test_sqlite_index_manager.py │ ├── test_sqlite_store.py │ ├── test_symbol_ids.py │ └── test_typescript_called_by.py ├── search │ ├── test_search_filters.py │ └── test_search_service_pagination.py ├── strategies │ ├── test_go_discovery.py │ └── test_python_discovery.py └── utils │ └── test_validation_pagination.py └── uv.lock /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/publish-to-pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/.github/workflows/publish-to-pypi.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/.pylintrc -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.11 2 | -------------------------------------------------------------------------------- /.well-known/mcp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/.well-known/mcp.json -------------------------------------------------------------------------------- /.well-known/mcp.llmfeed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/.well-known/mcp.llmfeed.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/README.md -------------------------------------------------------------------------------- /README_ja.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/README_ja.md -------------------------------------------------------------------------------- /README_ko.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/README_ko.md -------------------------------------------------------------------------------- /README_zh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/README_zh.md -------------------------------------------------------------------------------- /docs/mcp-restart-playbook.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/docs/mcp-restart-playbook.md -------------------------------------------------------------------------------- /docs/mcp-upgrade-notes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/docs/mcp-upgrade-notes.md -------------------------------------------------------------------------------- /fastmcp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/fastmcp.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/run.py -------------------------------------------------------------------------------- /src/code_index_mcp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/__main__.py -------------------------------------------------------------------------------- /src/code_index_mcp/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/constants.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/deep_index_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/deep_index_manager.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/index_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/index_provider.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/json_index_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/json_index_builder.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/models/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/models/file_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/models/file_info.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/models/symbol_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/models/symbol_info.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/qualified_names.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/qualified_names.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/shallow_index_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/shallow_index_manager.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/sqlite_index_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/sqlite_index_builder.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/sqlite_index_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/sqlite_index_manager.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/sqlite_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/sqlite_store.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/base_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/base_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/fallback_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/fallback_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/go_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/go_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/java_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/java_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/javascript_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/javascript_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/objective_c_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/objective_c_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/python_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/python_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/strategy_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/strategy_factory.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/typescript_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/typescript_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/indexing/strategies/zig_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/indexing/strategies/zig_strategy.py -------------------------------------------------------------------------------- /src/code_index_mcp/project_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/project_settings.py -------------------------------------------------------------------------------- /src/code_index_mcp/search/__init__.py: -------------------------------------------------------------------------------- 1 | """Search strategies package.""" 2 | -------------------------------------------------------------------------------- /src/code_index_mcp/search/ag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/search/ag.py -------------------------------------------------------------------------------- /src/code_index_mcp/search/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/search/base.py -------------------------------------------------------------------------------- /src/code_index_mcp/search/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/search/basic.py -------------------------------------------------------------------------------- /src/code_index_mcp/search/grep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/search/grep.py -------------------------------------------------------------------------------- /src/code_index_mcp/search/ripgrep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/search/ripgrep.py -------------------------------------------------------------------------------- /src/code_index_mcp/search/ugrep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/search/ugrep.py -------------------------------------------------------------------------------- /src/code_index_mcp/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/server.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/base_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/base_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/code_intelligence_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/code_intelligence_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/file_discovery_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/file_discovery_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/file_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/file_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/file_watcher_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/file_watcher_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/index_management_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/index_management_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/project_management_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/project_management_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/search_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/search_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/settings_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/settings_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/services/system_management_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/services/system_management_service.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/config/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/config/project_config_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/config/project_config_tool.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/config/settings_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/config/settings_tool.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/filesystem/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/filesystem/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/filesystem/file_matching_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/filesystem/file_matching_tool.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/filesystem/file_system_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/filesystem/file_system_tool.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/monitoring/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/monitoring/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/tools/monitoring/file_watcher_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/tools/monitoring/file_watcher_tool.py -------------------------------------------------------------------------------- /src/code_index_mcp/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/utils/__init__.py -------------------------------------------------------------------------------- /src/code_index_mcp/utils/context_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/utils/context_helper.py -------------------------------------------------------------------------------- /src/code_index_mcp/utils/error_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/utils/error_handler.py -------------------------------------------------------------------------------- /src/code_index_mcp/utils/file_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/utils/file_filter.py -------------------------------------------------------------------------------- /src/code_index_mcp/utils/response_formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/utils/response_formatter.py -------------------------------------------------------------------------------- /src/code_index_mcp/utils/validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/src/code_index_mcp/utils/validation.py -------------------------------------------------------------------------------- /test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/README.md -------------------------------------------------------------------------------- /test/sample-projects/go/user-management/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/go/user-management/README.md -------------------------------------------------------------------------------- /test/sample-projects/go/user-management/cmd/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/go/user-management/cmd/server/main.go -------------------------------------------------------------------------------- /test/sample-projects/go/user-management/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/go/user-management/go.mod -------------------------------------------------------------------------------- /test/sample-projects/go/user-management/internal/models/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/go/user-management/internal/models/user.go -------------------------------------------------------------------------------- /test/sample-projects/go/user-management/internal/services/user_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/go/user-management/internal/services/user_service.go -------------------------------------------------------------------------------- /test/sample-projects/go/user-management/internal/utils/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/go/user-management/internal/utils/types.go -------------------------------------------------------------------------------- /test/sample-projects/go/user-management/pkg/api/user_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/go/user-management/pkg/api/user_handler.go -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/README.md -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/pom.xml -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/Main.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/Person.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/Person.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/User.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/UserRole.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/UserRole.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/UserStatus.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/models/UserStatus.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/services/UserManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/services/UserManager.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/utils/DuplicateUserException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/utils/DuplicateUserException.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/utils/UserNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/utils/UserNotFoundException.java -------------------------------------------------------------------------------- /test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/utils/ValidationUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/java/user-management/src/main/java/com/example/usermanagement/utils/ValidationUtils.java -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/.env.example -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/README.md -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/package.json -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/config/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/config/database.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/middleware/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/middleware/auth.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/middleware/rateLimiter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/middleware/rateLimiter.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/middleware/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/middleware/validate.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/models/User.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/models/User.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/routes/userRoutes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/routes/userRoutes.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/server.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/services/UserService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/services/UserService.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/utils/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/utils/errors.js -------------------------------------------------------------------------------- /test/sample-projects/javascript/user-management/src/utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/javascript/user-management/src/utils/logger.js -------------------------------------------------------------------------------- /test/sample-projects/objective-c/Person.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/objective-c/Person.h -------------------------------------------------------------------------------- /test/sample-projects/objective-c/Person.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/objective-c/Person.m -------------------------------------------------------------------------------- /test/sample-projects/objective-c/UserManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/objective-c/UserManager.h -------------------------------------------------------------------------------- /test/sample-projects/objective-c/UserManager.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/objective-c/UserManager.m -------------------------------------------------------------------------------- /test/sample-projects/objective-c/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/objective-c/main.m -------------------------------------------------------------------------------- /test/sample-projects/python/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/README.md -------------------------------------------------------------------------------- /test/sample-projects/python/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/main.py -------------------------------------------------------------------------------- /test/sample-projects/python/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/requirements.txt -------------------------------------------------------------------------------- /test/sample-projects/python/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/setup.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/__init__.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/cli.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/models/__init__.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/models/person.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/models/person.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/models/user.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/services/__init__.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/services/auth_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/services/auth_service.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/services/user_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/services/user_manager.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/utils/__init__.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/utils/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/utils/exceptions.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/utils/helpers.py -------------------------------------------------------------------------------- /test/sample-projects/python/user_management/utils/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/python/user_management/utils/validators.py -------------------------------------------------------------------------------- /test/sample-projects/typescript/sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/sample.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/package.json -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/config/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/config/database.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/middleware/rateLimiter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/middleware/rateLimiter.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/models/User.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/routes/userRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/routes/userRoutes.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/server.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/services/UserService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/services/UserService.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/types/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/types/User.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/utils/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/utils/errors.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/src/utils/logger.ts -------------------------------------------------------------------------------- /test/sample-projects/typescript/user-management/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/typescript/user-management/tsconfig.json -------------------------------------------------------------------------------- /test/sample-projects/zig/code-index-example/build.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/zig/code-index-example/build.zig -------------------------------------------------------------------------------- /test/sample-projects/zig/code-index-example/build.zig.zon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/zig/code-index-example/build.zig.zon -------------------------------------------------------------------------------- /test/sample-projects/zig/code-index-example/src/main.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/zig/code-index-example/src/main.zig -------------------------------------------------------------------------------- /test/sample-projects/zig/code-index-example/src/math.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/zig/code-index-example/src/math.zig -------------------------------------------------------------------------------- /test/sample-projects/zig/code-index-example/src/root.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/zig/code-index-example/src/root.zig -------------------------------------------------------------------------------- /test/sample-projects/zig/code-index-example/src/utils.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/test/sample-projects/zig/code-index-example/src/utils.zig -------------------------------------------------------------------------------- /tests/indexing/test_javascript_called_by.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/indexing/test_javascript_called_by.py -------------------------------------------------------------------------------- /tests/indexing/test_shallow_index_lenient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/indexing/test_shallow_index_lenient.py -------------------------------------------------------------------------------- /tests/indexing/test_sqlite_index_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/indexing/test_sqlite_index_manager.py -------------------------------------------------------------------------------- /tests/indexing/test_sqlite_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/indexing/test_sqlite_store.py -------------------------------------------------------------------------------- /tests/indexing/test_symbol_ids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/indexing/test_symbol_ids.py -------------------------------------------------------------------------------- /tests/indexing/test_typescript_called_by.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/indexing/test_typescript_called_by.py -------------------------------------------------------------------------------- /tests/search/test_search_filters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/search/test_search_filters.py -------------------------------------------------------------------------------- /tests/search/test_search_service_pagination.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/search/test_search_service_pagination.py -------------------------------------------------------------------------------- /tests/strategies/test_go_discovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/strategies/test_go_discovery.py -------------------------------------------------------------------------------- /tests/strategies/test_python_discovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/strategies/test_python_discovery.py -------------------------------------------------------------------------------- /tests/utils/test_validation_pagination.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/tests/utils/test_validation_pagination.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnhuang316/code-index-mcp/HEAD/uv.lock --------------------------------------------------------------------------------