Local Commander
Server Details
Give your AI hands on every computer you own. Remote control of your Windows, Mac and Linux machines from one ChatGPT, Claude or Cursor chat — even from your phone. Ask it to find out why the office server is crawling, update every PC in the house, sort out your mom's laptop from another city, or ship the site from your work machine while you're on a train. It runs commands and reads and writes files; screenshots are a beta you can request. You decide what each computer allows, and you can cut any of them off in a second.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- netbka/local-commander-plugins
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 38 tools
Most tools target distinct resources or actions, but several boundaries are fuzzy: project_identity vs project_target_resolve, project_list vs project_target_list, diagnostics vs usage_status, and fs_search vs fs_search_start overlap enough to require careful reading. The detailed descriptions help, but an agent could still misselect among the project, status, and search tools.
The tool set consistently uses snake_case with recognizable prefix groups such as fs_, git_, operation_, project_, and office_. A few names deviate from the dominant prefix_action pattern, such as diagnostics and project_identity, but the overall convention remains predictable.
At 38 tools, the surface is heavy even for a broad local-machine control server. Many capabilities could be consolidated or grouped, and the large tool count increases context load and selection risk.
Coverage is broad: sessions, command execution, file operations, Git inspection, Office documents, localhost/URL HTTP, process control, projects, diagnostics, usage, and support are all represented. Minor gaps exist, such as dedicated copy or richer Git/project-target lifecycle operations, but command_run provides a workaround for many of them.
Publisher details
- Operator
- Peter Mamrukov (Local Commander) · Publisher source
- Operator website
- https://localcmd.app
- Vendor relationship
- First-party
- Documentation
- https://localcmd.app/help
- Privacy policy
- https://localcmd.app/privacy
- Trust center
- Not available
- Restrictions
- Requires a Local Commander account and the agent on each computer (on Windows: npx --registry=https://gitlab.com/api/v4/projects/88458751/packages/npm/ local-commander-agent@latest; macOS and Linux commands: https://localcmd.app/#how-it-works); sign-in uses OAuth 2.0 in the browser.
Available Tools
38 toolscommand_runRun commandADestructiveIdempotentInspect
Use this when the user asks to run a command on the approved computer, such as a build, test, Git, package manager or PowerShell command, including commands that only inspect state. Full Access uses the user account's rights; scoped grants keep their restrictions. timeoutMs is the process lifetime, up to 24 hours; a long command returns its running IDs in about two seconds, then follow it with operation_status/operation_output and stop it with operation_cancel. Do not use to scan or probe hosts other than this computer (port scans, host discovery, vulnerability checks); decline those instead. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: command (required), sessionId (required), operationId (required), cwd, +7 more.
diagnosticsDiagnose connection and safely repair expired reservationsAIdempotentInspect
Use after capacity/transport errors. Reports online state, account quota, active account/device leases and current-epoch verified native capacity/version; old agents conservatively use one slot. repairSafe releases only this grant's expired, never-dispatched reservations and never releases unknown executions or changes local permissions. Connection health does not prove command authorization.
Inputs: deviceId (required), repairSafe.
execution_session_closeClose execution sessionAIdempotentInspect
Use this when approved local work is complete or the user asks to stop using the current session. Closes only a session owned by the authenticated grant and does not terminate unrelated processes.
Inputs: sessionId (required).
execution_session_openOpen execution sessionAInspect
Use this when opening a session on the explicitly selected device/workspace. Pass expectDeviceName with the PC name the user gave; a mismatch opens nothing. Returns the authenticated account, the device ID and name, the session envelope, and optional startup context. Include startup {path, taskId?} to receive project policy, Git state and owned task continuation in this same call. Discover workspace IDs first only when unknown. Startup is one metered project read; without startup this opens only the session.
Inputs: deviceId (required), workspaceGrantId (required), startup, projectTarget, +1 more.
fs_deleteMove to trashADestructiveInspect
Use this when the user asks to delete a file or folder in an approved project. It goes to the computer's trash (the Recycle Bin on Windows) and is never deleted for good; where no trash takes it, nothing is deleted. A folder with contents needs recursive. Links, the project or workspace root and Local Commander's own files are refused. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), sessionId (required), operationId (required), recursive, +4 more.
fs_listList filesARead-onlyIdempotentInspect
Use this when the user wants to see which files and folders an approved project contains. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: sessionId (required), operationId (required), path, maxDepth, +5 more.
fs_mkdirCreate folderAIdempotentInspect
Use this when the user asks to create a folder in an approved project, including any missing folders above it. Succeeds without change when the folder already exists. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), sessionId (required), operationId (required), deadlineAt, +2 more.
fs_moveMove or renameADestructiveInspect
Use this when the user asks to move or rename a file or folder within an approved project on the same drive. An existing target is never replaced unless overwrite is true, and then only a file. Links, the project or workspace root and Local Commander's own files are refused. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: to (required), from (required), sessionId (required), operationId (required), +6 more.
fs_readRead fileARead-onlyIdempotentInspect
Use this when the user wants to read a text file in an approved project, whole or by line range. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), sessionId (required), operationId (required), endLine, +4 more.
fs_read_manyRead several filesARead-onlyIdempotentInspect
Use this when the user wants several text files of an approved project read at once. Returns each file's first lines in the order asked, or an error code for that file; files[i] answers paths[i]. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: paths (required), sessionId (required), operationId (required), deadlineAt, +3 more.
fs_replaceEdit file textADestructiveIdempotentInspect
Use this when the user asks to change part of a file in an approved project: replaces exact text with new text. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), newText (required), oldText (required), sessionId (required), +8 more.
fs_searchSearch filesARead-onlyIdempotentInspect
Use this when the user wants to find text in the files of an approved project. Returns matching files and lines. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: query (required), sessionId (required), operationId (required), path, +5 more.
fs_search_startStart a searchARead-onlyInspect
Use this when the user wants file names or text found in a large approved folder, beyond fs_search's limits (300 files). It walks the whole folder within timeoutMs and streams the results; a short search returns them with its summary, a long one returns its running IDs in about two seconds. Read every result (one JSON line each, the summary last) with operation_output (stream stdout, offset 0, then nextOffset) and stop it with operation_cancel. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: query (required), sessionId (required), operationId (required), mode, +12 more.
fs_writeWrite fileADestructiveIdempotentInspect
Use this when the user asks to create a file or replace a file's whole text in an approved project. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), content (required), sessionId (required), operationId (required), +6 more.
git_diffGit diffARead-onlyIdempotentInspect
Use this when the user wants to see the uncommitted or staged changes of an approved project. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: sessionId (required), operationId (required), file, path, +4 more.
git_logGit logARead-onlyIdempotentInspect
Use this when the user wants the recent commit history of an approved project. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: sessionId (required), operationId (required), path, limit, +3 more.
git_statusGit statusARead-onlyIdempotentInspect
Use this when the user wants the Git branch and changed files of an approved project. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: sessionId (required), operationId (required), path, deadlineAt, +2 more.
localhost_getCheck local serviceARead-onlyIdempotentInspect
Use this when the user wants to check an approved service running on this computer: sends a GET or HEAD request to a localhost URL and returns the status and a bounded body. Read-only; other hosts are refused. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: url (required), sessionId (required), operationId (required), method, +4 more.
localhost_sendSend local service requestADestructiveIdempotentInspect
Use this when the user asks to send a POST, PUT, PATCH or DELETE request to an approved service running on this computer. Can change the service's data; other hosts are refused. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: url (required), method (required), sessionId (required), operationId (required), +5 more.
office_editEdit Excel cells, Word text or PDF pagesADestructiveIdempotentInspect
Use this when the user asks to change an Excel workbook (.xlsx, .xlsm) , a Word document (.docx, .docm) or a PDF in an approved project, without Office or another program. Workbook: values (rows of cells) are written from the range's top-left cell; formulas recalculate when the file is next opened in Excel. Document: oldText is replaced by newText inside paragraphs of the body, headers, footers and notes, across formatting runs, only when it occurs exactly expectedReplacements times (default 1); the new text takes the formatting where the match starts. PDF: operations delete pages or insert pages laid out from markdown or copied from another PDF in the project, in order. A deleted page leaves the file with its content and bookmarks; deleting also removes the accessibility tags (tagsRemoved). Pages with form fields cannot be deleted or copied; a signed or encrypted PDF is refused. Everything else in the file stays as it was. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), sessionId (required), operationId (required), range, +10 more.
office_readRead Excel, Word or PDF fileARead-onlyIdempotentInspect
Use this when the user wants the contents of an Excel workbook (.xlsx, .xlsm) , a Word document (.docx, .docm) or a PDF in an approved project, without Office or another program. A workbook gives the cell values of one sheet as rows (dates as ISO text, formulas listed beside their values) and its sheet names. A document gives its paragraphs (style, heading level, list level) and table rows as numbered blocks, with header and footer texts. A PDF gives the text of each page (a scanned page has none; undecodedEncodings names Chinese, Japanese or Korean font encodings whose text cannot be read) with its page count, title and author. Long content comes in pages: pass nextOffset as offset. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), sessionId (required), operationId (required), range, +6 more.
office_writeCreate Excel, Word or PDF fileADestructiveIdempotentInspect
Use this when the user asks to create an Excel workbook (.xlsx) , a Word document (.docx) or a PDF (.pdf) in an approved project, without Office or another program. A workbook takes sheets of rows; each cell is text, a number, true/false, null (empty) or {formula: "=SUM(A1:A3)"}. A document or PDF takes markdown: lines starting with # to ###### become headings 1-6, other lines paragraphs, empty lines empty paragraphs; a PDF is laid out on A4 pages in a font installed on the computer that has every character, and cannot take right-to-left or other scripts that need shaping (Arabic, Hebrew, Indic, Thai). An existing file is replaced only with overwrite true. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), sessionId (required), operationId (required), sheets, +6 more.
operation_cancelCancel owned operationADestructiveIdempotentInspect
Use this when the user asks to stop an operation owned by the authenticated grant. Requests cancellation but does not by itself prove that an already-running local process has terminated; it remains available when chargeable quota is exhausted.
Inputs: operationId (required).
operation_inputSend input to a running programADestructiveInspect
Use this to type into a program started with command_run interactive=true and still running (a REPL, ssh, a program waiting for input): it sends text to the program's input, waits briefly and returns the output that followed. Send one line at a time with its line break; eof=true ends the input. The program's earlier and later output stays readable with operation_output, and operation_cancel stops it.
Inputs: operationId (required), childExecutionId (required), eof, text, +1 more.
operation_outputRead bounded operation outputARead-onlyIdempotentInspect
Use this to retrieve bounded stdout and stderr for a child execution owned by the authenticated grant, also after its execution session was closed or expired. This is read-only, does not consume execution units, and requires the connected device to retain the output. Without stream/offset/length it returns the retained tail. For command_run output longer than the tail, pass stream, offset and length to read the full output page by page (the agent keeps up to 8 MiB per stream in memory for recent commands); continue at nextOffset while hasMore is true.
Inputs: operationId (required), childExecutionId (required), length, offset, +1 more.
operation_statusGet operation statusARead-onlyIdempotentInspect
Use this when the user needs the current state of an operation already owned by the authenticated grant. This is read-only, does not dispatch work, and does not reserve or consume execution quota. Rejected/unknown children include existing recovery diagnostics when devices:read is granted; no repair or replay is performed.
Inputs: operationId (required).
process_killStop a processADestructiveInspect
Use this when the user asks to stop a program running on an approved computer, by process ID, with its child processes unless tree is false. Never stops Local Commander, work it started (use operation_cancel), system processes or security software. Needs a Full Access workspace. Changes the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: pid (required), sessionId (required), operationId (required), tree, +5 more.
process_listList processesARead-onlyInspect
Use this when the user wants to see which programs run on an approved computer: process ID, parent, name, memory and start time; processes Local Commander will not stop are marked. Needs a Full Access workspace. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: sessionId (required), operationId (required), limit, filter, +3 more.
project_identityProject identityARead-onlyIdempotentInspect
Use this when you need the stable identity of a project folder (repository root and remote) before project_target_resolve or project_target_register. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: path (required), sessionId (required), operationId (required), deadlineAt, +2 more.
project_listList registered projectsBRead-onlyIdempotentInspect
Account-owned project registry; missing entries mean unknown. No device scan or execution quota.
Inputs: limit, afterProjectId.
project_snapshotProject snapshotARead-onlyIdempotentInspect
Use this when the user wants an overview of an approved project: a bounded summary of its files and Git state, and with startup also its project policy and task continuation. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: sessionId (required), operationId (required), path, taskId, +4 more.
project_target_listList project locationsCRead-onlyIdempotentInspect
Explicit device/workspace/environment targets and verification metadata. Offline locations stay registered; no fallback or repository scan.
Inputs: projectId (required), limit, afterTargetId.
project_target_registerRegister explicit project locationBInspect
Register one owner-selected repository location after a metered authenticated native identity read. Supply stable project/target UUIDs; existing metadata must match. No clone, scan, install or environment fallback.
Inputs: deviceId (required), targetId (required), projectId (required), displayName (required), +3 more.
project_target_resolveVerify explicit project targetBRead-onlyInspect
On-demand metered native identity read for one registered target. Returns resolved/unknown/offline/stale/mismatch; never switches device or creates metadata.
Inputs: targetId (required), projectId (required), previousTargetId.
support_requestContact Local Commander supportAInspect
Use when the user asks to contact Local Commander support, or reports a problem you cannot solve. It sends an email to the Local Commander team; replies go to the user's account email. Two steps: with confirm=false (default) the server builds the exact message and returns it with a previewId; with confirm=true and that previewId it sends exactly that message, only after the user explicitly agreed. The server adds the facts itself: account email, computer name and ID, agent version, online state, the latest diagnostics findings and, for the given operationIds of this connection, each tool, state, result code and times. It never includes command output or file contents. Secret-looking text is masked. At most 5 requests are sent per account per 24 hours.
Inputs: summary (required), confirm, details, deviceId, +3 more.
url_readRead web pageARead-onlyInspect
Use this when the user wants a public web page, API response or text file read from their own computer's internet connection, for example a page their network can reach or to check what it returns there. GET only, text only (HTML, JSON, XML, plain text), no cookies or sign-in. Returns the text with status, final address and content type; when truncated, call again with offset = nextOffset for the rest. Addresses on the computer itself (use localhost_get) or its local network are refused. Needs a Full Access workspace. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
Inputs: url (required), sessionId (required), operationId (required), offset, +5 more.
usage_statusGet execution usageARead-onlyIdempotentInspect
Use this when the user asks how much managed execution allowance is reserved, consumed or still available for the authenticated tenant. This is read-only and does not reserve or consume quota. When unlimitedExecutions is true the plan has no monthly execution cap: report unlimited executions and do not read out limitUnits or availableUnits; computers (deviceLimit) and parallel slots (executionSlots) stay limited.
Inputs: no named parameters.
workspace_listList devices and workspacesARead-onlyIdempotentInspect
Use this first, before execution_session_open, to find the user's paired computers, whether each is online, and the workspaces approved on it. Read-only; returns the authenticated account identity and only its own enrolled devices, and does not reserve quota.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Reach your own computers from any AI app: files, commands, screen and mouse, approvals and alerts.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Let your AI see your screen, click, type and run commands on your own Windows, Mac or Linux PC.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants like Claude, Codex and ChatGPT to actually operate a computer — finding files, running commands, taking screenshots and driving a browser — and, after a one-time pairing, to help on family members' computers anywhere. Connections between machines are end-to-end encrypted through a relay, requiring no VPN, port forwarding or router setup.1MIT

Remote Arcofficial
FlicenseNot gradedqualityBmaintenanceConnects AI clients such as ChatGPT, Claude, Codex and Cursor to paired Windows, macOS and Linux computers under per-computer permissions, enabling file access, command execution and shared browser tabs through one MCP endpoint.1-- AlicenseNot gradedqualityCmaintenanceEnables any AI agent to remotely drive a Windows PC through mouse and keyboard control, UI Automation snapshots, unrestricted PowerShell, file system and registry access, and Chrome DevTools Protocol browser inspection. This lets agents run a full remote coding loop on a real machine — editing code, building and testing, verifying in the browser, and pushing to GitHub.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables Claude, ChatGPT, and Gemini web apps to directly operate a user's computer — running commands, reading and writing files, invoking the locally installed Pi skills, extensions and MCP servers, delegating tasks to on-device models, and transferring files over temporary links. Supports multiple users and multiple machines per account with OAuth-scoped access.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.