create_directory
Create a new directory or ensure a directory exists, including nested paths
path必填
io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 7, 2026
Run terminal processes, edit files and search code on the local machine from an MCP client.
讓助理透過 stdio MCP 伺服器在本機執行終端機程序、讀寫檔案、做精確文字編輯並搜尋程式碼。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
參照 儲存庫 中的啟動說明。
Work on the local machine from the command line or as a stdio MCP server: start and drive terminal processes, read and write files, make surgical text edits, move files, inspect metadata, and search file contents — with configuration, usage and recent-call tools alongside.
Filesystem and search are real local implementations. Search runs
as a session: start_search walks the tree (skipping
node_modules, .git and dist) and returns a session id whose
results paginate with get_more_search_results. edit_block
replaces an exact text block and refuses ambiguous edits — a block
that occurs more than once needs an explicit expected count.
Terminal processes run behind an injectable executor; the default
spawns real shell processes and buffers their output, so
read_process_output returns only output you have not seen yet.
Two honest simplifications against the toolset this is modelled
on: write_pdf writes the given content as-is (no PDF layout
engine), and search executes synchronously in-process rather than
streaming from a ripgrep subprocess.
Exit codes: 0 success, 1 operation error, 2 usage error.
26 tools: create_directory, edit_block, force_terminate,
get_config, get_file_info, get_more_search_results,
get_prompts, get_recent_tool_calls, get_usage_stats,
give_feedback_to_desktop_commander, interact_with_process,
kill_process, list_directory, list_processes,
list_searches, list_sessions, move_file, read_file,
read_multiple_files, read_process_output, set_config_value,
start_process, start_search, stop_search, write_file,
write_pdf.
MCP client config:
MIT license.
來源:README.md,提交 7e7abb9
Create a new directory or ensure a directory exists, including nested paths
path必填Apply a surgical text replacement in a file: replace old_string with new_string
file_path必填new_string必填old_string必填expected_replacementsForce terminate a running terminal process session
pid必填Get the current server configuration
無需輸入參數。
Retrieve detailed metadata about a file or directory
path必填Get more results from an active search session
lengthoffsetsessionId必填Get available prompts, or one prompt by id
promptIdGet the recent tool calls recorded by this server
無需輸入參數。
Get usage statistics for this server
無需輸入參數。
Record feedback about this tool for later review
message必填Send input to a running process and wait for its response
pid必填input必填timeout_msTerminate a process by its PID
pid必填Get a detailed listing of all files and directories at a path
path必填List all running processes with their PID, command and status
無需輸入參數。
List all active search sessions
無需輸入參數。
List all active terminal sessions
無需輸入參數。
Move or rename a file or directory
source必填destination必填Read the complete contents of a file, optionally a line range
path必填lengthoffsetRead the contents of multiple files simultaneously
paths必填Read output from a running process, waiting up to a timeout for new output
pid必填timeout_msSet a configuration value by key
key必填value必填Start a new terminal process in a shell and return its initial output
shellcommand必填timeout_msStart a search for a pattern in files under a path and return a session id
path必填pattern必填ignoreCasemaxResultssearchTypefilePatternStop an active search by its session id
searchId必填Create a new file or completely overwrite an existing file with new content
path必填content必填Write text content to a file at a path (PDF-oriented in the original; this rebuild writes the content as given)
path必填content必填已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
npx -y @reneturcios/deskcommand mcpdeskcommand mcpdeskcommand ls <path>deskcommand read <path>deskcommand run <command...>deskcommand search <path> <pattern>deskcommand --version{ "mcpServers": { "deskcommand": { "command": "npx", "args": ["-y", "@reneturcios/deskcommand", "mcp"] } }}docker run -i ghcr.io/cloudcorprecords/deskcommand # MCP serverdocker run --rm ghcr.io/cloudcorprecords/deskcommand --versionnpm installnpm run buildnpm test