Kilnshell
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Kilnshell exposes 26 tools over MCP (stdio): run commands and long-running processes, read, write and edit files, search with ripgrep, and read or write PDF, Excel and Word files. It is the code of Desktop Commander 0.3.1 with three kinds of changes: it no longer sends usage data or adds promotional text to tool results, each tool call does less work, and four additions cut the number of round trips an agent needs (batch, wait_for, and two wait options).
In the author's benchmark on one Mac, tool calls took 11 to 122 times less time than with Desktop Commander 0.3.1. The table, the method, its limits and the command to run it yourself are in Benchmark.
Is it for you?
Yes, if your MCP client has no terminal or file tools of its own, for example the Claude desktop app, and you want an agent to run commands and edit files on your computer.
Yes, if you already use Desktop Commander and want the same tools, arguments and config file without the usage data sent by its server.
Probably not, if your agent already has a terminal and file tools built in, such as Claude Code, Cursor's agent or Codex CLI. Kilnshell would add a second set of tools that do the same job.
Not if you want an agent limited to a few folders. Kilnshell includes a shell, so its folder restriction is not a boundary (what the guardrails do, and do not do). A server without command execution, such as the reference
@modelcontextprotocol/server-filesystem, fits that need better.Where it runs. On your computer, with Node.js 22.12 or later. CI builds it and runs the benchmark on macOS and Ubuntu. The Windows code paths come from Desktop Commander and are not tested by this project.
Related MCP server: lnwjud
Before you install
This gives an agent your user account's power. Any agent connected to Kilnshell can run any command and read, change or delete any file that you can. Kilnshell asks for no confirmation itself: whether you see a call before it runs depends on your MCP client's approval settings.
It is not a sandbox. The allowed folders and the blocked commands reduce accidents. They do not stop an agent that has been misled, for example by instructions hidden in a file or a web page it read. To contain an agent, run Kilnshell in a container, a virtual machine or a separate user account. Details in what the guardrails do, and do not do and in SECURITY.md.
License and origin. MIT. Kilnshell is a fork of Desktop Commander by Eduard Ruzga and the Desktop Commander contributors, also MIT. It is an independent project, not affiliated with or endorsed by them (Credits and license).
It updates itself. Every 6 hours the launcher asks npm for a newer
kilnshell, installs it withnpm installand switches to it, without asking. You can turn this off (Automatic updates).Versions up to 1.0.5 sent usage data from two scripts. The server never did, but in 1.0.5 and earlier
kilnshell-setup(kilnshell setup) andkilnshell-remove(kilnshell remove) posted events to Desktop Commander's telemetry server. That code is removed in 1.0.6: it and later versions send nothing. No install method below uses those two scripts (Your data).It shares its config folder with Desktop Commander. Both use
~/.claude-server-commander. If you run both, they read and write the same settings and logs.One maintainer, a young project, no outside audit. The first release is dated 2026-10-26. No security audit by a third party has been published, and the benchmark has not been reproduced by anyone else.
Install
Claude desktop app
Download kilnshell.mcpb and double-click it (or Settings > Extensions > Advanced settings > Install Extension).
Claude Code
/plugin install kilnshell --marketplace Soflutionltd/kilnshellThis needs Claude Code 2.1.275 or later. The plugin starts npx -y kilnshell@latest. Claude Code already has its own shell and file tools (Is it for you?).
Cursor or any MCP client
{
"mcpServers": {
"kilnshell": {
"command": "npx",
"args": ["-y", "kilnshell@latest"]
}
}
}From a local clone
git clone https://github.com/Soflutionltd/kilnshell && cd kilnshell && npm install{ "mcpServers": { "kilnshell": { "command": "node", "args": ["/absolute/path/to/kilnshell/bin/supervise.cjs"] } } }npm install also builds the server. Started through bin/supervise.cjs, a clone still updates itself from npm. To run exactly the code you cloned, point the client at dist/index.js instead, or set SOFLUTION_AUTO_UPDATE=0.
Kilnshell is also listed in the official MCP Registry as com.soflution/kilnshell. That entry points to the .mcpb file of each GitHub release.
Automatic updates
Every install above goes through a small launcher, bin/supervise.cjs. The MCP client talks to the launcher, and the server runs behind it as a child process.
Ten seconds after it starts, then every 6 hours, the launcher sends one request to
registry.npmjs.orgfor the latest version number ofkilnshell. The request carries nothing about your machine or your use.If that version is newer, it runs
npm install kilnshell@<version>in the background, into~/.soflution/mcp/kilnshell/<version>. As with anynpm install, the install scripts of the package and of its dependencies run, and npm checks each download against the checksum the registry publishes.Once no request is in flight, it starts the new version, replays the MCP handshake to it, and tells the client that the tool list may have changed. Claude or Cursor does not need a restart.
A version that stops within 30 seconds of starting, or fails to start three times, is dropped and never picked again on that machine. The version you installed runs instead.
What this means: a new release published to npm under the kilnshell name runs on your machine within about 6 hours, without your review. Releases are published from GitHub Actions with npm provenance, so you can check on npmjs.com which commit a version was built from. The launcher itself does not check provenance or any signature.
Turn automatic updates off with SOFLUTION_AUTO_UPDATE=0 or NO_UPDATE_NOTIFIER=1 in the server's environment. They are also off when CI is set, and nothing is installed when npm cannot be found. With npx -y kilnshell@latest, npx may still fetch the latest version each time the client starts the server: pin a version (kilnshell@1.0.5) to prevent that.
A server started directly with node dist/index.js never installs anything. It sends one request to registry.npmjs.org three seconds after it starts and, if a newer version exists, adds one line saying so to its first tool result. NO_UPDATE_NOTIFIER=1 turns that off.
Your data
Kilnshell sends no usage data, from the server, the launcher or the setup and remove scripts. The code that sent Desktop Commander's telemetry is no longer in the package: no address of a measurement service is left in the published files, and a test (test/test-no-measurement-endpoints.js) fails if one comes back. The calls that used to record an event are still in the source and reach a function that does nothing. The telemetryEnabled setting has no effect in Kilnshell; Desktop Commander, which reads the same config file, still obeys it.
Versions up to 1.0.5 were different. Their server sent nothing either, but two scripts inherited from Desktop Commander still did:
kilnshell-setup(alsokilnshell setupandnpm run setup) sent events totelemetry.desktopcommander.app, a server run by the Desktop Commander project, with no way to turn it off. Each event carried a random identifier, your operating system, your Node and npm versions, your shell, the Kilnshell version and the step reached. Error events carried the error message. One event, sent when the Claude config folder had to be created, contained that folder's path, which includes your user name. The script also wrote"telemetryEnabled": trueinto a new Kilnshell config file.kilnshell-remove(alsokilnshell removeandnpm run remove) sent the same kind of events when the config file contained"telemetryEnabled": true.
None of the install methods above runs these scripts. If you ran one of them with 1.0.5 or earlier, those events were sent.
What kilnshell-setup changes, in every version. It adds a kilnshell entry to the config of the Claude desktop app, removes a desktopCommander entry when there is one (and says so since 1.0.6), then quits the Claude app and reopens it (macOS; on Windows it quits it and asks you to reopen it). On Linux, versions up to 1.0.5 stopped every process whose command line contains "claude", Claude Code sessions included; since 1.0.6 only a process named claude-desktop is stopped.
Network calls the server makes on its own: the update check and the update install described in Automatic updates. Nothing else.
Network calls made because a tool was asked to:
read_filewithisUrl: truefetches that URL;wait_forwithurlorportconnects to that address;Installing the package downloads a browser: the
puppeteerdependency (throughmd-to-pdf) fetches Chrome for Testing from Google's servers into~/.cache/puppeteerwhen npm installs it, so at the first start and at each automatic update that changes it.PUPPETEER_SKIP_DOWNLOAD=1in the environment of the MCP entry prevents it.write_pdfneeds Chrome. If no Chrome is found on the machine, the firstwrite_pdfdownloads Chrome (about 150 MB) from Google's servers through@puppeteer/browsersinto~/.claude-server-commander/puppeteer-cache;commands that the agent runs can reach the network like any program you start in a terminal.
What is written on your disk:
Path | Content |
| Settings, counters of tool calls (totals, per tool, first and last use), and a random client identifier when one has been created |
| One line per tool call: time, tool name and the full arguments. This includes every command, and the content passed to |
| The last 1,000 tool calls with their arguments and up to 4 KB of each result. Read by |
| Chrome, when it was downloaded for |
| Details of |
| Updated versions, the update state and a lock file |
These files are plain text and are not encrypted. Anything that can read your home folder can read them. A secret typed in a command or written to a file through Kilnshell ends up in the tool call log and the history.
What goes into the agent's context. Tool results contain the tool's output. Kilnshell adds text of its own in three cases: an error or usage hint from the tool, a warning when a call used a parameter the tool does not support, and the one-line update notice described above.
Uninstall
Remove Kilnshell from your client:
Claude desktop app: Settings > Extensions, then remove Kilnshell;
Claude Code:
/plugin uninstall kilnshell@soflution, then/plugin marketplace remove soflution;Cursor and other clients: delete the
kilnshellentry from the MCP settings file you edited.
Delete what it stored:
rm -rf ~/.soflution/mcp/kilnshell # versions installed by the updater rm -rf ~/.claude-server-commander-logs # edit_block logs rm -rf ~/.claude-server-commander # settings, tool call logs, history, downloaded Chrome rm -rf ~/.cache/puppeteer # Chrome downloaded when the package was installed (shared with other tools that use puppeteer)Skip the last two lines if you also use Desktop Commander: it stores its settings and logs in the same folders.
If you used
npx, the downloaded package is in npm's cache (~/.npm/_npx).npm cache clean --forceempties that cache, for every package. If you cloned the repository, delete the clone.
Kilnshell installs no background service and no login item. Once the client no longer starts it, nothing runs. Do not use kilnshell-remove to uninstall (Your data).
What the guardrails do, and do not do
All settings are in ~/.claude-server-commander/config.json (Configuration).
Guardrail | What it does | What it does not do |
| File tools ( | It does not apply to commands: |
|
| It does not look inside a wrapper such as |
| Sets how many lines | It is a default size, not an access control |
| Nothing: the value is stored, but | |
| Changes the settings above | It is a tool, so the agent can call it: an agent can empty |
Kilnshell runs commands with your environment variables, as your login shell sets them. It has no confirmation step, no rate limit and no undo.
Known limits
The guardrails above are not a security boundary.
In 1.0.5 and earlier,
kilnshell-setupandkilnshell-removesent usage data to Desktop Commander's servers (Your data).The code of Desktop Commander's
remotemode is still in the package, with its@supabase/supabase-jsdependency and the address of that project's cloud service. No Kilnshell command runs it.Automatic updates install new code without review, and the launcher does not verify a signature (Automatic updates).
Tool call logs keep full arguments in plain text, and the renamed copies of
claude_tool_call.logare never deleted.The benchmark was run by the author on one Mac, against Desktop Commander 0.3.1 only. It has not been run against later Desktop Commander versions or against other servers, and nobody else has reproduced it.
The largest gain, on starting commands, comes from reading the shell profile once. That cache is not used on Windows, and the gain is small with an empty shell profile.
Because the login environment is read once at start-up, commands see a change to your shell profile only after the server restarts (or with
DESKTOP_COMMANDER_LOGIN_ENV_CACHE=0).Windows is not tested by this project.
The
remotemode of Desktop Commander is not available.Names inherited from Desktop Commander remain: the config folder, the
DESKTOP_COMMANDER_LOGIN_ENV_CACHEvariable, and some messages that still say "Desktop Commander".
Benchmark
Tool call | Desktop Commander 0.3.1 | Kilnshell | Ratio |
Run a command ( | 696.7 ms | 5.7 ms | 122x |
Run a command ( | 703.7 ms | 16.2 ms | 43x |
Read 1,000 lines of a 20k-line file | 41.9 ms | 3.2 ms | 13x |
Edit one line ( | 75.7 ms | 6.9 ms | 11x |
Write a file | 34.7 ms | 1.0 ms | 35x |
File info | 21.8 ms | 1.2 ms | 18x |
List a directory | 19.2 ms | 1.4 ms | 14x |
Read 10 files at once | 191.8 ms | 3.5 ms | 55x |
What was measured. The time between sending a tool call and receiving its answer, over MCP stdio, for the same eight calls sent to both servers on the same machine and the same files. Each call ran 9 times per server and the table shows the median. Measured by the author on 2026-10-26, on an Apple Silicon Mac, macOS, zsh with a developer profile (Homebrew and nvm), Node 25.0.0, with telemetryEnabled set to false in both servers' config. The raw numbers are in bench/results.json and the script is bench/bench.mjs.
What it does not show. These are times per call for small operations, not the duration of a whole agent task, where the model's own time usually dominates. The two command rows depend on the shell profile: Desktop Commander 0.3.1 reads it for every command, Kilnshell once, so a heavy profile gives a large ratio and an empty one a small ratio. The comparison is with version 0.3.1 only.
Run it on your machine:
git clone https://github.com/Soflutionltd/kilnshell && cd kilnshell
npm install
npm run bench # installs Desktop Commander 0.3.1 next to it, runs both, redraws the chartWhat changed, and why it is faster
Kilnshell started as a copy of Desktop Commander 0.3.1, profiled call by call.
The shell profile is read once, not on every command. Desktop Commander 0.3.1 starts every command as a login shell (
zsh -l -c ...), so a profile that loads nvm, pyenv or Homebrew is paid on each command. Kilnshell runs the login profile once at start-up, keeps the environment it produces (samePATH, same variables) and starts each command withzsh -c. SetDESKTOP_COMMANDER_LOGIN_ENV_CACHE=0to get a fresh login shell every time. Not used on Windows.System facts are computed once. In 0.3.1 the telemetry code asked for a system report on each tool call, and building it started child processes synchronously (to detect Python, for example), even with telemetry turned off.
Line counting uses native string search instead of a character-by-character loop, for reading, editing and inspecting files.
No debug output per call. 0.3.1 wrote several
[FEEDBACK DEBUG]lines on each call, which reached the client as log notifications.Fewer round trips. For an agent, each tool call costs a full round trip to the model. Kilnshell adds:
batch: several tool calls (commands, reads, edits, searches) in one request, results numbered in order;read_process_outputwithwait_for_exit: true: waits for the process to end and returns all its output at once, instead of polling;start_searchwithwait: true: returns every result in one call, instead ofstart_searchthenget_more_search_results;wait_for: waits until a port accepts connections, a file exists, a URL answers or a process exits, instead of sleep loops.
The profile cache also works inside the Claude desktop app. Claude runs extensions in its own Node. The environment is captured with
env -0, and Claude'sELECTRON_*,CHROME_*andNODE_OPTIONSvariables are not passed on to your commands.Chrome is fetched on the first
write_pdf, not at every start-up.KILNSHELL_PREFETCH_CHROME=1fetches it at start-up instead.
What was removed from Desktop Commander
Desktop Commander 0.3.1 behaviour | Kilnshell |
Usage telemetry sent by the server and by the setup and remove scripts | Removed. Nothing is sent. Up to 1.0.5 the two scripts still sent it (Your data) |
Feature flags downloaded periodically from desktopcommander.app | No download by default. |
| Never added: the Docker text is removed, the feedback request is switched off. Your data lists the text Kilnshell does add |
Welcome page opened in the browser on first run | Removed |
| Removed. Up to 1.0.5 it was hidden from the tool list but still answered when called by name |
| Not available: |
Two of these are still in the source tree, unused: the code of the remote mode, which is why @supabase/supabase-js appears in the package's dependency list, and the logic that decided when to ask for feedback.
Everything else is the same code: the same tools, the same arguments, the same config file (~/.claude-server-commander/config.json). The new tools and options are additions only.
Tools
Area | Tools |
Fewer round trips |
|
Terminal |
|
Files |
|
Search |
|
Documents |
|
Config and history |
|
Configuration
Settings in ~/.claude-server-commander/config.json, also readable with get_config and writable with set_config_value:
Key | Default | Meaning |
|
| Folders the file tools may use |
| a list of system administration commands | Command names |
| your | Shell used to run commands |
|
| Lines returned by a read when no length is given |
|
| No effect |
| not set | No effect in Kilnshell. Desktop Commander reads it in the same file (Your data) |
Environment variables:
Variable | Effect |
| No update check, no install, no switch |
| Same, and no update notice from a server started directly |
| Another registry URL for the launcher's version check |
| A fresh login shell for every command |
| Fetch Chrome at start-up instead of on the first |
| URL of a feature flags file you host |
Develop
npm install
npm run build
npm test # the Desktop Commander test suite, adapted (takes several minutes)
npm run bench # Kilnshell vs Desktop Commander 0.3.1 on this machineChanges by version are in CHANGELOG.md. To report a vulnerability, see SECURITY.md.
Credits and license
Kilnshell is built on Desktop Commander by Eduard Ruzga and the Desktop Commander contributors, released under the MIT license. Their full commit history is kept in this repository. Kilnshell is an independent project, not affiliated with or endorsed by them.
MIT. Copyright 2024-2025 Eduard Ruzga and Desktop Commander Contributors, copyright 2026 Soflution. See LICENSE.
Published by Soflution.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your Mac and Linux computers with scoped access to local files and tools.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
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.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables cloud AI agents to securely connect to a local Windows machine and execute tools such as system info, file operations, browser automation, and coding tasks through the Model Context Protocol.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to securely access local development capabilities such as files, Git, processes, browser control, Windows automation, WSL, and observability through MCP on Windows and macOS.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to securely operate a local machine via MCP or REST, providing file read/write, Playwright browser automation, and shell/service administration.3MIT
- AlicenseNot gradedqualityAmaintenanceLets web-based AI clients such as Claude, ChatGPT, Grok, and Postman safely read, write, and run commands against local files and folders, and also drive browser automation, DevTools, Git, SQLite, background tasks, clipboard, notifications, ports, and localhost APIs. All 38 tools are exposed through one OAuth-gated MCP endpoint with a whitelist-only shell and governed folder access.MIT