Skip to main content
Glama

Windows Command Line MCP Server

by alxspiker

execute_powershell

Run PowerShell scripts and retrieve outputs for complex operations. Ensure scripts are in the allowed commands list for secure execution on the Windows Command Line MCP Server.

Instructions

Execute a PowerShell script and return its output. This allows for more complex operations and script execution. PowerShell must be in the allowed commands list.

Input Schema

NameRequiredDescriptionDefault
scriptYesPowerShell script to execute
timeoutNoTimeout in milliseconds
workingDirNoWorking directory for the script

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "script": { "description": "PowerShell script to execute", "type": "string" }, "timeout": { "default": 30000, "description": "Timeout in milliseconds", "type": "number" }, "workingDir": { "description": "Working directory for the script", "type": "string" } }, "required": [ "script" ], "type": "object" }

You must be authenticated.

Other Tools from Windows Command Line MCP Server

Related Tools

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/alxspiker/Windows-Command-Line-MCP-Server'

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