Tsconfig MCP Server

MCP server that resolves TypeScript config inheritance chains and answers what compiler options actually apply to any file

Local serverstdioTypeScript

What is the Tsconfig MCP Server?

MCP server that resolves TypeScript config inheritance chains and answers what compiler options actually apply to any file

What the server does

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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
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), a
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 failu

How to install the Tsconfig MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Tsconfig to get effective compiler options.”
  • “Use Tsconfig to resolve module alias.”
  • “Use Tsconfig to analyze project references.”

Frequently asked questions

MCP server that resolves TypeScript config inheritance chains and answers what compiler options actually apply to any file Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.