Skip to content
VS Code

wakeonlan mcp server for VS Code

io.github.cyanheads/wakeonlan-mcp-server

Wake LAN machines with Wake-on-LAN magic packets from host profiles, then confirm they came up.

client:VS Code transport:stdio runtime:npm

Install wakeonlan mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wol-hosts-file",
      "description": "WOL_HOSTS_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wol-hosts",
      "description": "WOL_HOSTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-log-level",
      "description": "MCP_LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "wakeonlan-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/wakeonlan-mcp-server"
      ],
      "env": {
        "WOL_HOSTS_FILE": "${input:wol-hosts-file}",
        "WOL_HOSTS": "${input:wol-hosts}",
        "MCP_LOG_LEVEL": "${input:mcp-log-level}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

wakeonlan mcp server in other clients