Desktop Commander MCP official server, OAuth login and device control

Desktop Commander Remote signs in with OAuth device authorization and can revoke devices from its dashboard, but the vendor documents no SSO or admin approval feature. Confirm the gaps before approval.

On this page

Does Desktop Commander meet a single sign-on and device control requirement?

The vendor documents OAuth device-authorization login and dashboard device revocation for Desktop Commander Remote, but it documents no single sign-on, SCIM or admin approval feature for the Remote account. So this requirement is only partly met, and the edition question cannot be answered from the sources. The decision you face is whether staff may connect Remote to ChatGPT or Claude at all, and that depends on what the vendor confirms about identity management for those accounts.

The local MCP server has no separate sign-in. It runs with the permissions of the user account that launches it, so identity control there depends on the operating system login and device management you already run. The Remote path adds an account and routes tool calls through the vendor's servers. On first run, the Remote device opens a browser, asks you to confirm the code matches the terminal, and then authorizes the device. The saved session sits in ~/.desktop-commander-device/device.json, and revoking a device in the Remote dashboard is the step that actually cuts access on the server. Logging out locally or pressing Ctrl+C does not revoke it.

Before approving the Remote path, confirm with the vendor: whether SSO or SAML is available for the Remote account and under which plan; whether an admin can see, restrict or approve connected devices across a team; whether revocation takes effect immediately for active sessions; whether any enforcement exists beyond the dashboard's revoke-all action; and how the vendor logs dashboard administration events. Ask whether the ChatGPT or Claude account owner's two factor authentication is enforced for your staff, since the vendor notes that anyone who can use those accounts can use connected computers.

Which identity and device controls exist, and for which install path

This table compares identity and device controls for the local MCP install and Desktop Commander Remote, with each row marked as built in, needing an outside component, or not documented in the vendor sources. Read the status against the install path you plan to approve, because Remote mode adds an account and vendor-hosted routing that the local install does not use.

CapabilityLocal MCP installDesktop Commander RemoteStatus
OAuth device-authorization sign-inNot used for local installBrowser opens on first run; you confirm the code matches the terminal, then sign in and authorizeBuilt in (Remote only)
Saved session file with owner-only permissionsNot applicableStored at ~/.desktop-commander-device/device.json with mode 0600 on POSIX; no custom owner-only ACL on WindowsBuilt in (Remote, POSIX)
No-persist session modeNot applicableBrowser authorization required on every startBuilt in (Remote only)
Local logout removes saved credentialsNot applicableRunning remote --logout removes local credentialsBuilt in (Remote only)
Logout revokes the deviceNot applicableNo. Local logout does not revoke; Ctrl+C only takes the device offlineNot a revocation control
Dashboard device revocationNot applicableRevoking in the Remote MCP dashboard invalidates the device on the serverBuilt in (Remote only)
Revoke all devices at onceNot applicableDisconnects every connected computer at the same timeBuilt in (Remote only)
SSO with the company identity providerNot documentedNot documented in the sources reviewedNot documented
SCIM user provisioningNot documentedNot documented in the sources reviewedNot documented
Admin approval of MCP clientsNot documentedNot documented in the sources reviewedNot documented

How the OAuth device flow and saved session decide who can connect

The first run of Desktop Commander Remote decides who can connect. On first run, the Remote Device starts an OAuth device-authorization flow: a browser opens, the user confirms that the code shown in the browser matches the code in the terminal, then signs in and authorizes the device. Only after that step does the computer become reachable from web-based clients such as ChatGPT or Claude. Reviewers should treat that browser confirmation as the point where a person, not the tool, approves a new device, and should confirm that staff know the code must match before they approve anything.

By default the authenticated session is saved to ~/.desktop-commander-device/device.json. On POSIX systems the file is created with mode 0600, so only the owning user can read it. On Windows, the vendor's Remote device README states that no custom owner-only ACL is set, so the file inherits whatever permissions the user's profile already has. Anyone or anything running as that user, including malware or another local process, may be able to read a saved session there. Ask endpoint teams to confirm disk encryption, profile permissions and endpoint protection on Windows machines before approving Remote mode.

The enforcement point is split between the vendor server and the computer. The vendor server validates the authorized device and the account behind it, but commands still execute locally under the user account, so the local user's permissions define what a remote request can reach. The vendor says every action is logged on the computer where it ran, including in Remote mode, in claude_tool_call.log inside the .claude-server-commander folder. That log lives on the endpoint, so it is only useful for review if the security team collects it or has a process to read it. Confirm with the vendor whether these logs can be forwarded centrally, and plan for the case where a user deletes or edits them.

For offboarding, the revocation path matters more than logout. Revoking a device in the Remote MCP dashboard invalidates it on the server. Logging out locally with remote --logout removes the saved local credentials but does not revoke the device, and Ctrl+C only takes it offline. The help page also says that Revoke all devices disconnects every computer at once, and that anyone who can use the ChatGPT or Claude account can reach connected computers, so the account's two factor authentication is part of the control set. No SSO or admin approval feature for Remote devices is documented, so confirm with the vendor how central enforcement is handled before rollout.

How a Remote device is authorized, used and revoked

The diagram starts on the endpoint, where the user launches the Remote Device and receives an OAuth device code that must match the one shown in the browser. The user signs in to the ChatGPT or Claude account and authorizes the device, after which the session is either saved to ~/.desktop-commander-device/device.json or, with --no-persist-session, must be authorized again on every start. Web client calls reach the vendor's servers, but commands still run locally under the user's account. Two exits matter for review: remote --logout removes only local credentials, while revoking the device in the Remote MCP dashboard invalidates it on the server.

Illustrative of the documented Remote device flow; exit paths are local logout versus server revocation.

Decisions to make before approving Remote sign-in

Remote mode ties a computer to a ChatGPT or Claude account and to a vendor-hosted session, so most of the exposure comes from choices the organization makes before anyone signs in. The cards below cover who owns the account, how the saved session is stored, where Remote is allowed, who can revoke, and who approves a device.

Who owns the AI account

Anyone who can use the ChatGPT or Claude account can use every computer connected to it, so the account itself is the main control point. Decide whether the account belongs to a named administrator or a shared team identity, and confirm that two-factor authentication is enabled on it before any device is connected. Ask who receives alerts if the password or two-factor method changes, and who can remove a user who leaves. Incident response starts with knowing which account to lock first.

Safe use guidance

Saved session or no-persist mode

By default the authenticated session is saved to a file in the user's home directory, with owner-only permissions on POSIX systems but no custom owner-only ACL on Windows. Running Remote with the no-persist option requires browser authorization on every start, which adds a step for each user but leaves no reusable credential on disk between sessions. Choose one standard for managed endpoints, and state it in the rollout guidance so users do not improvise.

Default file mode on POSIX
0600

Whether Remote runs on managed endpoints

Remote lets web-based clients such as ChatGPT and Claude call tools that execute on the computer, under the user's account. On managed endpoints that hold regulated data, decide whether Remote is allowed at all, or limited to a defined group of approved devices. Ask whether the endpoint management tool can detect or block the Remote Device process, since the vendor documents no admin switch that enforces this. Record the decision in the device standard so audits can trace it.

Who can revoke devices and how often

Revoking a device in the Remote MCP dashboard invalidates it on the server, while logging out locally or pressing Ctrl+C only removes local credentials or takes the device offline. The dashboard also offers a revoke-all action that disconnects every computer at once. Name the people allowed to revoke, and set a review cadence that checks the connected device list against current staff. Confirm that revocation is part of the offboarding checklist, not left to the user.

Local-only install or Remote

The local version runs commands only on the computer and does not route tool calls through the vendor's servers, while Desktop Commander Remote has an account and sends calls through vendor infrastructure. Decide whether the approved use is the local install alone, which keeps the vendor out of the call path, or whether Remote is permitted for specific roles. Document the difference for users, because the install routes and client setup look similar in the README.

Data privacy article

Who approves each device

No SSO or admin approval feature is documented for Remote, so the approval step is a process the organization must run. Define who verifies that the code shown in the browser matches the terminal before authorizing, and who records the device owner, the machine name and the approval date. Ask the vendor to confirm in writing whether any admin-level approval or allowlist exists for Remote before you rely on one. Without a named approver, a device can be authorized by whoever is nearest the keyboard.

How the answer changes by team size and endpoint model

A single engineering or operations team on company-managed laptops is the simplest case. The organization controls the operating system, the user accounts and the software inventory, so it can decide which people may run the server and whether they may connect it to a web-based client. Remote mode can be allowed for named users if the team's ChatGPT or Claude accounts are covered by the organization's own sign-in and two factor policy, because revoking a device in the Remote dashboard cuts off that computer's access.

  • Remote decision: Allow Remote only for users whose AI accounts require two factor authentication and whose laptops are under management.
  • Session settings: Use the default saved session in ~/.desktop-commander-device/device.json on POSIX systems, or require --no-persist-session where a fresh browser authorization on every start is preferred.
  • Offboarding: Include device revocation in the leaver process, since local logout does not invalidate the device on the server.
  • Logs: Confirm the claude_tool_call.log file location and whether your endpoint tooling collects it.

Confirm with the vendor which account controls apply to your plan and that revoking one device removes only that computer.

Gaps in identity and device control and how teams usually cover them

The official Desktop Commander server gives teams an OAuth device flow and a dashboard for revoking devices, but the vendor documents no SSO with a company identity provider and no admin approval of devices or clients. The cards below name each gap and the controls teams usually put around it, which you should confirm against your own environment and the vendor's current documentation.

No documented SSO with company identity

Remote sign-in runs through the vendor's own OAuth device-authorization flow, and the vendor documents no SAML or OIDC integration with your identity provider. Staff therefore authenticate outside your directory, so disabling a user in Okta or Entra ID does not by itself end their access. Teams usually cover this with an endpoint policy that allows or blocks the tool, plus account-level controls on the ChatGPT or Claude side. Ask the vendor in writing whether any federated login exists.

Remote device README

No documented admin approval of devices

The documentation describes no central step where an administrator reviews and approves a computer or MCP client before it connects to Remote. Any user who can sign in can authorize a device, which makes the device inventory a question for the security team rather than a setting. Teams usually cover this with endpoint application control that limits which MCP clients may run, and by requiring that new installs go through a managed software process. Confirm whether the Remote dashboard offers any approval queue.

Safe use and access limits

No documented admin control over Remote enablement

Remote mode is turned on by the user through the device setup, and the vendor documents no tenant-wide switch that an administrator can set to prevent it. Because web clients such as ChatGPT and Claude can then reach the computer, a single user decision changes the exposure of that machine. Teams usually cover this with endpoint policy that blocks the Remote entry point on managed devices, and with account controls on the ChatGPT or Claude side. Ask the vendor whether an admin toggle exists before relying on one.

Revocation depends on prompt dashboard use

Revoking a device in the Remote MCP dashboard invalidates it on the server, but the vendor documents no automated revocation tied to offboarding. A departing employee's computer stays connected until someone revokes it, and Revoke all devices disconnects every computer at once. Teams usually cover this with a written offboarding step that revokes the person's devices before access is removed from the identity provider. Check who holds dashboard access and whether that access is itself reviewed.

Local logout does not revoke the device

Running remote --logout removes the saved local credentials, but the vendor states that logging out locally does not revoke the device, and that Ctrl+C only takes it offline. A stolen or retired laptop can therefore keep a valid server-side registration after its files are cleaned up. Teams usually cover this by making dashboard revocation, not local logout, the required step in the decommissioning procedure. Test the procedure on a spare device before relying on it.

Session file has no owner-only ACL on Windows

By default the saved session lives at ~/.desktop-commander-device/device.json, created with mode 0600 on POSIX systems. On Windows the documentation says no custom owner-only ACL is set, so the file inherits default permissions from its folder. Anyone who can read that file on a shared or poorly protected Windows host may be able to use the saved session. Teams usually cover this with disk encryption, restricted user profiles, and an endpoint rule that uses --no-persist-session where browser sign-in on every start is acceptable.

Activity logs stay on each computer

The vendor says every action is logged on the computer where it ran, including in Remote mode, in claude_tool_call.log inside the .claude-server-commander folder. No central export or forwarding to a company system is documented, so investigators must reach each endpoint to see what the agent did. Teams usually cover this by collecting that file from managed endpoints into their own log platform, and by setting retention and access rules there. Confirm the file location and format on your own build before writing the collector.

Order of work before staff connect Desktop Commander Remote

This sequence settles vendor account controls, session storage and logout rules, and offboarding before any staff member signs in. It produces a documented, tested baseline that the security team can review and repeat.

  1. Confirm vendor identity and sign-in options

    The IT or security lead asks Desktop Commander's vendor, in writing, whether Remote accounts support SSO, SCIM provisioning or admin approval of devices, and which plan or tier each option applies to. The vendor documentation reviewed for this page does not describe any of these features, so treat the answer as the baseline for every later step. Record the reply, the plan name and the date. The step is done when the security team has a written answer for each control and has decided whether the gap is acceptable.

  2. Choose the owning AI account and enforce two-factor

    Decide which company-managed ChatGPT or Claude account will own Remote sessions, and whether each staff member uses an individual account. The vendor help page warns that anyone who can use the connected AI account can use the connected computers, so confirm that two-factor authentication is enabled on that account and that the setting is checked, not assumed. Document who holds the account and who can change its security settings. The step is done when the owning account, its owners and its two-factor status are written down and reviewed by someone outside the team that uses it.

  3. Set the endpoint rule for saved sessions

    Choose whether engineers may keep the default saved session file or must run Remote with the no-persist option, which requires browser authorization on each start. The vendor documents the saved file at a fixed path in the user's home folder, with owner-only permissions on POSIX systems but no custom owner-only access control on Windows. Decide how endpoint management, disk encryption and local account rules cover that file on each operating system the company uses. The step is done when the rule is written into the endpoint standard and an admin has confirmed it on a sample machine of each operating system.

  4. Pilot with a small group and test revocation

    Run a pilot with a small group of named users on managed machines. For each pilot device, test a local logout, then confirm the device still appears as connected in the dashboard, which the vendor documents as the case because local logout does not revoke the device. Next, revoke the device from the dashboard and confirm that the server stops accepting calls from it. Also check that Ctrl+C only takes the device offline. Record each result, the date and the tester. The step is done when the pilot log shows that dashboard revocation worked and that the team understands the difference from local logout.

  5. Define offboarding and lost-device steps

    Write the procedure for leaving staff and lost or stolen laptops. It should require a dashboard revocation of each affected device, not only a local logout or removal of the app, and it should name who performs the revocation and who confirms it. Include the option of revoking all devices if the owning AI account may be exposed, which the vendor describes as disconnecting every computer at once. Add a step to review the account's connected devices after a departure. The step is done when the runbook has been walked through once with the people who would carry it out, and each named owner has access to the dashboard.

  6. Collect per-computer activity logs centrally

    The vendor states that each action is logged on the computer where it ran, including in Remote mode, in a file inside the .claude-server-commander folder. Because those logs stay on individual machines, decide how the security team will collect them into the company's logging system, through an endpoint agent or a scheduled export, and who owns that pipeline. Confirm the log path on each operating system, check that the log is readable by the collector without broadening file permissions, and test that a sample tool call appears centrally. The step is done when a test action from a pilot device is visible in the central log store.

  7. Set a review cadence for connected devices

    Agree on a recurring review in which the owning team lists every device connected to each Remote account, compares it with the current staff roster and the managed device inventory, and revokes anything unknown or stale. Record who ran the review, what was removed and any open questions for the vendor, such as changes to SSO or admin controls. Revisit the review whenever the vendor changes its Remote documentation or plan terms. The step is done when the first review is complete, its findings are filed, and the cadence has an owner who is accountable for it.

What a security reviewer asks to see for device control and logging

This table lists the identity, device and logging evidence a reviewer should request before approving Desktop Commander Remote, and where each item comes from. Read each row as a request: the source tells you who holds the evidence, and the last column tells you which control it actually proves. Items the vendor has not documented are marked as items to confirm rather than assumed to exist.

Evidence requestWhere it comes fromWhat it proves
Vendor statement on SSO and admin controls for RemoteWritten answer from the vendor, dated and filed with the approval recordWhether a central identity or admin approval layer exists for Remote devices. No SSO or admin approval feature is documented, so confirm in writing before assuming one
Screenshot or export of connected devicesRemote MCP dashboard, captured at a named dateWhich computers currently hold an active Remote session under the organization's account, and whether any device is unexpected
Record of a revocation testA test device revoked in the dashboard, with the time and the failed reconnection attemptThat revoking a device invalidates it on the server, as opposed to only stopping the local process
Endpoint setting for the saved session filePermissions on ~/.desktop-commander-device/device.json on a sample POSIX machine, and the Windows ACL check for the same fileThat the stored credential is owner-only on POSIX systems and whether Windows endpoints need a separate control, since no custom owner-only ACL is set by default
Account two-factor configuration on the ChatGPT or Claude sideAdmin or account settings screen for the AI service used with RemoteThat anyone who can use the linked AI account cannot also drive connected computers without a second factor
Sample of claude_tool_call.log entries from a test runThe claude_tool_call.log file inside the .claude-server-commander folder on the test computerThat tool calls are recorded on the computer where they ran, including Remote sessions, and what fields a reviewer can actually inspect
Offboarding runbookInternal procedure covering revocation, local logout and the AI accountThat a departing user's devices are revoked on the server, local credentials are removed, and the AI account is disabled, in that order of verification

Questions buyers ask before approving Remote sign-in

Does Desktop Commander Remote support SSO for our workforce?

The sources supplied for this page do not document SSO or an admin approval feature for Remote mode, so do not assume either exists. Sign-in runs through an OAuth device-authorization flow in a browser, where the user signs in to the vendor account and authorizes the device. Ask the vendor in writing whether SSO, enforced sign-in methods, or domain restrictions are available for your account type, and whether any of them apply to the local MCP version as well. Until the answer is documented, treat each person's Remote account as an individual identity you must manage yourself, and include the two-factor step on the ChatGPT or Claude account that the vendor recommends in your review.

Does revoking a device stop Desktop Commander immediately?

Revoking a device in the Remote MCP dashboard invalidates it on the server, so the vendor documents server-side revocation as the control that matters. The sources do not state how quickly that takes effect on a running session, so confirm the timing in a test before relying on it. Run a Remote session, revoke the device, then issue a tool call from the connected client and record whether it fails and how long that took. Keep the test result as evidence for your offboarding procedure.

Is logging out on the laptop enough to cut off access?

No. Logging out locally removes the saved credentials on that computer, but it does not revoke the device on the server, so the session credentials remain valid until someone revokes the device in the dashboard. Ctrl+C only takes the device offline for the moment. For offboarding, the sequence is to revoke the device in the dashboard, then remove local credentials with the logout command, then confirm the device no longer appears as connected. If a person leaves with a laptop you cannot reach, revocation in the dashboard is the step that matters.

What does an offboarding step cost, and who pays for it?

The main costs are internal staff time and, if you engage an outside reviewer, the fee for that review. Revocation itself is a dashboard action, so its direct cost is the time an administrator spends running it, checking the result and recording it. Recurring costs come from repeating the step for every departure, every device replacement and every periodic access review. Cost rises with the number of people using Remote mode, the number of devices per person, and how much evidence your audit process requires. Ask any provider for a quote that separates the one-time review of your setup from the recurring offboarding and access review work, and state who performs each task.

What can our own administrators do without outside help?

Several controls are within your reach today. Administrators can revoke individual devices or all devices from the Remote MCP dashboard, which is the vendor's documented way to cut off Remote access. The vendor also states that every action is logged on the computer where it ran, in the claude_tool_call.log file inside the .claude-server-commander folder, so you can have endpoint management or your security team collect that file. Your endpoint policy can restrict who installs the server and where the saved session file lives. Confirm with the vendor which log fields and retention apply, because the sources describe only where the log is written.

Where does the saved Remote session credential live, and how is it protected?

By default the authenticated session is saved to ~/.desktop-commander-device/device.json. On POSIX systems the file is created with mode 0600, so only the owning user can read it. On Windows, no custom owner-only access control list is set, so file permissions depend on your existing folder and profile settings. Any process or person who can read that file as the same user can act as the device, so include this file in your endpoint hardening. Use --no-persist-session where policy requires browser authorization on every start, at the cost of more sign-ins for users.

What would a security consultant add to our Remote sign-in review?

A consultant can test the setup as an attacker or misusing employee would, rather than only reading the vendor documents. DeployOpen tests AI agent setups, including tool and file permissions, credential handling, and SSO and admin settings, and delivers a findings report with fixes and a retest. For this topic, that work would include confirming revocation timing in your environment, checking the file permissions on your endpoints, verifying that local logs capture the actions you need, and documenting the results as evidence. DeployOpen does not issue audit reports or certifications, so independent auditors would still need to assess your controls. The scope is agreed in writing before work starts.

Which vendor questions should we put in writing before approval?

Ask the vendor to confirm, in writing, the following: whether SSO or enforced sign-in is available and for which plans, how long revocation takes to end an active session, whether any admin approval step exists before a device connects, how long Remote activity logs are kept and whether they can be exported centrally, and whether the local log covers Remote tool calls as the vendor states. Also ask who can see the account's connected devices and whether two-factor authentication can be enforced for all users. Record each answer with a date and the name of the person who gave it, and retest the points that affect offboarding.

How DeployOpen reviews AI agent sign-in and device control

DeployOpen reviews how Desktop Commander authenticates in Remote mode, how devices are revoked and logged out, and what activity records exist on each computer. The review is delivered as a fixed-scope engagement that covers the agreed sign-in and device controls in your environment.

How we scope

  • We agree in writing which Desktop Commander deployments, computers and account settings are in scope before work starts.
  • The written scope names whether Remote mode, local MCP use or both are reviewed, with the staff groups that will use them.
  • Scope also records which AI services connect to Remote mode and who administers the ChatGPT or Claude accounts involved.

How we build

  • We test the OAuth device-authorization sign-in, session storage on each operating system and the behavior of --no-persist-session.
  • We verify that revoking a device in the dashboard invalidates it on the server while local logout and Ctrl+C do not.
  • We check file permissions on the saved device.json credentials and document what a reviewer should confirm on Windows hosts.

How we hand over

  • You receive a written findings report covering sign-in, device revocation, credential storage and activity log locations.
  • Each finding comes with a recommended fix, such as account two factor authentication, revocation steps or endpoint controls.
  • After fixes are applied, we retest the agreed items and document the results for your security and compliance files.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers when staff use of the tool changes.
  • A retainer can cover retesting after Desktop Commander releases, since sign-in and device behavior may change over time.
  • Support scope and frequency are set in the written agreement, so you can confirm them with a quote before engaging.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.