meshcentral-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MESHCTRL_PATH | No | Path to an existing meshctrl.js to use instead of the bundled dependency. | |
| MESHCENTRAL_URL | Yes | MeshCentral server URL, e.g. wss://mesh.example.com. | |
| MESHCENTRAL_USER | Yes | MeshCentral username. | |
| MESHCENTRAL_TOKEN | No | 2FA token used with password authentication. | |
| MESHCENTRAL_DOMAIN | No | MeshCentral domain for multi-domain servers. | |
| MESH_MCP_ALLOW_ALL | No | Set to 1 to enable all write tools. | |
| MESHCENTRAL_PASSWORD | No | MeshCentral account password, as an alternative to a login key. | |
| MESH_MCP_ALLOW_POWER | No | Set to 1 to enable mesh_graceful_reboot, mesh_cancel_reboot, and mesh_power. | |
| MESHCENTRAL_LOGIN_KEY | No | MeshCentral login key value, as an alternative to a key file. | |
| MESH_MCP_ALLOW_NOTIFY | No | Set to 1 to enable mesh_device_message and mesh_device_toast. | |
| MESH_MCP_ALLOW_COMMANDS | No | Set to 1 to enable mesh_run_command. | |
| MESH_MCP_DEVICE_ALLOWLIST | No | Comma-separated device names or node ids to restrict write tools to; globs allowed. | |
| MESHCENTRAL_LOGIN_KEY_FILE | No | Path to the MeshCentral login key file (recommended). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mesh_server_infoB | Version and settings of the connected MeshCentral server. |
| mesh_list_device_groupsA | List MeshCentral device groups (meshes) the account can see. |
| mesh_list_devicesA | List devices with id, name, group, online state (agent connected), OS and logged-in user. Optional MeshCentral filter such as 'omen', 'g:PCs', 'os:windows', 'tag:prod'. |
| mesh_device_infoB | Detailed information about one device (accepts a name or node id). |
| mesh_run_commandA | Run a shell command through the MeshCentral agent and return its output. Needs MESH_MCP_ALLOW_COMMANDS=1. The agent usually runs as root/SYSTEM, so treat this as full control of the machine. |
| mesh_graceful_rebootA | Schedule an OS-level graceful reboot (Windows: shutdown /r, Linux/macOS: shutdown -r) with a delay so logged-in users get a warning and apps can close. Needs MESH_MCP_ALLOW_POWER=1. Use mesh_cancel_reboot to abort during the delay. |
| mesh_cancel_rebootA | Abort a pending shutdown/reboot started by mesh_graceful_reboot. Needs MESH_MCP_ALLOW_POWER=1. |
| mesh_powerA | Wake, sleep, hard reset or power off through MeshCentral's own power function (wake works on offline devices via a peer on the same LAN; reset/off are NOT graceful). Prefer mesh_graceful_reboot. Needs MESH_MCP_ALLOW_POWER=1. |
| mesh_device_messageB | Show a message box to whoever is logged in on the device. Needs MESH_MCP_ALLOW_NOTIFY=1. |
| mesh_device_toastB | Show a toast notification on the device. Needs MESH_MCP_ALLOW_NOTIFY=1. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Most tools are clearly separated by target and action (list devices, device info, run command, reboot, cancel reboot). The main overlap is mesh_graceful_reboot versus mesh_power, and mesh_device_message versus mesh_device_toast, but the descriptions explain when to prefer each.
All tools share a consistent mesh_ prefix, which makes the set predictable. However, the suffix style is mixed: mostly verb_noun (list_devices, run_command), but also noun-style names like server_info and device_info.
Ten tools is well-scoped for a MeshCentral remote-management server. Each tool corresponds to a distinct operational need: discovery, inspection, command execution, power control, and user notification.
The core remote-management lifecycle is covered: server and device discovery, device inspection, command execution, reboot/power management, and user messaging. Minor gaps remain around file transfer, device/group administration, or event/audit history, but common workflows are supported.