Skip to content
MCP server
Registry

tsconfig-inheritance-flattener-mcp MCP Server

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

tsconfig-inheritance-flattener-mcp scores 51 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 46 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by vola-treblaMITTypeScript0 stars
Trust score
51Fair
Trust score 51 of 100, Fair

Fair trust

51 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 51 comes from

22 + 5 + 0 + 10 + 4 + 10 = 51. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance5 / 20

How recently the repository saw a commit or release.

Maintenance: 5 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "vola-trebla-tsconfig-inheritance-flattener-mcp": {      "command": "npx",      "args": [        "-y",        "tsconfig-inheritance-flattener-mcp@0.2.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools3Tool docs quality grade F

All capabilities

About

πŸ” tsconfig-inheritance-flattener-mcp

npm CI License: MIT

Your AI agent reads tsconfig.json. It has no idea what it actually means.

MCP server that resolves the full TypeScript config inheritance chain and returns the effective compiler options that actually apply β€” including everything inherited from extended base configs, monorepo packages, and node_modules presets.


πŸ€” The problem

Your agent reads tsconfig.json and sees:

{ "extends": "@tsconfig/strictest", "compilerOptions": { "paths": { "@/*": ["./src/*"] } } }

It has no idea that @tsconfig/strictest sets strict: true, noUncheckedIndexedAccess: true, exactOptionalPropertyTypes: true. It doesn't know that baseUrl is defined two levels up in your monorepo base config. So it:

  • Suggests code that would fail noUncheckedIndexedAccess
  • Gets confused about what @/ resolves to
  • Doesn't know your target is ES2022, not ES5
  • Gives wrong answers about module resolution

The TypeScript compiler API already resolves all of this. This MCP just exposes it.


πŸ› οΈ Tools

get_effective_compiler_options

Resolves the full extends chain and returns the merged compiler options that actually apply to a given tsconfig.json. Shows the inheritance chain, all merged options (with enums as readable strings, not magic numbers), and include/exclude patterns.

Effective TypeScript Configuration
  Config:            /project/apps/web/tsconfig.json
  Inheritance chain: /project/apps/web/tsconfig.json
                     β†’ /project/tsconfig.base.json
                     β†’ node_modules/@tsconfig/strictest/tsconfig.json

Compiler Options (merged):
  target: "ES2022"
  module: "NodeNext"
  moduleResolution: "NodeNext"
  strict: true
  noUncheckedIndexedAccess: true
  exactOptionalPropertyTypes: true
  baseUrl: "/project"
  paths: { "@/*": ["apps/web/src/*"] }

resolve_module_alias

Maps a TypeScript path alias (e.g. @/hooks/useAuth) to its physical file location on disk, using the resolved paths and baseUrl from the tsconfig. Returns all existing candidates with extension probing.

Alias Resolution: @/hooks/useAuth
  Config:   /project/apps/web/tsconfig.json
  Base URL: /project

Resolved physical paths:
  /project/apps/web/src/hooks/useAuth.ts      βœ“ exists

analyze_project_references

Inspects the references array in a root tsconfig.json and validates that each referenced package has composite: true. Catches broken cross-package dependencies in TypeScript monorepos before they cause silent build failures.

Project References Analysis
  Config: /project/tsconfig.json
  References found: 2

  [βœ“] packages/shared β†’ /project/packages/shared/tsconfig.json
  [βœ— NOT FOUND] packages/deprecated β†’ /project/packages/deprecated/tsconfig.json

Violations:
  βœ— packages/shared is referenced but does not have composite: true
    Fix: add "composite": true to packages/shared/tsconfig.json

πŸ§ͺ What it looks like in practice

Agent is helping debug a TypeScript error and asks:

"What compiler options are actually active in this project?"

Without this MCP, the agent guesses based on what it sees in tsconfig.json. With it:

get_effective_compiler_options("/project/apps/web/tsconfig.json")
β†’ strict: true, noUncheckedIndexedAccess: true, target: "ES2022", module: "NodeNext"

Now the agent knows exactly why arr[0] has type string | undefined and not just string. No more wrong suggestions.


⚑ Setup

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

πŸš€ Usage

"What compiler options actually apply to /project/apps/web/tsconfig.json? It extends a monorepo base and @tsconfig/strictest."

"Where does @/components/Button resolve to on disk?"

"Are the project references in my root tsconfig valid? Do all referenced packages have composite: true?"

Works great alongside:


πŸ“¦ Links

License

MIT

Frequently asked questions

What is tsconfig-inheritance-flattener-mcp MCP Server?

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

How do I install tsconfig-inheritance-flattener-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. tsconfig-inheritance-flattener-mcp MCP Server runs locally from the npm package tsconfig-inheritance-flattener-mcp with the command npx -y tsconfig-inheritance-flattener-mcp@0.2.0.

Is tsconfig-inheritance-flattener-mcp MCP Server free and open source?

Yes. tsconfig-inheritance-flattener-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does tsconfig-inheritance-flattener-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for tsconfig-inheritance-flattener-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does tsconfig-inheritance-flattener-mcp MCP Server provide?

tsconfig-inheritance-flattener-mcp MCP Server provides 3 tools: analyze_project_references, get_effective_compiler_options, and resolve_module_alias. See the full tool list for descriptions and parameters.

How is tsconfig-inheritance-flattener-mcp MCP Server's trust score calculated?

tsconfig-inheritance-flattener-mcp MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

β€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server