Skip to main content
Glama
mjojo
by mjojo

PowerShell EX β€” Advanced PowerShell for Antigravity IDE

Version License PowerShell

πŸš€ The most powerful PowerShell integration for AI-driven development

Created by Vitaly Golik (mjojo)


πŸ† Why PowerShell EX is Better Than Other Extensions

vs. Official PowerShell Extension

Feature

PowerShell EX

Official Extension

AI Agent Integration (MCP)

βœ… Full support

❌ Not available

Autonomous Script Execution

βœ… Yes

❌ Manual only

Real-time PSScriptAnalyzer

βœ… Instant feedback

⚠️ Delayed

ISE Compatibility Mode

βœ… Perfect emulation

⚠️ Partial

Memory Footprint

βœ… Lightweight

❌ Heavy

Startup Time

βœ… < 1 second

❌ 3-5 seconds

Native TabExpansion2

βœ… Full support

βœ… Yes

🎯 Key Advantages

  1. πŸ€– AI-First Architecture
    Built from the ground up for AI agents. MCP protocol enables Antigravity's AI to write, execute, and debug PowerShell autonomously β€” no human intervention required.

  2. ⚑ Lightning Fast
    No bloated language server. Direct PowerShell execution with minimal overhead. Extension activates in under 1 second.

  3. πŸ”’ Secure Execution
    Sandboxed script execution with configurable policies. Output sanitization prevents sensitive data leaks.

  4. πŸ“Š Smart Analysis
    PSScriptAnalyzer integration with custom rule sets. Get actionable suggestions, not just warnings.

  5. 🎨 Beautiful Themes
    Includes ISE-inspired themes for developers who love the classic look. Dark and light variants included.

  6. πŸ”Œ Zero Configuration
    Works out of the box. Auto-detects PowerShell 7 or falls back to Windows PowerShell.


Related MCP server: SitecoreMCP

✨ Features

MCP Tools for AI Agents

Tool

Description

execute_powershell

Run PowerShell code with full stdout/stderr capture

analyze_script

Lint and analyze code with PSScriptAnalyzer

get_completions

IntelliSense via native TabExpansion2

get_help

Get-Help integration for instant documentation

invoke_cmdlet

Execute single cmdlets with structured parameters

list_modules

Browse and search installed modules

VS Code Integration

  • 🎹 F8 β€” Run selection/current line

  • πŸ“– Ctrl+F1 β€” Show help for symbol under cursor

  • πŸ” Real-time diagnostics as you type

  • πŸ’‘ Code actions and quick fixes

  • 🎨 Syntax highlighting for all PS file types


πŸ“¦ Installation

# Clone the repository
git clone https://github.com/mjojo/powershell-ex.git
cd powershell-ex

# Install dependencies
npm install

# Build
npm run build

πŸ”§ Usage with Antigravity

Add to your Antigravity MCP settings (.antigravity/mcp.json):

{
  "mcpServers": {
    "powershell": {
      "command": "node",
      "args": ["path/to/powershell-ex/dist/index.js"]
    }
  }
}

πŸ“‹ Requirements

  • Node.js 18+ (LTS recommended)

  • PowerShell 7+ (pwsh) or Windows PowerShell 5.1

  • PSScriptAnalyzer module (optional, for code analysis)

# Install PSScriptAnalyzer
Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -Force

πŸ› οΈ Development

npm run dev      # Watch mode with hot reload
npm run build    # Production build
npm run lint     # Run ESLint
npm test         # Run test suite

πŸ—ΊοΈ Roadmap

  • Debugging support (breakpoints, stepping)

  • Remote PowerShell sessions (SSH, WinRM)

  • PowerShell notebook support

  • Custom PSScriptAnalyzer rule editor

  • Performance profiler integration


πŸ“„ License

MIT Β© 2024-2026 Vitaly Golik (mjojo)


⭐ Star this repo if you find it useful!

Report Bug Β· Request Feature

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

–Maintainers
–Response time
0dRelease cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjojo/PowerShellEX'

If you have feedback or need assistance with the MCP directory API, please join our Discord server