UNPKG

deepsource-mcp-server

Version:
701 lines (700 loc) 26.3 kB
.adr-dir .changeset/config.json .changeset/odd-hotels-reply.md .changeset/plain-worms-tickle.md .changeset/README.md .changeset/update-dependencies-20251020.md .claude/commands/analyze-build.md .claude/commands/cleanup-issues.md .claude/commands/fix-deepsource-issues.md .claude/commands/implement-github-issue.md .claude/commands/spec-chore.md .claude/commands/spec-feature.md .claude/commands/update-dependencies.md .claude/hooks/block-git-no-verify.ts .deepsource.toml .deepsourceignore .depcheckrc .env.example .github/actionlint.yaml .github/changeset.yml .github/dependabot.yml .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/pull_request_template.md .github/scripts/determine-artifact.sh .github/scripts/version-and-release.js .github/WORKFLOWS.md .github/workflows/codeql.yml .github/workflows/main.yml .github/workflows/pr.yml .github/workflows/publish.yml .github/workflows/reusable-docker.yml .github/workflows/reusable-security.yml .github/workflows/reusable-validate.yml .husky/commit-msg .husky/pre-commit .markdownlint.yaml .markdownlintignore .mise.toml .prettierignore .prettierrc .trivyignore .yaml-lint.yml .yamllintignore CHANGELOG.md CLAUDE.md Dockerfile LICENSE MIGRATION.md README.md build-manifest.json commitlint.config.js deepsource-api-schema.graphql deepsource-mcp-server-1.8.3.tgz dist/adapters/handler-adapters.d.ts dist/adapters/handler-adapters.js dist/adapters/handler-adapters.js.map dist/client/base-client.d.ts dist/client/base-client.js dist/client/base-client.js.map dist/client/factory.d.ts dist/client/factory.js dist/client/factory.js.map dist/client/index.d.ts dist/client/index.js dist/client/index.js.map dist/client/issues-client.d.ts dist/client/issues-client.js dist/client/issues-client.js.map dist/client/metrics-client.d.ts dist/client/metrics-client.js dist/client/metrics-client.js.map dist/client/projects-client.d.ts dist/client/projects-client.js dist/client/projects-client.js.map dist/client/runs-client.d.ts dist/client/runs-client.js dist/client/runs-client.js.map dist/client/security-client.d.ts dist/client/security-client.js dist/client/security-client.js.map dist/compatibility.d.ts dist/compatibility.js dist/compatibility.js.map dist/config/default.d.ts dist/config/default.js dist/config/default.js.map dist/config/features.d.ts dist/config/features.js dist/config/features.js.map dist/config/index.d.ts dist/config/index.js dist/config/index.js.map dist/config/tool-discovery.config.d.ts dist/config/tool-discovery.config.js dist/config/tool-discovery.config.js.map dist/deepsource.d.ts dist/deepsource.js dist/deepsource.js.map dist/domain/aggregates/analysis-run/analysis-run.aggregate.d.ts dist/domain/aggregates/analysis-run/analysis-run.aggregate.js dist/domain/aggregates/analysis-run/analysis-run.aggregate.js.map dist/domain/aggregates/analysis-run/analysis-run.repository.d.ts dist/domain/aggregates/analysis-run/analysis-run.repository.js dist/domain/aggregates/analysis-run/analysis-run.repository.js.map dist/domain/aggregates/analysis-run/analysis-run.types.d.ts dist/domain/aggregates/analysis-run/analysis-run.types.js dist/domain/aggregates/analysis-run/analysis-run.types.js.map dist/domain/aggregates/analysis-run/index.d.ts dist/domain/aggregates/analysis-run/index.js dist/domain/aggregates/analysis-run/index.js.map dist/domain/aggregates/compliance-report/compliance-report.aggregate.d.ts dist/domain/aggregates/compliance-report/compliance-report.aggregate.js dist/domain/aggregates/compliance-report/compliance-report.aggregate.js.map dist/domain/aggregates/compliance-report/compliance-report.repository.d.ts dist/domain/aggregates/compliance-report/compliance-report.repository.js dist/domain/aggregates/compliance-report/compliance-report.repository.js.map dist/domain/aggregates/compliance-report/compliance-report.types.d.ts dist/domain/aggregates/compliance-report/compliance-report.types.js dist/domain/aggregates/compliance-report/compliance-report.types.js.map dist/domain/aggregates/compliance-report/index.d.ts dist/domain/aggregates/compliance-report/index.js dist/domain/aggregates/compliance-report/index.js.map dist/domain/aggregates/project/index.d.ts dist/domain/aggregates/project/index.js dist/domain/aggregates/project/index.js.map dist/domain/aggregates/project/project.aggregate.d.ts dist/domain/aggregates/project/project.aggregate.js dist/domain/aggregates/project/project.aggregate.js.map dist/domain/aggregates/project/project.repository.d.ts dist/domain/aggregates/project/project.repository.js dist/domain/aggregates/project/project.repository.js.map dist/domain/aggregates/project/project.types.d.ts dist/domain/aggregates/project/project.types.js dist/domain/aggregates/project/project.types.js.map dist/domain/aggregates/quality-metrics/index.d.ts dist/domain/aggregates/quality-metrics/index.js dist/domain/aggregates/quality-metrics/index.js.map dist/domain/aggregates/quality-metrics/quality-metrics.aggregate.d.ts dist/domain/aggregates/quality-metrics/quality-metrics.aggregate.js dist/domain/aggregates/quality-metrics/quality-metrics.aggregate.js.map dist/domain/aggregates/quality-metrics/quality-metrics.repository.d.ts dist/domain/aggregates/quality-metrics/quality-metrics.repository.js dist/domain/aggregates/quality-metrics/quality-metrics.repository.js.map dist/domain/aggregates/quality-metrics/quality-metrics.types.d.ts dist/domain/aggregates/quality-metrics/quality-metrics.types.js dist/domain/aggregates/quality-metrics/quality-metrics.types.js.map dist/domain/index.d.ts dist/domain/index.js dist/domain/index.js.map dist/domain/shared/aggregate-root.d.ts dist/domain/shared/aggregate-root.js dist/domain/shared/aggregate-root.js.map dist/domain/shared/entity.d.ts dist/domain/shared/entity.js dist/domain/shared/entity.js.map dist/domain/shared/index.d.ts dist/domain/shared/index.js dist/domain/shared/index.js.map dist/domain/shared/repository.interface.d.ts dist/domain/shared/repository.interface.js dist/domain/shared/repository.interface.js.map dist/domain/shared/value-object.d.ts dist/domain/shared/value-object.js dist/domain/shared/value-object.js.map dist/domain/value-objects/coverage-percentage.d.ts dist/domain/value-objects/coverage-percentage.js dist/domain/value-objects/coverage-percentage.js.map dist/domain/value-objects/index.d.ts dist/domain/value-objects/index.js dist/domain/value-objects/index.js.map dist/domain/value-objects/issue-count.d.ts dist/domain/value-objects/issue-count.js dist/domain/value-objects/issue-count.js.map dist/domain/value-objects/metric-value.d.ts dist/domain/value-objects/metric-value.js dist/domain/value-objects/metric-value.js.map dist/domain/value-objects/threshold-value.d.ts dist/domain/value-objects/threshold-value.js dist/domain/value-objects/threshold-value.js.map dist/handlers/base/handler.factory.d.ts dist/handlers/base/handler.factory.js dist/handlers/base/handler.factory.js.map dist/handlers/base/handler.interface.d.ts dist/handlers/base/handler.interface.js dist/handlers/base/handler.interface.js.map dist/handlers/base/index.d.ts dist/handlers/base/index.js dist/handlers/base/index.js.map dist/handlers/compliance-reports.d.ts dist/handlers/compliance-reports.js dist/handlers/compliance-reports.js.map dist/handlers/dependency-vulnerabilities.d.ts dist/handlers/dependency-vulnerabilities.js dist/handlers/dependency-vulnerabilities.js.map dist/handlers/index.d.ts dist/handlers/index.js dist/handlers/index.js.map dist/handlers/project-issues.d.ts dist/handlers/project-issues.js dist/handlers/project-issues.js.map dist/handlers/project-runs.d.ts dist/handlers/project-runs.js dist/handlers/project-runs.js.map dist/handlers/projects.d.ts dist/handlers/projects.js dist/handlers/projects.js.map dist/handlers/quality-metrics.d.ts dist/handlers/quality-metrics.js dist/handlers/quality-metrics.js.map dist/handlers/recent-run-issues.d.ts dist/handlers/recent-run-issues.js dist/handlers/recent-run-issues.js.map dist/handlers/run.d.ts dist/handlers/run.js dist/handlers/run.js.map dist/index-registry.d.ts dist/index-registry.js dist/index-registry.js.map dist/index.d.ts dist/index.js dist/index.js.map dist/infrastructure/factories/index.d.ts dist/infrastructure/factories/index.js dist/infrastructure/factories/index.js.map dist/infrastructure/factories/repository.factory.d.ts dist/infrastructure/factories/repository.factory.js dist/infrastructure/factories/repository.factory.js.map dist/infrastructure/index.d.ts dist/infrastructure/index.js dist/infrastructure/index.js.map dist/infrastructure/mappers/analysis-run.mapper.d.ts dist/infrastructure/mappers/analysis-run.mapper.js dist/infrastructure/mappers/analysis-run.mapper.js.map dist/infrastructure/mappers/compliance-report.mapper.d.ts dist/infrastructure/mappers/compliance-report.mapper.js dist/infrastructure/mappers/compliance-report.mapper.js.map dist/infrastructure/mappers/index.d.ts dist/infrastructure/mappers/index.js dist/infrastructure/mappers/index.js.map dist/infrastructure/mappers/project.mapper.d.ts dist/infrastructure/mappers/project.mapper.js dist/infrastructure/mappers/project.mapper.js.map dist/infrastructure/mappers/quality-metrics.mapper.d.ts dist/infrastructure/mappers/quality-metrics.mapper.js dist/infrastructure/mappers/quality-metrics.mapper.js.map dist/infrastructure/repositories/analysis-run.repository.d.ts dist/infrastructure/repositories/analysis-run.repository.js dist/infrastructure/repositories/analysis-run.repository.js.map dist/infrastructure/repositories/compliance-report.repository.d.ts dist/infrastructure/repositories/compliance-report.repository.js dist/infrastructure/repositories/compliance-report.repository.js.map dist/infrastructure/repositories/index.d.ts dist/infrastructure/repositories/index.js dist/infrastructure/repositories/index.js.map dist/infrastructure/repositories/project.repository.d.ts dist/infrastructure/repositories/project.repository.js dist/infrastructure/repositories/project.repository.js.map dist/infrastructure/repositories/quality-metrics.repository.d.ts dist/infrastructure/repositories/quality-metrics.repository.js dist/infrastructure/repositories/quality-metrics.repository.js.map dist/models/analysis.d.ts dist/models/analysis.js dist/models/analysis.js.map dist/models/common.d.ts dist/models/common.js dist/models/common.js.map dist/models/index.d.ts dist/models/index.js dist/models/index.js.map dist/models/issues.d.ts dist/models/issues.js dist/models/issues.js.map dist/models/metrics.d.ts dist/models/metrics.js dist/models/metrics.js.map dist/models/pagination.d.ts dist/models/pagination.js dist/models/pagination.js.map dist/models/projects.d.ts dist/models/projects.js dist/models/projects.js.map dist/models/report.d.ts dist/models/report.js dist/models/report.js.map dist/models/runs.d.ts dist/models/runs.js dist/models/runs.js.map dist/models/security.d.ts dist/models/security.js dist/models/security.js.map dist/models/vulnerability.d.ts dist/models/vulnerability.js dist/models/vulnerability.js.map dist/server/index-enhanced.d.ts dist/server/index-enhanced.js dist/server/index-enhanced.js.map dist/server/mcp-server.d.ts dist/server/mcp-server.js dist/server/mcp-server.js.map dist/server/tool-definitions.d.ts dist/server/tool-definitions.js dist/server/tool-definitions.js.map dist/server/tool-helpers.d.ts dist/server/tool-helpers.js dist/server/tool-helpers.js.map dist/server/tool-registration.d.ts dist/server/tool-registration.js dist/server/tool-registration.js.map dist/server/tool-registry-enhanced.d.ts dist/server/tool-registry-enhanced.js dist/server/tool-registry-enhanced.js.map dist/server/tool-registry.d.ts dist/server/tool-registry.js dist/server/tool-registry.js.map dist/tools/example.tool.d.ts dist/tools/example.tool.js dist/tools/example.tool.js.map dist/types/analysis.d.ts dist/types/analysis.js dist/types/analysis.js.map dist/types/branded.d.ts dist/types/branded.js dist/types/branded.js.map dist/types/discriminated-unions.d.ts dist/types/discriminated-unions.js dist/types/discriminated-unions.js.map dist/types/graphql-responses.d.ts dist/types/graphql-responses.js dist/types/graphql-responses.js.map dist/types/index.d.ts dist/types/index.js dist/types/index.js.map dist/types/metrics.d.ts dist/types/metrics.js dist/types/metrics.js.map dist/types/report-types.d.ts dist/types/report-types.js dist/types/report-types.js.map dist/types/vulnerability.d.ts dist/types/vulnerability.js dist/types/vulnerability.js.map dist/utils/error-handling/index.d.ts dist/utils/error-handling/index.js dist/utils/error-handling/index.js.map dist/utils/error-handling/mcp-error-converter.d.ts dist/utils/error-handling/mcp-error-converter.js dist/utils/error-handling/mcp-error-converter.js.map dist/utils/error-handling/mcp-error-factory.d.ts dist/utils/error-handling/mcp-error-factory.js dist/utils/error-handling/mcp-error-factory.js.map dist/utils/error-handling/mcp-error-formatter.d.ts dist/utils/error-handling/mcp-error-formatter.js dist/utils/error-handling/mcp-error-formatter.js.map dist/utils/error-handling/mcp-errors.d.ts dist/utils/error-handling/mcp-errors.js dist/utils/error-handling/mcp-errors.js.map dist/utils/errors.d.ts dist/utils/errors.js dist/utils/errors.js.map dist/utils/errors/categories.d.ts dist/utils/errors/categories.js dist/utils/errors/categories.js.map dist/utils/errors/factory.d.ts dist/utils/errors/factory.js dist/utils/errors/factory.js.map dist/utils/errors/handlers.d.ts dist/utils/errors/handlers.js dist/utils/errors/handlers.js.map dist/utils/errors/index.d.ts dist/utils/errors/index.js dist/utils/errors/index.js.map dist/utils/errors/types.d.ts dist/utils/errors/types.js dist/utils/errors/types.js.map dist/utils/graphql/index.d.ts dist/utils/graphql/index.js dist/utils/graphql/index.js.map dist/utils/graphql/processor.d.ts dist/utils/graphql/processor.js dist/utils/graphql/processor.js.map dist/utils/graphql/processors/run-checks-processor.d.ts dist/utils/graphql/processors/run-checks-processor.js dist/utils/graphql/processors/run-checks-processor.js.map dist/utils/graphql/queries.d.ts dist/utils/graphql/queries.js dist/utils/graphql/queries.js.map dist/utils/graphql/query-builder.d.ts dist/utils/graphql/query-builder.js dist/utils/graphql/query-builder.js.map dist/utils/index.d.ts dist/utils/index.js dist/utils/index.js.map dist/utils/logger.d.ts dist/utils/logger.js dist/utils/logger.js.map dist/utils/logging/index.d.ts dist/utils/logging/index.js dist/utils/logging/index.js.map dist/utils/logging/logger.d.ts dist/utils/logging/logger.js dist/utils/logging/logger.js.map dist/utils/pagination/helpers.d.ts dist/utils/pagination/helpers.js dist/utils/pagination/helpers.js.map dist/utils/pagination/index.d.ts dist/utils/pagination/index.js dist/utils/pagination/index.js.map dist/utils/pagination/manager.d.ts dist/utils/pagination/manager.js dist/utils/pagination/manager.js.map dist/utils/pagination/types.d.ts dist/utils/pagination/types.js dist/utils/pagination/types.js.map dist/utils/response-builder.d.ts dist/utils/response-builder.js dist/utils/response-builder.js.map dist/utils/retry/circuit-breaker.d.ts dist/utils/retry/circuit-breaker.js dist/utils/retry/circuit-breaker.js.map dist/utils/retry/exponential-backoff.d.ts dist/utils/retry/exponential-backoff.js dist/utils/retry/exponential-backoff.js.map dist/utils/retry/index.d.ts dist/utils/retry/index.js dist/utils/retry/index.js.map dist/utils/retry/retry-budget.d.ts dist/utils/retry/retry-budget.js dist/utils/retry/retry-budget.js.map dist/utils/retry/retry-executor.d.ts dist/utils/retry/retry-executor.js dist/utils/retry/retry-executor.js.map dist/utils/retry/retry-policy.d.ts dist/utils/retry/retry-policy.js dist/utils/retry/retry-policy.js.map dist/version.d.ts dist/version.js dist/version.js.map docs/architecture/decisions/0001-record-architecture-decisions.md docs/enhanced-tool-registry.md docs/error-handling.md docs/graphql-query-builder.md docs/mcp-server-module.md eslint.config.js mise.toml npm-package-manifest.txt osv-scanner.toml package.json scripts/actionlint.sh scripts/build-with-version.js scripts/ci-local.sh scripts/scan-container.sh scripts/setup.sh scripts/update-graphql-schema.js src/__tests__/branded-types.test.ts src/__tests__/cli-version.test.ts src/__tests__/client-factory.test.ts src/__tests__/client/base-client.test.ts src/__tests__/client/issues-client.test.ts src/__tests__/client/metrics-client-history.test.ts src/__tests__/client/metrics-client.test.ts src/__tests__/client/projects-client.test.ts src/__tests__/client/runs-client.test.ts src/__tests__/client/security-client.test.ts src/__tests__/compatibility.test.skip src/__tests__/config/index.test.ts src/__tests__/deepsource-compliance-reports.test.ts src/__tests__/deepsource-coverage-gaps.test.ts src/__tests__/deepsource-error-handling.test.ts src/__tests__/deepsource-find-most-recent-run.test.ts src/__tests__/deepsource-generic-errors.test.ts src/__tests__/deepsource-graphql-execution.test.ts src/__tests__/deepsource-historical-data-error-handling.test.ts src/__tests__/deepsource-historical-data-processing.test.ts src/__tests__/deepsource-http-errors.test.ts src/__tests__/deepsource-internal-utils.test.ts src/__tests__/deepsource-metric-calculator.test.ts src/__tests__/deepsource-metric-threshold-updates.test.ts src/__tests__/deepsource-metric-validation.test.ts src/__tests__/deepsource-metrics-history.test.ts src/__tests__/deepsource-metrics-response.test.ts src/__tests__/deepsource-nonetype-error.test.ts src/__tests__/deepsource-pagination.test.ts src/__tests__/deepsource-process-run-checks.test.ts src/__tests__/deepsource-quality-metrics.test.ts src/__tests__/deepsource-recent-run-issues.test.ts src/__tests__/deepsource-report-utils.test.ts src/__tests__/deepsource-test-utils.test.ts src/__tests__/deepsource-validation.test.ts src/__tests__/deepsource-vulnerability-errors.test.ts src/__tests__/deepsource-vulnerability-processing.test.ts src/__tests__/deepsource-vulnerability-utils.test.ts src/__tests__/deepsource.test.ts src/__tests__/discriminated-unions.test.ts src/__tests__/error-handlers.test.ts src/__tests__/errors.test.ts src/__tests__/handlers-integration.test.ts src/__tests__/handlers-unit.test.ts src/__tests__/handlers/base/handler.factory.test.ts src/__tests__/handlers/compliance-reports.test.ts src/__tests__/handlers/project-runs.test.ts src/__tests__/handlers/projects.test.ts src/__tests__/handlers/quality-metrics.test.ts src/__tests__/handlers/recent-run-issues.test.ts src/__tests__/handlers/run.test.ts src/__tests__/index-comprehensive.test.ts src/__tests__/index-minimal.test.ts src/__tests__/index-quality-metrics.test.ts src/__tests__/index-registry-coverage.test.ts src/__tests__/index-registry-errors.test.ts src/__tests__/index-registry.test.ts src/__tests__/index.test.ts src/__tests__/logger.test.ts src/__tests__/models/metrics.test.ts src/__tests__/models/security.test.ts src/__tests__/pagination-manager.test.ts src/__tests__/project-issues.test.ts src/__tests__/projects-client.test.ts src/__tests__/report-types.test.ts src/__tests__/response-builder.test.ts src/__tests__/server/index-enhanced-simple.test.ts src/__tests__/server/mcp-server.test.ts src/__tests__/server/tool-definitions.test.ts src/__tests__/server/tool-helpers.test.ts src/__tests__/server/tool-registration.test.ts src/__tests__/server/tool-registry-coverage.test.ts src/__tests__/server/tool-registry-enhanced.test.ts src/__tests__/server/tool-registry-security.test.ts src/__tests__/server/tool-registry.test.ts src/__tests__/test-types.ts src/__tests__/utils/errors/factory.test.ts src/__tests__/utils/errors/types.test.ts src/__tests__/utils/graphql/processor.test.ts src/__tests__/utils/graphql/processors/run-checks-processor.test.ts src/__tests__/utils/graphql/queries.test.ts src/__tests__/utils/logging/logger.test.ts src/__tests__/utils/pagination/helpers.test.ts src/__tests__/utils/retry/circuit-breaker.test.ts src/__tests__/utils/retry/exponential-backoff.test.ts src/__tests__/utils/retry/retry-budget.test.ts src/__tests__/utils/retry/retry-executor.test.ts src/__tests__/utils/retry/retry-policy.test.ts src/__tests__/utils/test-utils.ts src/__tests__/version.test.ts src/adapters/__tests__/handler-adapters.test.ts src/adapters/handler-adapters.ts src/client/base-client.ts src/client/factory.ts src/client/index.ts src/client/issues-client.ts src/client/metrics-client.ts src/client/projects-client.ts src/client/runs-client.ts src/client/security-client.ts src/compatibility.ts src/config/default.ts src/config/features.ts src/config/index.ts src/config/tool-discovery.config.ts src/deepsource.ts src/domain/aggregates/analysis-run/__tests__/analysis-run.aggregate.test.ts src/domain/aggregates/analysis-run/analysis-run.aggregate.ts src/domain/aggregates/analysis-run/analysis-run.repository.ts src/domain/aggregates/analysis-run/analysis-run.types.ts src/domain/aggregates/analysis-run/index.ts src/domain/aggregates/compliance-report/__tests__/compliance-report.aggregate.test.ts src/domain/aggregates/compliance-report/compliance-report.aggregate.ts src/domain/aggregates/compliance-report/compliance-report.repository.ts src/domain/aggregates/compliance-report/compliance-report.types.ts src/domain/aggregates/compliance-report/index.ts src/domain/aggregates/project/__tests__/project.aggregate.test.ts src/domain/aggregates/project/index.ts src/domain/aggregates/project/project.aggregate.ts src/domain/aggregates/project/project.repository.ts src/domain/aggregates/project/project.types.ts src/domain/aggregates/quality-metrics/__tests__/quality-metrics.aggregate.test.ts src/domain/aggregates/quality-metrics/index.ts src/domain/aggregates/quality-metrics/quality-metrics.aggregate.ts src/domain/aggregates/quality-metrics/quality-metrics.repository.ts src/domain/aggregates/quality-metrics/quality-metrics.types.ts src/domain/index.ts src/domain/shared/__tests__/aggregate-root.test.ts src/domain/shared/__tests__/entity.test.ts src/domain/shared/__tests__/value-object.test.ts src/domain/shared/aggregate-root.ts src/domain/shared/entity.ts src/domain/shared/index.ts src/domain/shared/repository.interface.ts src/domain/shared/value-object.ts src/domain/value-objects/__tests__/coverage-percentage.test.ts src/domain/value-objects/__tests__/issue-count.test.ts src/domain/value-objects/__tests__/metric-value.test.ts src/domain/value-objects/__tests__/threshold-value.test.ts src/domain/value-objects/coverage-percentage.ts src/domain/value-objects/index.ts src/domain/value-objects/issue-count.ts src/domain/value-objects/metric-value.ts src/domain/value-objects/threshold-value.ts src/handlers/base/handler.factory.ts src/handlers/base/handler.interface.ts src/handlers/base/index.ts src/handlers/compliance-reports.ts src/handlers/dependency-vulnerabilities.ts src/handlers/index.ts src/handlers/project-issues.ts src/handlers/project-runs.ts src/handlers/projects.ts src/handlers/quality-metrics.ts src/handlers/recent-run-issues.ts src/handlers/run.ts src/index-registry.ts src/index.ts src/infrastructure/factories/__tests__/repository.factory.test.ts src/infrastructure/factories/index.ts src/infrastructure/factories/repository.factory.ts src/infrastructure/index.ts src/infrastructure/mappers/__tests__/analysis-run.mapper.test.ts src/infrastructure/mappers/__tests__/compliance-report.mapper.test.ts src/infrastructure/mappers/__tests__/project.mapper.test.ts src/infrastructure/mappers/__tests__/quality-metrics.mapper.test.ts src/infrastructure/mappers/analysis-run.mapper.ts src/infrastructure/mappers/compliance-report.mapper.ts src/infrastructure/mappers/index.ts src/infrastructure/mappers/project.mapper.ts src/infrastructure/mappers/quality-metrics.mapper.ts src/infrastructure/repositories/__tests__/analysis-run.repository.test.ts src/infrastructure/repositories/__tests__/compliance-report.repository.test.ts src/infrastructure/repositories/__tests__/index.test.ts src/infrastructure/repositories/__tests__/project.repository.test.ts src/infrastructure/repositories/__tests__/quality-metrics.repository.test.ts src/infrastructure/repositories/analysis-run.repository.ts src/infrastructure/repositories/compliance-report.repository.ts src/infrastructure/repositories/index.ts src/infrastructure/repositories/project.repository.ts src/infrastructure/repositories/quality-metrics.repository.ts src/models/analysis.ts src/models/common.ts src/models/index.ts src/models/issues.ts src/models/metrics.ts src/models/pagination.ts src/models/projects.ts src/models/report.ts src/models/runs.ts src/models/security.ts src/models/vulnerability.ts src/server/index-enhanced.ts src/server/mcp-server.ts src/server/tool-definitions.ts src/server/tool-helpers.ts src/server/tool-registration.ts src/server/tool-registry-enhanced.ts src/server/tool-registry.ts src/tools/__tests__/example.tool.test.ts src/tools/example.tool.ts src/types/analysis.ts src/types/branded.ts src/types/discriminated-unions.ts src/types/graphql-responses.ts src/types/index.ts src/types/metrics.ts src/types/report-types.ts src/types/vulnerability.ts src/utils/error-handling/__tests__/mcp-errors.test.ts src/utils/error-handling/index.ts src/utils/error-handling/mcp-error-converter.ts src/utils/error-handling/mcp-error-factory.ts src/utils/error-handling/mcp-error-formatter.ts src/utils/error-handling/mcp-errors.ts src/utils/errors.ts src/utils/errors/categories.ts src/utils/errors/factory.ts src/utils/errors/handlers.ts src/utils/errors/index.ts src/utils/errors/types.ts src/utils/graphql/__tests__/query-builder.test.ts src/utils/graphql/index.ts src/utils/graphql/processor.ts src/utils/graphql/processors/run-checks-processor.ts src/utils/graphql/queries.ts src/utils/graphql/query-builder.ts src/utils/index.ts src/utils/logger.ts src/utils/logging/index.ts src/utils/logging/logger.ts src/utils/pagination/helpers.ts src/utils/pagination/index.ts src/utils/pagination/manager.ts src/utils/pagination/types.ts src/utils/response-builder.ts src/utils/retry/circuit-breaker.ts src/utils/retry/exponential-backoff.ts src/utils/retry/index.ts src/utils/retry/retry-budget.ts src/utils/retry/retry-executor.ts src/utils/retry/retry-policy.ts src/version.ts tsconfig.build.json tsconfig.json vitest.config.ts