TypeScript Migrator MCP
Migrate JavaScript files to TypeScript with customizable conversion rules.
TypeScript Migrator MCP
This MCP server let you easily converts JavaScript files to TypeScript with AI agent.
Setup
Add the following configuration to your MCP settings JSON:
{
"mcpServers": {
"typescript-migrator-mcp": {
"command": "npx",
"args": ["-y", "typescript-migrator-mcp"]
}
}
}
Usage
Once configured, your AI agent can convert JavaScript files to TypeScript by calling the conversion tool with a file path:
Convert @test/myFile.js to TypeScript
The tool will:
- Analyze the JavaScript file and its dependencies
- Generate appropriate TypeScript types and interfaces
- Preserve original logic while adding type safety
- Ensure lint and type errors are fixed
- Summarize the work of AI
Configuration
Custom Rules
To add your own conversion rules, create a custom markdown file with your rules and specify its path in the environment configuration:
{
"mcpServers": {
"typescript-migrator-mcp": {
"command": "npx",
"args": ["-y", "typescript-migrator-mcp"],
"env": {
"CUSTOM_RULES_MD_FILE_PATH": "/path/to/your/custom-rules.md"
}
}
}
}
License
Apache 2.0
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Docs Provider
Provides documentation context to LLMs from local markdown files via MCP.
SVG to PNG MCP Server
A server that converts SVG code to PNG images using the cairosvg library.
ShellAgent
An MCP server for executing shell commands, requiring Node.js 18 or newer.
Build-Scout
Interact with various build systems including Gradle, Maven, NPM/Yarn, Cargo, Python, Makefile, and CMake.
DevHub
Manage and utilize website content within the DevHub CMS platform
Sistema de Predicción Energética con IA
An AI-powered system for analyzing and predicting domestic energy consumption. It offers precise forecasts, historical pattern analysis, and personalized optimization recommendations through a conversational interface.
Reloaderoo
A local MCP server for developers that mirrors your in-development MCP server, allowing seamless restarts and tool updates so you can build, test, and iterate on your MCP server within the same AI session without interruption.
DeepSeek-Claude MCP Server
Enhance Claude's reasoning capabilities by integrating DeepSeek's advanced engine.
Sleep MCP Server
Provides a sleep/wait tool to add delays between operations, such as waiting between API calls or testing eventually consistent systems.
GoThreatScope
Go-based SBOM, vulnerability, and secret scanner with MCP support.