Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MESHCTRL_PATHNoPath to an existing meshctrl.js to use instead of the bundled dependency.
MESHCENTRAL_URLYesMeshCentral server URL, e.g. wss://mesh.example.com.
MESHCENTRAL_USERYesMeshCentral username.
MESHCENTRAL_TOKENNo2FA token used with password authentication.
MESHCENTRAL_DOMAINNoMeshCentral domain for multi-domain servers.
MESH_MCP_ALLOW_ALLNoSet to 1 to enable all write tools.
MESHCENTRAL_PASSWORDNoMeshCentral account password, as an alternative to a login key.
MESH_MCP_ALLOW_POWERNoSet to 1 to enable mesh_graceful_reboot, mesh_cancel_reboot, and mesh_power.
MESHCENTRAL_LOGIN_KEYNoMeshCentral login key value, as an alternative to a key file.
MESH_MCP_ALLOW_NOTIFYNoSet to 1 to enable mesh_device_message and mesh_device_toast.
MESH_MCP_ALLOW_COMMANDSNoSet to 1 to enable mesh_run_command.
MESH_MCP_DEVICE_ALLOWLISTNoComma-separated device names or node ids to restrict write tools to; globs allowed.
MESHCENTRAL_LOGIN_KEY_FILENoPath 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues