TypeScript Analyzer MCP Server - Enterprise Edition
@davidleathers113
About TypeScript Analyzer MCP Server - Enterprise Edition
Analyze and fix any types in TypeScript with an intelligent MCP server – fast, extensible, and React-aware.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"typescript-analyzer-mcp": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is TypeScript Analyzer MCP Server - Enterprise Edition?
It is a high-performance MCP (Model Context Protocol) server that analyzes and fixes TypeScript any types in a codebase, featuring caching, intelligent type inference, batch processing, and React component interface generation. It is designed for developers using MCP‑compatible assistants like Claude Desktop.
How to use TypeScript Analyzer MCP Server - Enterprise Edition?
Clone the repository, run npm install, build with npm run build, and start with npm start (or node dist/index.js). To use with Claude Desktop, add the server to your .claude-app.json configuration under mcpServers. Invoke operations via tools such as analyzeTypeScriptFile, fixTypeScriptFile, batchFixTypeScriptFiles, generateComponentInterface, clearCache, configureServer, and getServerInfo.
Key features of TypeScript Analyzer MCP Server - Enterprise Edition
- Scan TypeScript files for
anytypes and suggest replacements - Automatically replace
anytypes with more specific types - Process multiple files in batch with configurable concurrency
- Generate TypeScript interfaces for React component props
- Update server configuration (log level, caching) at runtime
- Clear and manage analysis caches on demand
Use cases of TypeScript Analyzer MCP Server - Enterprise Edition
- Analyze a single TypeScript file for
anyusage and get suggestions - Fix
anytypes in a file with a dry run to preview changes - Batch‑fix all TypeScript files in a directory, skipping backups if desired
- Generate a proper TypeScript interface for a React component’s props
- Clear the analysis cache to force fresh analyses on subsequent operations
FAQ from TypeScript Analyzer MCP Server - Enterprise Edition
What types does the server use to replace any?
It applies a predefined set of mappings for common patterns (e.g., e: any → e: React.SyntheticEvent, data: any → data: Record<string, unknown>). For patterns not covered, it defaults to unknown.
Can I preview changes before applying them?
Yes. The fixTypeScriptFile and batchFixTypeScriptFiles tools accept a dryRun parameter. When set to true, the server shows the modifications without altering any files.
How can I process multiple files at once?
Use the batchFixTypeScriptFiles tool. Provide a directory and a glob pattern (e.g., **/*.ts) to select files; you can also adjust concurrency for parallel processing.
Does the server create backup files before editing?
By default, a backup is created before modifying a file. To skip this, set the skipBackup parameter to true when calling fixTypeScriptFile or batchFixTypeScriptFiles.
How do I clear the analysis cache?
Invoke the clearCache tool. This removes all cached analysis results, forcing fresh analyses on subsequent operations.
Frequently asked questions
What types does the server use to replace `any`?
It applies a predefined set of mappings for common patterns (e.g., `e: any` → `e: React.SyntheticEvent`, `data: any` → `data: Record<string, unknown>`). For patterns not covered, it defaults to `unknown`.
Can I preview changes before applying them?
Yes. The `fixTypeScriptFile` and `batchFixTypeScriptFiles` tools accept a `dryRun` parameter. When set to `true`, the server shows the modifications without altering any files.
How can I process multiple files at once?
Use the `batchFixTypeScriptFiles` tool. Provide a `directory` and a glob `pattern` (e.g., `**/*.ts`) to select files; you can also adjust `concurrency` for parallel processing.
Does the server create backup files before editing?
By default, a backup is created before modifying a file. To skip this, set the `skipBackup` parameter to `true` when calling `fixTypeScriptFile` or `batchFixTypeScriptFiles`.
How do I clear the analysis cache?
Invoke the `clearCache` tool. This removes all cached analysis results, forcing fresh analyses on subsequent operations.
Basic information
More Other MCP servers

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
Comments