Back to LSP Servers

powershell

stdio
powershell

Used by 1 plugin

Requires Language Server Binary

This LSP server requires pwsh to be installed on your system. Make sure it's available in your PATH before enabling.

Install
1
Run in your terminal
$
npx claudepluginhub piebald-ai/claude-code-lsps
Add to Your Project

Add to your .lsp.json or plugin.json:

{
  "lspServers": {
    "powershell": {
      "command": "pwsh",
      "extensionToLanguage": {
        ".ps1": "powershell",
        ".psd1": "powershell",
        ".psm1": "powershell"
      },
      "args": [
        "-NoLogo",
        "-NoProfile",
        "-Command",
        "$module = Get-Module -ListAvailable PowerShellEditorServices | Sort-Object Version -Descending | Select-Object -First 1; if (-not $module) { throw 'PowerShellEditorServices is not installed. Run: Install-Module -Name PowerShellEditorServices -Scope CurrentUser' }; Import-Module $module.Path; Start-EditorServices -HostName 'Claude Code' -HostProfileId 'ClaudeCode' -HostVersion '1.0.0' -Stdio -BundledModulesPath (Split-Path $module.Path) -LogPath '/dev/null' -LogLevel 'None' -EnableConsoleRepl"
      ]
    }
  }
}
Supported Languages
powershell
.ps1.psd1.psm1
Command
pwsh
Transport
stdio
Arguments
-NoLogo-NoProfile-Command$module = Get-Module -ListAvailable PowerShellEditorServices | Sort-Object Version -Descending | Select-Object -First 1; if (-not $module) { throw 'PowerShellEditorServices is not installed. Run: Install-Module -Name PowerShellEditorServices -Scope CurrentUser' }; Import-Module $module.Path; Start-EditorServices -HostName 'Claude Code' -HostProfileId 'ClaudeCode' -HostVersion '1.0.0' -Stdio -BundledModulesPath (Split-Path $module.Path) -LogPath '/dev/null' -LogLevel 'None' -EnableConsoleRepl
Advanced Configuration
Startup Timeout:120000ms
Shutdown Timeout:20000ms
Restart on Crash:Yes
Max Restarts:3

Initialization Options:

{}

Settings:

{}
Plugins using this server (1)
powershell-editor-services
262
Actions

Product

  • Browse Plugins
  • Marketplaces
  • Pricing
  • About
  • Contact

Resources

  • Learning Center
  • Claude Code Docs
  • Plugin Guide
  • Plugin Reference
  • Plugin Marketplaces

Community

  • Browse on GitHub
  • Get Support

Admin

  • Admin Panel

Legal

  • Terms of Service
  • Privacy Policy
Community Maintained•Not affiliated with Anthropic

© 2025 ClaudePluginHub

ClaudePluginHub
ClaudePluginHub
ToolsLearn
Search everything...