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