Local Commander runs on your own machine — the client starts it, so there is no endpoint to ping. 110 installs a week from npm. Last commit 31 Oct 2026.
Files, Git, allowlisted dev commands, processes and localhost inside folders you choose.
We read the source, 2 h ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
try { const file = path.join(dir, command); accessSync(file, constants.X_OK); return statSync(file).isFile(); } catch { return false; }
const child = spawn(command, args, {
!/(?:^|\/)(?:\.env(?:\.[^/]*)?|credentials[^/]*|\.npmrc|agent-identities\.json)(?:\/|$)/i.test(normalized);
try { return await readdir(current, { withFileTypes: true }); }
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add local-commander-mcp-agent -e 'LCMCP_ROOTS=<LCMCP_ROOTS>' -- npx -y local-commander-mcp-agent
{
"mcpServers": {
"local-commander-mcp-agent": {
"command": "npx",
"args": [
"-y",
"local-commander-mcp-agent"
],
"env": {
"LCMCP_ROOTS": "<LCMCP_ROOTS>"
}
}
}
}
[mcp_servers.local-commander-mcp-agent]
command = "npx"
args = ["-y", "local-commander-mcp-agent"]
env = { LCMCP_ROOTS = "<LCMCP_ROOTS>" }
{
"mcpServers": {
"local-commander-mcp-agent": {
"command": "npx",
"args": [
"-y",
"local-commander-mcp-agent"
],
"env": {
"LCMCP_ROOTS": "<LCMCP_ROOTS>"
}
}
}
}
{
"servers": {
"local-commander-mcp-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"local-commander-mcp-agent"
],
"env": {
"LCMCP_ROOTS": "<LCMCP_ROOTS>"
}
}
}
}
Put your own value in place of
<LCMCP_ROOTS> (Folders the server may access, separated by ; on Windows and : elsewhere).
The author’s registry entry marks it as required.
Inspect and manage local files and folders inside allowed roots on macOS.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
Compare local files, folders and API schemas through the installed Diff Anything CLI.
Get private offers from local businesses in Canada for a job you describe, then choose on Bidit.
Allow AI systems to list, search, upload, download, and manage files and folders in Google Drive.
Give your AI hands on every computer you own. One chat, all your machines — even from your phone.
Answers built from our own checks of this server.