← Back to search

io.github.vola-trebla/tsconfig-inheritance-flattener-mcp

vola-trebla Scanned 29d ago

Resolves TypeScript config inheritance chains and returns effective compiler options per file.

A
93.1 / 100

Versions

0.1.3latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 6

get_effective_compiler_options
annotations: none low

Resolve the full tsconfig.json inheritance chain and return the final merged compiler options that actually apply — including options inherited from extended base configs in node_modules or monorepo packages. Eliminates agent hallucinations about strict mode, moduleResolution, paths, and target.

resolve_module_alias
annotations: none low

Map a TypeScript path alias (e.g. @/components/Button or @utils/format) to its physical file location on disk, using the paths and baseUrl from the resolved tsconfig. Useful when an agent needs to navigate to the actual file behind an import.

alias string
analyze_project_references
annotations: none low

Inspect a tsconfig.json

explain_emission_structure
annotations: none low

Build a virtual tree of what TypeScript will emit for each source file — compiled JS, declaration (.d.ts), and source map paths — without running the compiler. Useful when an agent needs to predict where output files will land or debug rootDir/outDir misconfigurations.

simulate_module_resolution
annotations: none low

Run TypeScript

detect_config_overlaps
annotations: none low

Find source files compiled by more than one tsconfig simultaneously and surface option conflicts (strict, module, target, etc.) between them. Essential for monorepos where tsconfig.app.json and tsconfig.spec.json share the same src/ tree with incompatible settings.

Permissions 1

filesystem low
Server uses filesystem capabilities via: fs sync ops

Scan Findings 19

low
Tool 'get_effective_compiler_options' has no annotations annotation_checker · 100%
low
Tool 'resolve_module_alias' has no annotations annotation_checker · 100%
low
Tool 'analyze_project_references' has no annotations annotation_checker · 100%
low
Tool 'explain_emission_structure' has no annotations annotation_checker · 100%
low
Tool 'simulate_module_resolution' has no annotations annotation_checker · 100%
low
Tool 'detect_config_overlaps' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
info
package.json metadata manifest_parser · 100%
info
Tool: get_effective_compiler_options manifest_parser · 70%
info
Tool: resolve_module_alias manifest_parser · 70%
info
Tool: analyze_project_references manifest_parser · 70%
info
Tool: explain_emission_structure manifest_parser · 70%
info
Tool: simulate_module_resolution manifest_parser · 70%
info
Tool: detect_config_overlaps manifest_parser · 70%
info
Transport: stdio manifest_parser · 90%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
low
Permission: filesystem access detected permission_analyzer · 90%
info
SBOM generated: 330 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%