Windows Command Line MCP Server

by alxspiker
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALLOW_ALLNoRun in extended mode with additional precautions. Equivalent to using the --allow-all flag.false
ALLOWED_COMMANDSNoA comma-separated list of specific commands to allow, e.g. 'dir,echo,npm,git'

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_running_processes

List all running processes on the system. Can be filtered by providing an optional filter string that will match against process names.

get_system_info

Retrieve system information including OS, hardware, and user details. Can provide basic or full details.

get_network_info

Retrieve network configuration information including IP addresses, adapters, and DNS settings. Can be filtered to a specific interface.

get_scheduled_tasks

Retrieve information about scheduled tasks on the system. Can query all tasks or get detailed status of a specific task.

get_service_info

Retrieve information about Windows services. Can query all services or get detailed status of a specific service.

list_allowed_commands

List all commands that are allowed to be executed by this server. This helps understand what operations are permitted.

execute_command

Execute a Windows command and return its output. Only commands in the allowed list can be executed. This tool should be used for running simple commands like 'dir', 'echo', etc.

execute_powershell

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.

ID: 976txj1j30