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
相關伺服器
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Roo Activity Logger
Automatically logs AI coding assistant activities, such as command executions and code generation, into searchable JSON files.
EnigmAgent MCP
AES-256-GCM + Argon2id encrypted local vault that resolves {{PLACEHOLDER}} secrets for AI agent credentials.
TransformerBee.MCP
An MCP server for the transformer.bee service, configurable via environment variables.
AiCore Project
A unified framework for integrating various language models and embedding providers to generate text completions and embeddings.
.NET Types Explorer
Provides detailed type information from .NET projects including assembly exploration, type reflection, and NuGet integration for AI coding agents
React MCP
An MCP server for integrating AI with React applications.
MCP-RAGNAR
A local MCP server implementing Retrieval-Augmented Generation (RAG) with sentence window retrieval and support for multiple file types.
MAXential Thinking MCP
Gives Claude explicit tools for reasoning: adding thoughts, branching to explore alternatives, revising earlier thinking, and navigating thought history. 11 focused tools designed for how Claude actually thinks
MCP Development Server
Manage software development projects with full context awareness and Docker-based code execution.
Smart Prompts MCP Server
Fetches and manages prompts from GitHub repositories with intelligent discovery and composition features.