A simple MCP server that implements Wake-on-LAN functionality to remotely wake up network devices.
Project description
Wake-on-LAN MCP Server
Overview
A Model Context Protocol (MCP) server that allows you to remotely wake up devices on your local network. This MCP server is intentionally designed to be simple, straightforward, and requires minimal setup. The core implementation is less than 100 lines of code.
Features
- Wake up network devices using MAC addresses
- Save and manage device information (name and MAC address)
- List all saved devices
- Delete device records
- Support for standard Wake-on-LAN protocol
- Dual transport modes: SSE and stdio
- Simple command-line interface
Example Prompts
# Wake up a device
Wake up my home desktop (MAC: 00:11:22:33:44:55)
# Save device information
Save my desktop PC with MAC address 00:11:22:33:44:55
# List all saved devices
Show me all my saved devices
# Wake up an existing device
Wake up my desktop PC
# Delete a device record
Remove the device with MAC address 00:11:22:33:44:55
# Delete a device record by name
Remove the mac record of my desktop PC
Device Management
The server stores device information in ~/.config/mcp-wake-on-lan/devices.json. This allows you to:
- Save device names along with their MAC addresses
- List all saved devices
- Delete device records when needed
Usage with Claude Desktop
Installation
brew install uv
git clone ...
Configuration
Add the following configuration to Claude Desktop:
{
"mcpServers": {
"wake_on_lans": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/repo",
"run",
"mcp-wake-on-lan"
]
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_wake_on_lan-0.1.0.tar.gz.
File metadata
- Download URL: mcp_wake_on_lan-0.1.0.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e59f06badc9290358a4182e68cd3d6e5440380841856d48df5c33d9843b33d41
|
|
| MD5 |
df4dd4f724a71aff9613ee68308b32af
|
|
| BLAKE2b-256 |
ed9f370b923a395964386ec29728731806e8242b1d27e84931205800bb75b14f
|
File details
Details for the file mcp_wake_on_lan-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_wake_on_lan-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6184e274d08c0b1c75e21da42fbc17b5bc371bf5a300e5921354af8501d2438b
|
|
| MD5 |
eeb407edf37e93b64806305663acba30
|
|
| BLAKE2b-256 |
25942c4ce2eb8a361a77559a5e51b680bb2be057df024b37aa971a3233575907
|