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
Похожие серверы
Scout Monitoring MCP
спонсорPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
спонсорAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Authless Remote MCP Server
An example of a remote MCP server without authentication, deployable on Cloudflare Workers or runnable locally.
USolver
A server for solving combinatorial, convex, integer, and non-linear optimization problems.
MCP System Monitor Server
A cross-platform server for real-time monitoring of CPU, GPU, memory, disk, network, and process information.
BrainBox
Hebbian memory for AI agents — learns file access patterns, builds neural pathways, predicts next tools/files, saves tokens
Maven Tools
Access real-time Maven Central intelligence for fast and accurate dependency information.
MCP Starter Server
A minimal template for building AI assistant tools using the ModelContextProtocol.
공공 API 연동 MCP 샘플
Integrates the Korea Meteorological Administration's public weather API to provide climate data.
Context7 Python
A Python server for searching libraries and retrieving documentation, with support for HTTP/HTTPS proxies.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
ShellAgent
An MCP server for executing shell commands, requiring Node.js 18 or newer.