2026-11-29 23:25:38 +02:00
2026-11-29 23:25:38 +02:00
2026-04-19 11:17:14 +03:00

MeshCentral Client

A native desktop and command-line client for MeshCentral. Shells, files, remote desktop and port forwarding for every device on a MeshCentral server, from Linux, Windows or macOS, without a browser.

Not affiliated with the MeshCentral project.

MeshCentral Client showing grouped devices and SSH, RDP, and HTTPS routes

Why

MeshCentral is a good fit for self-hosted remote access: one server, an agent on each device, and no inbound ports on the device side. The web UI handles one device at a time well. Engineering work needs more than that: SSH in a real terminal, a local port forwarded to a device's web interface, VS Code Remote-SSH, scripted file transfers, and several devices open side by side.

MeshCentral Router covers port forwarding, but the web UI only offers it to Windows and macOS browsers. At Nokto, our engineers use MeshCentral to maintain Linux edge devices in the field. This client grew out of that work: native on all three desktop platforms, and built around the tools engineers already use.

One login covers every device. The desktop app and the CLI share profiles, credentials and the same protocol code.

What it does

Desktop app CLI
Device list and search, online and offline ✓ ✓
Interactive shell: bash, cmd or PowerShell ✓ ✓
Remote desktop with keyboard, mouse and clipboard ✓
Files: browse, upload, download, move, copy, delete, edit in place ✓ ✓
TCP port forwarding to the device or any host it can reach, IPv4 and IPv6 ✓ ✓
SSH, direct or as an OpenSSH ProxyCommand ✓ ✓
Device details: system, hardware, network, security status ✓ ✓
Power: wake-on-LAN, sleep, restart, power off ✓ ✓
Run a command as SYSTEM/root or as the logged-in user ✓ ✓
Add agent: installers, install commands, mobile QR codes ✓ ✓
Device and group notes ✓
Profiles, OS keyring, 2FA with remembered login, single sign-on ✓ ✓

Desktop app

mcc-gui is a Qt 6 application. Log in, pick a device and open what the job needs; every shell, file browser, desktop and details view is a tab, and tabs reorder by dragging.

Shell. Double-click a device (or press Enter) for an interactive shell, with PowerShell as an option on Windows devices. Settings can change the double-click action to files, desktop, details or ssh.

MeshCentral Client terminal showing a sample Linux shell session

Files. Upload by dropping files on the list or on a folder, download, rename, delete and create folders. Move by dragging onto a folder (Ctrl copies), or cut, copy and paste between Files tabs of the same device. Transfers run on their own channel, so browsing never waits for them. Double-click a text file to edit it; saving writes it in place, keeping owner and permissions, and warns if the file changed on the device in the meantime.

MeshCentral Client Files tab listing folders and files with their sizes and dates

Desktop. Remote screen with mouse and keyboard control, display selection, image quality, and fit or actual-size view. The clipboard toggle syncs text in both directions while the tab is active; it starts off in each tab. Paste as keystrokes types the clipboard on screens that refuse a paste. Fullscreen (Ctrl+Alt+Enter) hides the client panels and keeps the toolbar. Capture system keys sends Alt+Tab, the Super key and other system shortcuts to the device instead of the local desktop.

MeshCentral Client Desktop tab showing a remote screen with the display, quality and input toolbar

Routes. Add as many port forwards per device as needed; each starts and stops on its own and reopens on the same local port at the next connect. Open launches the matching client: the browser for web ports, ssh in a terminal, and mstsc or the system's rdp:// handler for RDP. Copy gives the device's node ID, or a ready ~/.ssh/config block for ssh and VS Code Remote-SSH.

Details. What the web UI's General and Details tabs show: group, tags, logged-in users, security status (firewall, antivirus, updates), operating system, agent, network interfaces, BIOS, TPM, memory, disks and battery.

MeshCentral Client Details tab showing a device's general, security, operating system and agent sections

Right-click a device or group for notes, power actions (wake-on-LAN, sleep, restart, power off) and Add agent, which gives the same agent downloads, install commands and QR codes as the web UI's Add Agent dialog, including for groups with no devices yet.

Quick actions. Ctrl+K (Cmd+K on macOS) searches every device, most used first. Enter opens a device; Tab lists its actions: shell, files, desktop, details, routes, run command, notes and power. Inside a shell, use Ctrl+Shift+K.

MeshCentral Client quick actions listing a device's shell, files, desktop, details, route presets and power actions

Session visibility. Tabs and routes are marked when the server records the session. When a device asks its local user for consent, the tab shows the agent's message until access is granted. The log keeps a line for each session start, consent, recording, end, and every control connection drop and reconnect.

Settings apply immediately and are kept per profile: theme, the double-click action, auto-connect on start, and route presets. A preset sets a name, remote port, optional target host and the client to open: browser, SSH terminal, RDP client, any URL scheme (sftp://, vnc://, smb://) handled by the OS, or a program with arguments, where %L, %P and %N are the local address, local port and device name. Presets appear in Add route and in quick actions.

Screenshots come from a local dummy server with fictional devices; no real account or device is involved.

Command line

mcc is a single static binary with no cgo and no Qt. It covers everything except remote desktop and notes, and fits into scripts, SSH configs and headless machines.

mcc search                                  # Interactive device search
mcc ls                                      # List online devices

mcc shell -i <nodeid>                       # bash on Linux/macOS, cmd on Windows
mcc shell -i <nodeid> --powershell

mcc ssh -i <nodeid>                         # SSH to the device
mcc ssh user@192.0.2.10 -i <nodeid>         # SSH to a host the device can reach
mcc ssh -i <nodeid> --proxy                 # stdio mode for ProxyCommand

mcc route -L 8080:127.0.0.1:80 -i <nodeid>  # Forward local 8080 to port 80 on the device
mcc route -L 80                             # Pick the device interactively, random local port

mcc files ls  -i <nodeid> /var/log          # No path lists drives on Windows
mcc files get -i <nodeid> /etc/hosts .      # "-" as target writes to stdout
mcc files put -i <nodeid> a.txt b.txt /tmp  # "-" as source reads stdin
mcc files mkdir|rm [-r]|mv|cp -i <nodeid> ...

mcc details -i <nodeid> [--json]
mcc power wake|sleep|restart|off -i <nodeid>
mcc run -i <nodeid> "hostnamectl set-hostname edge-01"   # Fire and forget, no output
mcc run -i <nodeid> --as-user "notify-send hello"

mcc agent linux -g Lab                      # Install command for group Lab
mcc agent windows -g Lab --type background  # Download the agent; --arch, -o
mcc agent binary -g Lab --arch list         # Single binary agent, 15 platforms
mcc agent mobile -g Lab                     # QR code for the MeshAgent app
mcc agent macos -g Lab --link               # Print the download link instead

mcc profile add -n work -s mesh.example.com -u admin -p <password>
mcc profile add -n sso  -s mesh.example.com --sso
mcc profile list | default <name> | rm <name>
mcc config                                  # Print the config file location

Omit -i to pick the device interactively; the same applies to -g and remote paths. Node IDs work with or without the node// prefix. Wrap them in single quotes when they contain $.

Global flags: -P profile, -C config file, -t 2FA token, -k skip TLS verification (testing only), --debug.

Port forward format

[bind_address:]localport:target:remoteport
localport:remoteport
target:remoteport
remoteport

bind_address defaults to 127.0.0.1 (use 0.0.0.0 or [::] for all interfaces). localport is random when omitted. target defaults to the device itself and can be any host the device reaches. Put IPv6 addresses in brackets and quote the whole specification: mcc route -L '8080:[2001:db8::10]:80'. Scoped addresses such as [fe80::1%eth0] work on both ends.

SSH config and VS Code Remote-SSH

Host edge-01
  User root
  ProxyCommand mcc ssh -i 'node//abc$def...' --proxy

Use single quotes; OpenSSH runs ProxyCommand through sh -c. Launchers that skip the shell pass the quotes through, and mcc strips them. The desktop app's Copy button produces this block.

Sign-in and credentials

Profiles store the server URL and username in ~/.config/mcc/meshcentral-client.json. Passwords, 2FA cookies and SSO tokens go to the OS keyring: Secret Service on Linux, Keychain on macOS, Credential Manager on Windows. The desktop app and CLI share both.

Two-factor authentication. mcc prompts for the token, or takes it with --token. Type email or sms at the prompt to have the server send one. After a successful login, the server's "remember this device" cookie is kept in the keyring, so later logins and reconnects skip the token until it expires (30 days by default).

Single sign-on. For accounts that sign in through OIDC, SAML, Azure, Google or any other web UI method, create the profile with --sso, or tick Log in with single sign-on in the app. MeshCentral completes these sign-ins only in a browser, so the client takes over the browser session through the web UI's Launch MeshCentral Router link and exchanges it for a 30-day login token. No password is stored.

  1. Sign in to the web UI, click Router below the device list.
  2. Copy the Launch MeshCentral Router link (mcrouter://...) and paste it at the CLI prompt or into the app's dialog. The link is valid for an hour, from the same IP address only.
  3. In the desktop app, Open Router links with this app registers mcrouter:// once, so later sign-ins take a single click. The Windows installer, the macOS app and integrated AppImages register it themselves.

On Linux, the web UI hides the Router button. Open the browser's developer console on the MeshCentral page and run p10showMeshRouterDialog() to get the same dialog.

The button is also hidden for accounts with the No Tools (MeshCmd/Router) right, and MeshCentral refuses the client for them, with or without single sign-on. An administrator can untick it in the account's permissions. Accounts get it at creation when newAccountsRights contains notools, so removing it there only changes new accounts.

Install

Packages for each release are on the Releases page, along with the standalone mcc CLI for each platform.

  • Linux: .AppImage for amd64 and arm64, glibc 2.39+ (Ubuntu 24.04, Debian 13 or newer). chmod +x and run. Updates through Gear Lever or AppImageUpdate.
  • Windows: per-user .msi, no admin rights required, adds mcc to PATH. A portable .zip is also available.
  • macOS 15+: .dmg. The app is not notarized; on first launch, allow it under System Settings, Privacy & Security, Open Anyway.

The Linux and macOS packages carry the CLI too: About, Install mcc command puts it on PATH.

Build

make build        # mcc, pure Go
make gui          # mcc-gui against system Qt 6 (qt6-qtbase-devel / qt6-base-dev) and a C++ compiler
make gui-test     # GUI tests on Qt's offscreen platform
make release      # CLI binaries and Linux, Windows, macOS packages, built in Podman

make gui-linux, gui-windows and gui-macos build one platform. make gui-readme-shots regenerates the screenshots against the dummy server; make gui-bench and make gui-soak measure CPU and memory on Linux.

License

MIT; see LICENSE. Started as a fork of SoarinFerret/mcc. Maintained by Alex Paval and used at Nokto.

Icons from Font Awesome Free by Fonticons, Inc., licensed under CC BY 4.0.

S
Description
Mesh Central Client Developed in GO
Readme MIT
6.2 MiB
Languages
Go 94.6%
Dockerfile 2.1%
Shell 2%
Makefile 0.8%
C 0.4%