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
TouchDesigner MCP
Control and operate TouchDesigner projects with AI agents using the Model Context Protocol.
Flux Schnell MCP Server
A text-to-image generation server using the Flux Schnell model.
GitGuardian
Scan projects for over 500 types of secrets using GitGuardian's API to prevent credential leaks.
ExMCP Test Server
An Elixir-based MCP server for testing and experimenting with the Model Context Protocol.
GameCode MCP2
A Model Context Protocol (MCP) server for tool integration, configured using a tools.yaml file.
Panther
Interact with the Panther security platform to write detections, query logs with natural language, and manage alerts.
Chess FEN MCP Server
Validate and visualize chess positions using FEN notation.
IDA Pro MCP
MCP Server for automated reverse engineering with IDA Pro.
Octopus Deploy Official MCP Server
The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate.
Kirha MCP Gateway
An MCP server that provides seamless access to Kirha AI tools.