Kilnshell

io.github.Soflutionltd由 GitHub 帳號 Soflutionltd 發布v1.0.2更新於 Oct 26, 2026

Fast, telemetry-free local MCP: shell, files, search, processes, PDF, Excel and Word for agents.

已驗證STDIO僅桌面檔案與儲存開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理在你自己的電腦上使用終端機、檔案、搜尋、程序與文件工具,且不收集遙測資料。

可以做什麼
  • 執行 shell 指令並管理長時間執行的程序:啟動、互動、讀取輸出、列出工作階段、終止程序。
  • 讀取、寫入、編輯、移動與檢視檔案及目錄,並可一次讀取多個檔案。
  • 使用 ripgrep 搜尋檔案與程式碼,可選擇等待完整結果或繼續取得更多結果。
  • 讀取、編輯與寫入 PDF、Excel 與 Word 文件。
  • 將多個工具呼叫合併為單一請求,或等待連接埠、檔案、網址、程序狀態而不必輪詢。
  • 檢視與修改伺服器本身的設定,並查看使用統計。
適用情境
適合需要助理直接在你的電腦上工作的情境:執行指令、編輯專案檔案、搜尋程式碼庫、操作長時間執行的程序,或處理 Office 與 PDF 文件。也適合已在使用 Desktop Commander、希望降低單次呼叫延遲且不要遙測的使用者作為替代方案。
執行需求
以本機程序方式在你的電腦上執行(僅限桌面端)。可透過 Claude Desktop 擴充套件、Claude Code 外掛,或以 Node.js 搭配 npx/node 安裝。未宣告需要帳號、API 金鑰或環境變數。自動更新檢查需要連線至 npm 套件庫。
安裝前請注意
它賦予助理對你電腦的廣泛控制權:執行指令、寫入檔案、編輯、移動以及終止程序。allowedDirectories、blockedCommands 等安全限制位於設定檔中,安裝前應先檢視。有一個監督程序每 6 小時查詢 npm 並在背景安裝更新,可用 NO_UPDATE_NOTIFIER=1 或 SOFLUTION_AUTO_UPDATE=0 關閉。README 表示不會傳送使用資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Kilnshell,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Kilnshell]

Your whole machine, for AI agents. Without the wait.

Terminal, files, code search, long-running processes, PDF, Excel and Word, over MCP.
Everything Desktop Commander does, up to 100x faster per call, with no telemetry and nothing injected into your agent's context.

[CI] [MCP] [No telemetry] [Node 22.12+] [MIT]


Benchmark

[Kilnshell vs Desktop Commander, median time per tool call]

Tool callDesktop Commander 0.3.1KilnshellSpeed-up
Run a command (echo hi)696.7 ms5.7 ms122x
Run a command (git --version)703.7 ms16.2 ms43x
Read 1,000 lines of a 20k-line file41.9 ms3.2 ms13x
Edit one line (edit_block)75.7 ms6.9 ms11x
Write a file34.7 ms1.0 ms35x
File info21.8 ms1.2 ms18x
List a directory19.2 ms1.4 ms14x
Read 10 files at once191.8 ms3.5 ms55x

MacBook Pro (Apple Silicon), macOS, zsh with a typical developer profile (Homebrew and nvm), Node 25, median of 9 calls over real MCP stdio, telemetry turned off in the Desktop Commander config. The command speed-up depends on your shell profile: the heavier it is, the bigger the gain. On a bare Linux machine with an empty profile, commands are about 3x faster and file tools 3x to 6x faster.

Reproduce it on your machine:

bash
git clone https://github.com/Soflutionltd/kilnshell && cd kilnshellnpm installnpm run bench        # installs Desktop Commander 0.3.1 next to it, runs both, redraws the chart

What changed, and why it is faster

Kilnshell started as a clone of Desktop Commander 0.3.1, profiled call by call.

  1. The shell profile is read once, not on every command. Desktop Commander starts every command as zsh -l -c ..., so a profile that loads nvm, pyenv or Homebrew costs 0.5 to 1 s per command. Kilnshell runs the login profile once at start-up, keeps the environment it produces (same PATH, same variables) and starts each command with zsh -c. Set DESKTOP_COMMANDER_LOGIN_ENV_CACHE=0 to get a fresh login shell every time.
  2. No process is spawned behind your back on every call. Telemetry rebuilt its system report for each tool call, which ran python3 --version synchronously and froze the server for 10 to 25 ms, even with telemetry turned off. System facts are now computed once.
  3. Line counting uses native string scanning. Reading, editing and inspecting a file counted its lines character by character; the new count gives identical results (checked on 200,000 random inputs) about 11x faster on large files.
  4. No debug chatter. Every call used to push two to four [FEEDBACK DEBUG] log notifications to the client.
  5. Fewer round trips. For an agent, each tool call costs a full round trip, often far more than the command itself. Kilnshell adds:
    • batch: several tool calls (commands, reads, edits, searches) in one request, results numbered in order;
    • read_process_output with wait_for_exit: true: waits for the process to end and returns all its output at once, instead of polling;
    • start_search with wait: true: returns every result in one call, instead of start_search then get_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.
  6. Works at full speed inside Claude Desktop. Claude Desktop runs extensions in its own Node; the environment is captured with env -0, so the profile cache works there too, and Claude's ELECTRON_* variables never reach your commands.

What was removed

Upstream behaviourKilnshell
Usage telemetry sent to the Desktop Commander serversRemoved. Kilnshell makes no network call of its own.
Feature flags downloaded every 5 minutes from desktopcommander.appBuilt-in defaults only (KILNSHELL_FLAG_URL to host your own).
[SYSTEM INSTRUCTION] text appended to tool results, asking the model to request feedback or promote a Docker setupRemoved. Tool results contain only the tool's output.
Welcome page opened in the browser on first runRemoved.
give_feedback_to_desktop_commander toolHidden.
remote mode (relies on the Desktop Commander cloud service)Not available.

Everything else is the same code: the same tools, the same arguments, the same config file (~/.claude-server-commander/config.json), so Kilnshell is a drop-in replacement. The new tools and options are additions only.

Install

Claude Desktop: download kilnshell.mcpb and double-click it (or Settings > Extensions > Advanced settings > Install Extension). The Kilnshell icon then shows next to every tool call.

Claude Code: /plugin install kilnshell --marketplace Soflutionltd/kilnshell

Also listed in the official MCP Registry as com.soflution/kilnshell.

Cursor or any MCP client:

json
{  "mcpServers": {    "kilnshell": {      "command": "npx",      "args": ["-y", "kilnshell@latest"]    }  }}

Or from a local clone, which starts faster than npx:

bash
git clone https://github.com/Soflutionltd/kilnshell && cd kilnshell && npm install
json
{ "mcpServers": { "kilnshell": { "command": "node", "args": ["/absolute/path/to/kilnshell/bin/supervise.cjs"] } } }

Automatic updates

Every install below keeps itself up to date, without restarting Claude or Cursor. The MCP client talks to a small supervisor (bin/supervise.cjs) that stays connected while the server runs behind it. At start-up and every 6 hours it asks npm for the latest kilnshell, installs it in the background in ~/.soflution/mcp/kilnshell/, and switches over as soon as no request is in flight (the client is told the tool list may have changed). A version that fails to start is rolled back at once and never picked again on that machine. npm checks the integrity of every download, and releases are published from GitHub Actions with provenance.

The only network call is that version check to registry.npmjs.org; nothing about your machine or your use is sent. Turn it off with NO_UPDATE_NOTIFIER=1 (or SOFLUTION_AUTO_UPDATE=0). Started directly with node dist/..., kilnshell does not update itself and only mentions a newer version in its first tool result.

Tools

AreaTools
Speedbatch (several calls in one), wait_for (port, file, URL, process)
Terminalstart_process, interact_with_process, read_process_output (wait_for_exit), list_sessions, list_processes, force_terminate, kill_process
Filesread_file, read_multiple_files, write_file, edit_block, create_directory, list_directory, move_file, get_file_info
Searchstart_search (wait), get_more_search_results, stop_search, list_searches (ripgrep)
Documentswrite_pdf, plus reading and editing PDF, Excel and Word files through read_file, write_file and edit_block
Configget_config, set_config_value, get_usage_stats, get_recent_tool_calls

Security controls are unchanged: allowedDirectories, blockedCommands, file read and write line limits, all in the config file.

Develop

bash
npm installnpm run buildnpm test            # the full upstream test suite (takes several minutes)npm run bench       # Kilnshell vs Desktop Commander on this machine

Credits and license

Kilnshell is built on Desktop Commander by Eduard Ruzga and the Desktop Commander contributors, released under the MIT license. Their full history is kept in this repository. Kilnshell is an independent project, not affiliated with or endorsed by them.

MIT, © 2024-2025 Eduard Ruzga and Desktop Commander Contributors, © 2026 Soflution Ltd. See LICENSE.

En français

Kilnshell est un serveur MCP qui donne à un agent IA l'accès à votre machine : terminal, fichiers, recherche dans le code, processus, PDF, Excel et Word. C'est un clone de Desktop Commander, optimisé appel par appel : jusqu'à 100 fois plus rapide sur un Mac de développeur, sans aucune télémétrie, et sans texte publicitaire injecté dans les réponses données à l'agent. Il se remplace d'une ligne dans la configuration de Claude.

來源:README.md,提交 39fa27b

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v1.0.2最新Oct 26, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分