io.github.vola-trebla/tsconfig-inheritance-flattener-mcp
Resolves TypeScript config inheritance chains and returns effective compiler options per file.
Versions
0.1.3latestTools 6
get_effective_compiler_options 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 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.
analyze_project_references Inspect a tsconfig.json
explain_emission_structure 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 Run TypeScript
detect_config_overlaps 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