/
by ai.smithery
Execute PowerShell commands securely with controlled timeouts and input validation. Retrieve syste…
Server configuration and capabilities from the MCP manifest
Size: 7,373 bytes (1,844 tokens)
Tools Found: 1
Analysis ID: se62p2pf
MCP server for secure PowerShell command execution with HTTP and STDIO support
Stars
Registry ID: 694dc50d-499b-49bb-8b78-b44f65ab48c3
Added to Registry: 9/21/2025
Last Updated: 9/22/2025
Last Seen: 9/22/2025
License: MIT License
Default Branch: http_update
Last Push: 8/27/2025
Open Issues: 0
Historical performance and growth metrics over time
{
"name": "mcp-powershell-exec",
"tags": [],
"tools": [
{
"name": "run_powershell",
"description": "Execute PowerShell commands securely.",
"input_schema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "PowerShell code to execute"
},
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
}
}
},
"output_schema": {
"type": "string",
"description": "Command output as string"
}
},
{
"name": "get_system_info",
"description": "Get system information.",
"input_schema": {
"type": "object",
"required": [],
"properties": {
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
},
"properties": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of ComputerInfo properties to retrieve (optional)"
}
}
},
"output_schema": {
"type": "string",
"description": "Command output as string"
}
},
{
"name": "get_running_services",
"description": "Get information about running services.",
"input_schema": {
"type": "object",
"required": [],
"properties": {
"name": {
"type": "string",
"description": "Filter services by name (supports wildcards)"
},
"status": {
"type": "string",
"description": "Filter by status (Running, Stopped, etc.)"
},
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
}
}
},
"output_schema": {
"type": "string",
"description": "Command output as string"
}
},
{
"name": "get_processes",
"description": "Get information about running processes.",
"input_schema": {
"type": "object",
"required": [],
"properties": {
"top": {
"type": "integer",
"description": "Limit to top N processes"
},
"name": {
"type": "string",
"description": "Filter processes by name (supports wildcards)"
},
"sort_by": {
"type": "string",
"description": "Property to sort by (e.g., CPU, WorkingSet)"
},
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
}
}
},
"output_schema": {
"type": "string",
"description": "Command output as string"
}
},
{
"name": "get_event_logs",
"description": "Get Windows event logs.",
"input_schema": {
"type": "object",
"required": [
"logname"
],
"properties": {
"level": {
"type": "integer",
"description": "Filter by event level (1: Critical, 2: Error, 3: Warning, 4: Information)"
},
"newest": {
"type": "integer",
"description": "Number of most recent events to retrieve (default 10)"
},
"logname": {
"type": "string",
"description": "Name of the event log (System, Application, Security, etc.)"
},
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
}
}
},
"output_schema": {
"type": "string",
"description": "Command output as string"
}
},
{
"name": "generate_script_from_template",
"description": "Generate a PowerShell script from a template.",
"input_schema": {
"type": "object",
"required": [
"template_name",
"parameters"
],
"properties": {
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
},
"parameters": {
"type": "object",
"description": "Dictionary of parameters to replace in the template"
},
"output_path": {
"type": "string",
"description": "Where to save the generated script (optional)"
},
"template_name": {
"type": "string",
"description": "Name of the template to use (without .ps1 extension)"
}
}
},
"output_schema": {
"type": "string",
"description": "Generated script content or path where script was saved"
}
},
{
"name": "generate_custom_script",
"description": "Generate a custom PowerShell script based on description.",
"input_schema": {
"type": "object",
"required": [
"description",
"script_type"
],
"properties": {
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
},
"parameters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"default": {
"type": "string"
},
"mandatory": {
"type": "boolean"
}
}
},
"description": "List of parameters the script should accept"
},
"description": {
"type": "string",
"description": "Natural language description of what the script should do"
},
"output_path": {
"type": "string",
"description": "Where to save the generated script (optional)"
},
"script_type": {
"type": "string",
"description": "Type of script to generate (file_ops, service_mgmt, etc.)"
},
"include_logging": {
"type": "boolean",
"description": "Whether to include logging functions"
},
"include_error_handling": {
"type": "boolean",
"description": "Whether to include error handling"
}
}
},
"output_schema": {
"type": "string",
"description": "Generated script content or path where script was saved"
}
},
{
"name": "generate_intune_detection_script",
"description": "Generate a Microsoft Intune detection script with enterprise-grade compliance checking.",
"input_schema": {
"type": "object",
"required": [
"description",
"detection_logic"
],
"properties": {
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
},
"description": {
"type": "string",
"description": "Clear description of what the script should detect"
},
"output_path": {
"type": "string",
"description": "Optional file path where the script will be saved."
},
"detection_logic": {
"type": "string",
"description": "PowerShell code that performs the compliance check."
}
}
},
"output_schema": {
"type": "string",
"description": "Generated script content or path where script was saved"
}
},
{
"name": "generate_intune_remediation_script",
"description": "Generate a Microsoft Intune remediation script with enterprise-grade features.",
"input_schema": {
"type": "object",
"required": [
"description",
"remediation_logic"
],
"properties": {
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
},
"description": {
"type": "string",
"description": "Clear description of what the script should remediate"
},
"output_path": {
"type": "string",
"description": "Optional file path where the script will be saved."
},
"remediation_logic": {
"type": "string",
"description": "PowerShell code that performs the remediation."
}
}
},
"output_schema": {
"type": "string",
"description": "Generated script content or path where script was saved"
}
},
{
"name": "generate_bigfix_relevance_script",
"description": "Generate a BigFix relevance script to determine if computers need action.",
"input_schema": {
"type": "object",
"required": [
"description",
"relevance_logic"
],
"properties": {
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
},
"description": {
"type": "string",
"description": "Clear description of what the script should check"
},
"output_path": {
"type": "string",
"description": "Optional file path where the script will be saved."
},
"relevance_logic": {
"type": "string",
"description": "PowerShell code that determines relevance."
}
}
},
"output_schema": {
"type": "string",
"description": "Generated script content or path where script was saved"
}
},
{
"name": "generate_bigfix_action_script",
"description": "Generate a BigFix action script to perform remediation or configuration changes.",
"input_schema": {
"type": "object",
"required": [
"description",
"action_logic"
],
"properties": {
"timeout": {
"type": "integer",
"description": "Command timeout in seconds (1-300, default 60)"
},
"description": {
"type": "string",
"description": "Clear description of what the script should accomplish"
},
"output_path": {
"type": "string",
"description": "Optional file path where the script will be saved."
},
"action_logic": {
"type": "string",
"description": "PowerShell code that performs the action."
}
}
},
"output_schema": {
"type": "string",
"description": "Generated script content or path where script was saved"
}
}
],
"version": "0.3.0",
"categories": [],
"description": "MCP server for secure PowerShell command execution with HTTP and STDIO support"
}Forks
Watchers
Contributors
Last Push: 8/27/2025
Open Issues: 0