Skip to content
MoftgateMoftgate Docs
Product guide

mg Desktop

The desktop application for Moftgate Center: manage devices, alerts, scripts, and automation runs in a window, using the same profiles and tokens as the mg CLI.

What mg Desktop Is#

Moftgate Desktop is the graphical counterpart of the mg CLI. It is a standalone application for Windows and macOS that talks to your Center over the same API, so the operations an engineer performs in the terminal are available to an operator who prefers a window: listing devices, triaging alerts, running scripts, and following automation runs.

The two tools are not separate worlds. Moftgate Desktop reuses the CLI’s own client: the same profile definitions, the same token store, and the same browser approval flow. A profile created with mg profile create shows up in the application, and signing in from either side covers both.

ScreenCLI equivalentWhat you do there
Devicesmg device list / inspect / exportSearch, filter by status and OS, sort, inspect a device, export CSV.
Alertsmg alert list / inspect / resolveFilter alerts, read the detail, resolve with confirmation.
Scriptsmg script list / runRun a saved script or an ad-hoc command on a device, group, or tag.
Automation Runsmg run list / inspect / cancel / retryFollow executions, cancel a running one, retry a failed one.
Profiles & Authmg profile … / mg auth …Add Center profiles, sign in through the browser, sign out.
The Devices screen with the profile selector and session badge in the header and the section menu on the left.
Moftgate Desktop main window
Close image
A separate desktop application
This is not a page inside the Moftgate console. It is installed on an administrator workstation and is not deployed to managed endpoints.

Download and Installation#

mg Desktop Installer

This platform is in final verification and will be released soon.

Coming soon
  1. 1
    Install the application

    On Windows run the setup executable (an MSI is published alongside it for GPO or Intune deployment). On macOS open the .dmg and drag Moftgate Desktop into Applications. No agent or extra service is installed — this is an operator tool for a management workstation.

  2. 2
    Add a profile for your Center

    Open Profiles & Auth and click New profile. Enter a name and your Center URL, for example https://center.example.local. Tick Skip TLS certificate verification only for an on-premises Center that still uses a self-signed certificate.

  3. 3
    Sign in through the browser

    Click Sign in on the profile card. The browser opens the same approval page the CLI uses; after you approve, the token is stored locally and the card shows Token stored.

  4. 4
    Start working

    The left menu opens Devices, Alerts, Scripts, and Automation Runs. The profile selector in the header switches between Centers without signing out.

Profiles and Sign-In#

A profile is one Center: a name, a URL, and its own token. Profiles & Auth is where you add them, choose which one is the default, sign in, and sign out. The profile selector in the header switches the whole application between Centers.

Each profile card shows its URL and whether a token is stored, plus Make default, Sign in or Sign out, and Delete.
Profiles and authentication screen
Close image

Sign in opens the browser approval page and waits. Approve it as the Center user whose permissions the session should carry; the application stores the issued token and the header shows who is signed in. If the browser does not open by itself, the dialog shows the approval link and the verification code so you can open it manually.

The application polls the Center until you approve the request in the browser.
Sign-in dialog waiting for browser approval
Close image
Shared with the CLI
Signing out from the application revokes the token on the Center and deletes the local credential — which also ends the session for the mg CLI on the same profile. Deleting a profile removes it for both tools.

Devices#

Devices is the inventory view: the endpoints that report to the selected Center, with the filters and the detail record you would otherwise assemble from mg device list and mg device inspect.

  • Search runs on the server against hostname and IP, so a large fleet is filtered before anything is drawn.
  • Status and operating system filters use the same values the console does; the OS column shows an icon instead of a text label.
  • Hostname, Last Seen, and Compliance are sortable, and paging is server-side.
  • Clicking a row opens the full device record — groups, tags, agent profile, agent version — with a Copy JSON button.
  • Export CSV applies the active filters and asks where to save the file, then reports how many devices were written.
Search, status and OS filters, sortable columns, and server-side paging over the fleet.
Device list with filters applied
Close image

Alerts#

Alerts opens on the active ones. Filter by status or by device, open a row to read the full alert with its evidence, and resolve it from the detail. Resolving asks for confirmation first and is written to the Center audit log against your user.

An active alert opened from the list, with Resolve available in the detail dialog.
Alert list and alert detail
Close image

Scripts#

Scripts lists the script library and is where execution starts. You can run a saved script or type an ad-hoc command, and target a single device, an endpoint group, or a tag.

  1. 1
    Pick what to run

    Click a row in the script list to run a saved script, or use Run command for an ad-hoc command. For an ad-hoc command you can leave the language empty and let the target operating system decide, or pin it to shell or powershell.

  2. 2
    Choose the target

    Select Device, Endpoint group, or Tag and enter the identifier, then set the timeout and decide whether the run should wait for endpoints that are currently offline.

  3. 3
    Confirm before it runs

    Review & run opens a confirmation that spells out what will execute and where. Because this executes code on endpoints, you have to type RUN to enable the button.

  4. 4
    Follow the result

    The toast reports how many targets received the job. Open Automation Runs to watch each endpoint report success or failure.

Target type, target, timeout, and the offline-wait switch before the confirmation step.
Script run dialog
Close image
This executes code on endpoints
A group or tag target can reach a large part of the fleet in one action. The confirmation step names what will run and where, and asks you to type RUN — read it before you confirm.

Automation Runs#

Every execution — a script you started here, or an automation the Center triggered — produces a run. This screen is the record of what ran, where, and how it ended. Filter by status or device, open a run to see its per-action detail, cancel one that is still going, or retry one that failed.

Cancel is offered while a run is still in progress, and Retry once it has failed or been cancelled.
Automation run list and run detail
Close image
Cancelling is final
Cancelling stops the run on the endpoint and cannot be undone. Retry does not resume the old run — it queues a new one with the same parameters.

Security and Audit#

  • The desktop app has no separate credential store: it reads and writes the same profile file and token file the mg CLI uses, and the token is created by the same browser approval flow.
  • A token inherits the role of the user who approved it. Read-only users can list and inspect; resolving an alert, running a script, or cancelling a run needs write permission.
  • Every write action is recorded in the Center audit log against the approving user, exactly as it is when the same action is taken from the CLI.
  • Resolving an alert, cancelling or retrying a run, deleting a profile, and running a script all require an explicit confirmation; script runs and profile deletion ask you to type a confirmation word.
  • The application itself may only write the CSV file you choose in the save dialog. It has no other file system or shell access.
  • Skip TLS certificate verification exists for on-premises Centers with self-signed certificates during setup. Leave it off in production — a client that skips verification can be pointed at an attacker’s server and hand it a valid token.
shell
mg profile list
mg auth status
mg auth logout

The commands above inspect or end the same session the desktop application uses, which is useful when you want to confirm from a terminal which profile is active and who the stored token belongs to.

Frequently Asked Questions#

Do I need the mg CLI installed as well?
No. Moftgate Desktop is a standalone application that talks to your Center over the same API. If you do have the CLI installed, the two share profiles and tokens: a profile created in one appears in the other, and signing in once covers both.
Which platforms does it run on?
Windows and macOS. Windows ships as a setup executable and an MSI for GPO or Intune deployment; macOS ships as a .dmg. It is installed on an administrator workstation, not on managed endpoints.
Does it need a separate license?
No. It authenticates against your existing Center with a token from the browser approval flow and carries the permissions of the user who approved it.
Can I manage more than one Center from it?
Yes. Add a profile per Center — production, staging, a customer tenant — and switch with the profile selector in the header. Each profile keeps its own URL and token.
Is this the same thing as the Fleet Discovery & Rescue Tool?
No. The Fleet tool discovers machines on the network and installs, removes, or reconfigures agents over WinRM and SSH. Moftgate Desktop manages a fleet that already reports to your Center, through the Center API.
Does it work against an on-premises Center with a self-signed certificate?
Yes. Tick Skip TLS certificate verification on the profile. Treat it as a setup convenience and move to a trusted certificate before production use.