# io.github.vola-trebla/tsconfig-inheritance-flattener-mcp (npm · tsconfig-inheritance-flattener-mcp)

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

- Trust score: 70/100 (medium)
- Change this week: +24
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `tsconfig-inheritance-flattener-mcp`: 70/100 (this document), [markdown](https://verifymcp.io/servers/vola-trebla-tsconfig-inheritance-flattener-mcp/tsconfig-inheritance-flattener-mcp.md), [page](https://verifymcp.io/servers/vola-trebla-tsconfig-inheritance-flattener-mcp/tsconfig-inheritance-flattener-mcp)

## Channel facts

- Registry: `npm`
- Package: `tsconfig-inheritance-flattener-mcp`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 74 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 83/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 590 tokens (~98/item across 6 items; 6 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add vola-trebla-tsconfig-inheritance-flattener-mcp -- npx -y tsconfig-inheritance-flattener-mcp
```

### Codex

```bash
codex mcp add vola-trebla-tsconfig-inheritance-flattener-mcp -- npx -y tsconfig-inheritance-flattener-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "vola-trebla-tsconfig-inheritance-flattener-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "tsconfig-inheritance-flattener-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add vola-trebla-tsconfig-inheritance-flattener-mcp --command npx --arg -y --arg tsconfig-inheritance-flattener-mcp
```

### Hermes

```yaml
mcp_servers:
  vola-trebla-tsconfig-inheritance-flattener-mcp:
    command: "npx"
    args: ["-y", "tsconfig-inheritance-flattener-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "vola-trebla-tsconfig-inheritance-flattener-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tsconfig-inheritance-flattener-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 70, +65)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Stability: unverified → 0.20
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: MIT

### 2026-07-31 (score 5, −41)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (6)

### `get_effective_compiler_options` (~115 tokens)

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.

Input parameters:

- `configPath` (string, required): Absolute path to the tsconfig.json file to resolve, e.g. /project/tsconfig.json
- `includeRaw` (boolean): If true, also return the raw per-file options before merging. Default false.

### `resolve_module_alias` (~110 tokens)

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.

Input parameters:

- `alias` (string, required): The import alias to resolve, e.g. @/hooks/useAuth or ~lib/helpers
- `configPath` (string, required): Absolute path to the tsconfig.json whose paths config should be used

### `analyze_project_references` (~71 tokens)

Inspect a tsconfig.json's project references array and validate that each referenced package has composite:true enabled. Detects missing or broken cross-package references in TypeScript monorepos that would cause silent build failures.

Input parameters:

- `configPath` (string, required): Absolute path to the tsconfig.json to analyze for project references

### `explain_emission_structure` (~85 tokens)

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.

Input parameters:

- `configPath` (string, required): Absolute path to the tsconfig.json to analyze for emission structure

### `simulate_module_resolution` (~127 tokens)

Run TypeScript's exact module resolution algorithm for a given import and return the resolved file path plus every candidate path that was tried and rejected. Eliminates guesswork about why an import resolves (or fails to resolve) under Node16/NodeNext/Bundler strategies.

Input parameters:

- `configPath` (string, required): Absolute path to the tsconfig.json to use for resolution settings
- `containingFile` (string, required): Absolute path to the source file that contains the import
- `moduleName` (string, required): The import specifier to resolve, e.g. ./utils/helpers or @/components/Button

### `detect_config_overlaps` (~82 tokens)

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.

Input parameters:

- `configPaths` (array, required): Two or more absolute paths to tsconfig.json files to compare

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/vola-trebla-tsconfig-inheritance-flattener-mcp/tsconfig-inheritance-flattener-mcp#diagnostics

## Score history

- 2026-08-03: 70
- 2026-08-02: 70
- 2026-08-01: 5
- 2026-07-31: 5
- 2026-07-30: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/tsconfig-inheritance-flattener-mcp
- Socket report: https://socket.dev/npm/package/tsconfig-inheritance-flattener-mcp
- Repository: https://github.com/vola-trebla/tsconfig-inheritance-flattener-mcp
- Changelog RSS feed: https://verifymcp.io/servers/vola-trebla-tsconfig-inheritance-flattener-mcp/tsconfig-inheritance-flattener-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/vola-trebla-tsconfig-inheritance-flattener-mcp/tsconfig-inheritance-flattener-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/vola-trebla-tsconfig-inheritance-flattener-mcp/tsconfig-inheritance-flattener-mcp
