Tools Provided
- echo – quick connection test
- ping – verify device availability
- wake-client-pc-by-its-pc-name – wake a client via its FQDN (must match the name in ASDM → Management Console → Clients Overview)
What Can the MCP Server Do?
The server can wake clients via Auto Shutdown Manager or ping
them to check their status. Example prompts in VS Code:
Wake my test‑pc123 if it is offline
wake mainServer.mydomain.com and testserver.mydomain.local
My test environment consists of the following PCs: pc1, pc2, pc3, pc4, pc5, server1, server2.
Please wake up my test environment.
The MCP Server forwards the request to ASDM, which wakes the specified clients—even across subnets and VLANs—via its WOL proxies.
n8n: Use the MCP Server as an MCP tool inside your n8n agent (see below).
Requirements
- Auto Shutdown Manager server (configured and running)
- Auto Shutdown Manager client installed on the machine hosting the MCP Server
Usage
Run the MCP Server as an HTTP service on port 8080
(customise in mcp_appsettings.json
) or as a console app using --stdio for tight IDE integration:
ASDM_MCPServer.exe
ASDM_MCPServer.exe --stdio
Installation
1. Deploy
- Download
ASDM_MCPServer.zip
from the EnviProt download page. - Extract the archive to
C:\Program Files (x86)\AutoShutdownManager\
(recommended). - Configure
mcp_appsettings.json
to match your ASDM server:{ "ASDM_ServerName": "asdmctrl", "ASDM_ServerPort": "8088", "ASDM_WOW_PATH": "C:\\Program Files (x86)\\AutoShutdownManager\\wow_client.exe" }
2. Integrate with an MCP Client (e.g. VS Code)
Create or edit .vscode/mcp.json
:
Using stdio
(recommended)
{
"servers": {
"asdm_stdio": {
"type": "stdio",
"command": "C:\\Program Files (x86)\\AutoShutdownManager\\ASDM_MCPServer.exe",
"args": ["--stdio"]
}
}
}
Using HTTP
{
"servers": {
"asdm_http": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}
}
Adjust MCP_HTTP_PORT
in mcp_appsettings.json
if you change the port. Start the service manually in HTTP mode:
ASDM_MCPServer.exe
n8n Integration
Add an “MCP Client Tool” in your n8n Agent:
- SSE Endpoint:
http://localhost:8080/mcp/sse
(Docker:http://host.docker.internal:8080/mcp/sse
) - Test prompt:
echo "Hello World"
orwake test‑pc123 if it is offline
Disclaimer
This MCP Server is a free prototype provided for testing and development purposes only and is supplied "as‑is" without any express or implied warranties. Use at your own risk. The authors disclaim all liability for damages arising from its use. This disclaimer is governed by German law and applicable EU regulations.