Stats
Actions
Tags
This LSP server requires pwshto be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"powershell": {
"command": "pwsh",
"extensionToLanguage": {
".ps1": "powershell",
".psd1": "powershell",
".psm1": "powershell"
},
"args": [
"-NoLogo",
"-NoProfile",
"-ExecutionPolicy",
"Bypass",
"-File",
"${CLAUDE_PLUGIN_ROOT}/scripts/pses-serve-shim.ps1"
],
"env": {
"PSES_BUNDLE_PATH": "${CLAUDE_PLUGIN_DATA}/PowerShellEditorServices"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
pwshstdioCommand-line arguments passed to the server process
Environment variables set when the server starts
PSES_BUNDLE_PATH=${CLAUDE_PLUGIN_DATA}/PowerShellEditorServicesInitialization options and workspace settings
npx claudepluginhub manderse21/claude-powershell-lsp --plugin powershell-lsp