# VBScript to PowerShell Migration

> VBScript to PowerShell Migration is an MCP server for developer tools. Scans VBScript for migration risks and converts it to PowerShell with a review list. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **MCP Registry name:** io.github.lamtoueqali-eng/vbs-migrate-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Legacy VBScript files often hide behaviour that does not carry over cleanly to PowerShell, and this server tackles that gap in two steps. A scan pass flags migration risks in existing scripts, and a conversion pass rewrites the code into PowerShell alongside a list of items a person should check by hand.

It is delivered as a remote Model Context Protocol endpoint over streamable HTTP, so an AI client such as an editor or agent platform can call it directly without installing anything locally. The scan step is offered free of charge, which makes it easy to assess a script before committing to a conversion.

The server suits administrators and developers maintaining older Windows automation who want to move scripts to PowerShell without reading every line from scratch.

## Features

- **Migration risk scanning:** Reviews VBScript source and reports constructs that may behave differently or fail after migration.
- **VBScript to PowerShell conversion:** Produces a PowerShell rewrite of the supplied VBScript code.
- **Manual review list:** Returns a list of converted sections that need human verification.
- **Remote MCP endpoint:** Reachable over streamable HTTP so MCP-compatible AI clients can connect without local setup.

## Good for

- Assess legacy VBScript automation before deciding whether to migrate it
- Convert older Windows admin scripts into PowerShell as a starting point
- Identify the lines in a converted script that need a developer's attention
- Integrate script migration checks into an AI-assisted coding workflow

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http vbs-migrate-mcp https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "type": "http",
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "type": "http",
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add vbs-migrate-mcp --url https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.vbs-migrate-mcp]
url = "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "httpUrl": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http vbs-migrate-mcp https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "serverUrl": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "type": "streamableHttp",
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "vbs-migrate-mcp": {
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp
```

Enter a Name (for example "VBScript to PowerShell Migration"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "vbs-migrate-mcp": {
      "type": "http",
      "url": "https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp"
    }
  }
}
```

## Tools

The server marks all 8 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `scan_vbscript` (says read-only): FREE and instant (no AI). Static migration-readiness scan of a VBScript file (.vbs, .wsf, HTA or classic ASP snippet) before Windows disables VBScript: lists COM objects used (FileSystemObject, WScript.Shell, ADODB, XMLHTTP, WMI, Outlook, Excel...) with their PowerShell equivalent, risky features (On Error Resume Next, Execute/Eval, SendKeys, registry, MsgBox), conversion traps (1-based strings, a
- `powershell_equivalent` (says read-only): FREE and instant. Returns the PowerShell replacement for a VBScript COM ProgID (e.g. "Scripting.FileSystemObject", "MSXML2.XMLHTTP", "Outlook.Application"), a GetObject moniker ("winmgmts:", "LDAP://") or a VBScript function/statement ("Mid", "InStr", "On Error Resume Next", "Select Case", "MsgBox"), with migration notes. Pricing: free, no API key needed.
- `get_readiness_scanner` (says read-only): FREE. Returns the download link and usage instructions for VBS Readiness, a free read-only PowerShell scanner (Windows 10/11) that finds every VBScript dependency on a PC or share (files, scheduled tasks, Run keys, Group Policy scripts, executions logged as event 4096) and new-Outlook blockers (COM add-ins, VBA macros, PST files). Use it when a user needs to inventory VBScript before Windows disab
- `convert_vbscript_to_powershell` (says read-only): Converts a VBScript script to idiomatic PowerShell (Windows PowerShell 5.1 by default, or PowerShell 7), preserving behaviour, exit codes and side effects, replacing COM objects with native cmdlets where possible. Returns JSON: the PowerShell code, a review checklist of warnings (AI warnings + automatic static-scan findings), blockers, security flags and the risk score. The result is a draft for h
- `scan_vba` (says read-only): FREE and instant (no AI). Static analysis of a VBA macro (Excel, Outlook, Word or Access): detects the host application, blockers for modern platforms (UserForms, Win32 Declare, SendKeys, Shell, file I/O, cross-application automation, event handlers), conversion traps, COM objects, security flags (hard-coded passwords, automatic email sending), a 0-100 risk score, and the recommended migration tar
- `convert_vba` (says read-only): Converts a VBA macro to a modern platform: Office Scripts (TypeScript, Excel on the web), Python (openpyxl/pandas/python-docx), PowerShell 7 + Microsoft Graph (Outlook mailbox automation, since the new Outlook does not run VBA) or Windows PowerShell. target "auto" picks the best one from the static analysis. Returns JSON: the converted code, its language, review warnings (AI + automatic checks), b
- `scan_ews` (says read-only): FREE and instant (no AI). Static analysis of code that uses Exchange Web Services (EWS Managed API in C#/PowerShell/Java, Python exchangelib, ews-javascript-api or raw SOAP) before the Exchange Online EWS shutdown (phased since October 1, 2026, final on April 1, 2027). Lists every EWS operation with its Microsoft Graph equivalent, the authentication changes (basic auth, impersonation, EWS OAuth sc
- `convert_ews_to_graph` (says read-only): Migrates code from Exchange Web Services (EWS) to Microsoft Graph in the same language (C#, PowerShell, Python, Java or JavaScript): OAuth 2.0 authentication, Graph SDK calls, paging, attachments, delta queries and change notifications. Returns JSON: migrated code, required Graph permissions and review warnings (AI + automatic checks), Graph gaps, security flags and risk score. A draft to review a

## FAQ

### Is the risk scan free to use?

Yes, the scan of VBScript for migration risks is offered free of charge.

### How do I connect to VBScript to PowerShell Migration?

It exposes a streamable HTTP MCP endpoint that MCP-compatible AI clients can connect to by URL.

### How do I add VBScript to PowerShell Migration to Claude Code?

Run this command in your terminal: claude mcp add --transport http vbs-migrate-mcp https://vbs-migrate-mcp.lamtoueqali.workers.dev/mcp

### What are the best alternatives to VBScript to PowerShell Migration?

The closest alternatives to VBScript to PowerShell Migration are Paladin Front PHP Rescue & Zero-PHP Migration MCP, Paladin Front PHP Rescue & Zero-PHP Migration MCP, Dependency Risk Audit, Preflight and Projscan.

## Where this comes from

- Description: written from its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 28 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Paladin Front PHP Rescue & Zero-PHP Migration MCP](https://ai-powered.com/mcp/paladin-front-php-rescue-and-zero-php-migration-mcp): Paladin Front PHP Rescue & Zero-PHP Migration MCP is a paid MCP server for security.
- [Paladin Front PHP Rescue & Zero-PHP Migration MCP](https://ai-powered.com/mcp/paladin-front-php-rescue-and-zero-php-migration-mcp-2): Paladin Front PHP Rescue & Zero-PHP Migration MCP is a paid MCP server for security.
- [Dependency Risk Audit](https://ai-powered.com/mcp/dependency-risk-audit): Dependency Risk Audit is a freemium MCP server for developer tools.
- [Preflight](https://ai-powered.com/mcp/preflight-6): Preflight is a free MCP server for developer tools.
- [Projscan](https://ai-powered.com/mcp/projscan): Projscan is an open-source MCP server for developer tools.
- [Moltline Code Review](https://ai-powered.com/mcp/moltline-code-review): Moltline Code Review is a freemium MCP server for developer tools.
- [SqlServer Rules](https://ai-powered.com/mcp/sqlserver-rules): SqlServer Rules is an open-source MCP server for databases.
- [SCRIPTMASTERLABS — ScriptDocs](https://ai-powered.com/mcp/scriptmasterlabs-scriptdocs): SCRIPTMASTERLABS — ScriptDocs is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/vbscript-to-powershell-migration
