Wakeonlan MCP Server
by cyanheadsio.github.cyanheads/wakeonlan-mcp-serverv0.1.1
Wake LAN machines with Wake-on-LAN magic packets from host profiles, then confirm they came up.
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install Wakeonlan MCP server
Install in Claude Code
claude mcp add wakeonlan -e WOL_HOSTS='<wol-hosts>' -- npx -y @cyanheads/wakeonlan-mcp-server run start:stdioInstall in Cursor
{
"mcpServers": {
"wakeonlan": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wakeonlan-mcp-server",
"run",
"start:stdio"
],
"env": {
"WOL_HOSTS": "<wol-hosts>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"wakeonlan": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wakeonlan-mcp-server",
"run",
"start:stdio"
],
"env": {
"WOL_HOSTS": "<wol-hosts>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"wakeonlan": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/wakeonlan-mcp-server",
"run",
"start:stdio"
],
"env": {
"WOL_HOSTS": "<wol-hosts>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"wakeonlan": {
"command": "npx",
"args": [
"-y",
"@cyanheads/wakeonlan-mcp-server",
"run",
"start:stdio"
],
"env": {
"WOL_HOSTS": "<wol-hosts>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| WOL_HOSTS_FILE | — | — | Absolute path to the JSON hosts file (a leading ~/ expands to the home directory). Mutually exclusive with WOL_HOSTS. |
| WOL_HOSTS | — | yes | The hosts document as inline JSON, for single-host setups. Mutually exclusive with WOL_HOSTS_FILE. |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. The server refuses to start without jwt or oauth when MCP_HTTP_HOST is not a loopback address or MCP_ALLOWED_ORIGINS is '*'. |
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-26 · 13d ago · GitHub
Latest release
2026-09-26 · 13d ago · GitHub · v0.1.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-26 · 13d ago · official registry · v0.1.1
FAQ
›How do I install the Wakeonlan MCP server in Claude Code?
Run: claude mcp add wakeonlan -e WOL_HOSTS='<wol-hosts>' -- npx -y @cyanheads/wakeonlan-mcp-server run start:stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Wakeonlan require an API key?
Yes. It expects WOL_HOSTS, of which 1 is a secret.
›Can I use Wakeonlan as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Wakeonlan in the official MCP registry?
Yes, as io.github.cyanheads/wakeonlan-mcp-server.