- Home
- MCP servers
- PowerShell
PowerShell
- typescript
2
GitHub Stars
typescript
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"posidron-mcp-powershell": {
"command": "node",
"args": [
"/absolute/path/to/mcp-powershell/dist/index.js"
]
}
}
}You can use this MCP server to interact with PowerShell from a client, enabling you to run commands, retrieve system information, manage modules, and automate PowerShell tasks from a unified interface.
How to use
Connect to the PowerShell MCP server from your MCP client using the server name you configured (for example, mcp-powershell). Use the available tools to execute commands, inspect system information, list loaded modules, and run scripts. Each tool returns structured results that you can display or process in your workflow.
How to install
Prerequisites before you install and run the server:
- Node.js 18+ must be installed on your machine.
- PowerShell 5.1 or PowerShell Core 7+ must be available.
Install dependencies and build the project, then start it in development mode:
npm install
npm run build
pm run dev
Available tools
execute_ps
Executes a PowerShell command and returns the output, enabling you to run arbitrary PS commands from the MCP client.
get_system_info
Retrieves detailed system information including OS details, processor, memory, and PowerShell version.
list_modules
Lists installed PowerShell modules with details such as name, version, and type.
get_command_help
Gets detailed help for a specific PowerShell command, including syntax, parameters, and examples.
find_commands
Searches for PowerShell commands by name or pattern to help discover capabilities.
run_script
Runs a PowerShell script file with optional parameters.