← Windows Command Line MCP Server

Windows Command Line MCP Server 22042fb0071133c8681b796d36cf7cac4d892de5

source_git · alxspiker/windows-command-line-mcp-server · current release

8
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-08-25T09:20:44.945Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2024-11-05.

Server capabilities
{
  "tools": {}
}

Tools 8

ToolCategoryAnnotationsRisk
execute_commandExecute 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.
Input schema
{
  "type": "object",
  "properties": {
    "command": {
      "type": "string",
      "description": "The command to execute"
    },
    "workingDir": {
      "type": "string",
      "description": "Working directory for the command"
    },
    "timeout": {
      "type": "number",
      "default": 30000,
      "description": "Timeout in milliseconds"
    }
  },
  "required": [
    "command"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
execute_powershellExecute 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
{
  "type": "object",
  "properties": {
    "script": {
      "type": "string",
      "description": "PowerShell script to execute"
    },
    "workingDir": {
      "type": "string",
      "description": "Working directory for the script"
    },
    "timeout": {
      "type": "number",
      "default": 30000,
      "description": "Timeout in milliseconds"
    }
  },
  "required": [
    "script"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
get_network_infoRetrieve network configuration information including IP addresses, adapters, and DNS settings. Can be filtered to a specific interface.
Input schema
{
  "type": "object",
  "properties": {
    "networkInterface": {
      "type": "string",
      "description": "Optional interface name to filter results"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
get_scheduled_tasksRetrieve information about scheduled tasks on the system. Can query all tasks or get detailed status of a specific task.
Input schema
{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "query",
        "status"
      ],
      "default": "query",
      "description": "Action to perform"
    },
    "taskName": {
      "type": "string",
      "description": "Name of the specific task (optional)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
get_service_infoRetrieve information about Windows services. Can query all services or get detailed status of a specific service.
Input schema
{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "query",
        "status"
      ],
      "default": "query",
      "description": "Action to perform"
    },
    "serviceName": {
      "type": "string",
      "description": "Service name to get info about (optional)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
get_system_infoRetrieve system information including OS, hardware, and user details. Can provide basic or full details.
Input schema
{
  "type": "object",
  "properties": {
    "detail": {
      "type": "string",
      "enum": [
        "basic",
        "full"
      ],
      "default": "basic",
      "description": "Level of detail"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
list_allowed_commandsList all commands that are allowed to be executed by this server. This helps understand what operations are permitted.
Input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
list_running_processesList all running processes on the system. Can be filtered by providing an optional filter string that will match against process names.
Input schema
{
  "type": "object",
  "properties": {
    "filter": {
      "type": "string",
      "description": "Optional filter string to match against process names"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.