# Wakeonlan MCP Server

> Wakeonlan MCP Server is an open-source MCP server. Wake LAN machines with Wake-on-LAN magic packets from host profiles, then confirm they came up. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/cyanheads/wakeonlan-mcp-server
- **MCP Registry name:** io.github.cyanheads/wakeonlan-mcp-server
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add wakeonlan-mcp-server --env WOL_HOSTS='<WOL_HOSTS>' -- npx -y @cyanheads/wakeonlan-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "wakeonlan-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/wakeonlan-mcp-server"
      ],
      "env": {
        "WOL_HOSTS": "<WOL_HOSTS>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "wakeonlan-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/wakeonlan-mcp-server"
      ],
      "env": {
        "WOL_HOSTS": "<WOL_HOSTS>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "wakeonlan-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/wakeonlan-mcp-server"
      ],
      "env": {
        "WOL_HOSTS": "<WOL_HOSTS>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "wakeonlan-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/wakeonlan-mcp-server"
      ],
      "env": {
        "WOL_HOSTS": "<WOL_HOSTS>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "wakeonlan-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/wakeonlan-mcp-server"
      ],
      "env": {
        "WOL_HOSTS": "<WOL_HOSTS>"
      }
    }
  }
}
```

## FAQ

### Is Wakeonlan MCP Server free?

Yes. Wakeonlan MCP Server is open source, so you can use and self-host it for free.

### How do I add Wakeonlan MCP Server to Claude Code?

Run this command in your terminal: claude mcp add wakeonlan-mcp-server --env WOL_HOSTS='<WOL_HOSTS>' -- npx -y @cyanheads/wakeonlan-mcp-server

---
Source: https://ai-powered.com/mcp/wakeonlan-mcp-server
