Resolves TypeScript config inheritance chains and returns effective compiler options per file.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
Your agent reads tsconfig.json and sees:
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:
noUncheckedIndexedAccess@/ resolves totarget is ES2022, not ES5The TypeScript compiler API already resolves all of this. This MCP just exposes it.
get_effective_compiler_optionsResolves 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.
resolve_module_aliasMaps 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.
analyze_project_referencesInspects 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.
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:
Now the agent knows exactly why arr[0] has type string | undefined and not just string. No more wrong suggestions.
"What compiler options actually apply to
/project/apps/web/tsconfig.json? It extends a monorepo base and @tsconfig/strictest."
"Where does
@/components/Buttonresolve to on disk?"
"Are the project references in my root tsconfig valid? Do all referenced packages have composite: true?"
Works great alongside:
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tsconfig-inheritance-flattener-mcp)<a href="https://allmcps.com/mcp/tsconfig-inheritance-flattener-mcp"><img src="https://allmcps.com/api/badge/tsconfig-inheritance-flattener-mcp?style=directory" alt="Tsconfig Inheritance Flattener MCP on AllMCPs" /></a>