Documentation
¶
Overview ¶
Command toolbox is a portable MCP server that installs and runs common CLI tools (ffmpeg, rg, fd, jq, yt-dlp) and archives reusable scripts.
Modes:
toolbox -mcp MCP over stdio (a client such as DSH / opencode / Claude Code spawns it) toolbox -http 127.0.0.1:8770 MCP over streamable HTTP plus the JSON API used by GUIs toolbox prints usage
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
catalog
Package catalog loads the built-in tool catalog and merges a user override file (<root>/catalog.json) on top of it, keyed by tool id.
|
Package catalog loads the built-in tool catalog and merges a user override file (<root>/catalog.json) on top of it, keyed by tool id. |
|
httpapi
Package httpapi serves the MCP endpoint plus a small JSON API over loopback so a GUI (the DSH plugin page, or a browser) can drive the same operations.
|
Package httpapi serves the MCP endpoint plus a small JSON API over loopback so a GUI (the DSH plugin page, or a browser) can drive the same operations. |
|
install
Package install downloads, unpacks and runs toolbox CLIs.
|
Package install downloads, unpacks and runs toolbox CLIs. |
|
mcpserver
Package mcpserver exposes the toolbox over MCP: list, install, run, remove and archive-script tools, plus the same operations as methods the HTTP API reuses.
|
Package mcpserver exposes the toolbox over MCP: list, install, run, remove and archive-script tools, plus the same operations as methods the HTTP API reuses. |
|
runlog
Package runlog keeps a cross-process record of the commands the toolbox runs.
|
Package runlog keeps a cross-process record of the commands the toolbox runs. |
|
runtimes
Package runtimes remembers which language runtimes this machine actually has, and at what version, so an agent writes a script for the interpreter that is installed instead of guessing (PowerShell 5.1 does not understand the syntax of 7, and a machine may have neither py nor python on PATH).
|
Package runtimes remembers which language runtimes this machine actually has, and at what version, so an agent writes a script for the interpreter that is installed instead of guessing (PowerShell 5.1 does not understand the syntax of 7, and a machine may have neither py nor python on PATH). |
|
store
Package store owns the on-disk layout of the toolbox root:
|
Package store owns the on-disk layout of the toolbox root: |
Click to show internal directories.
Click to hide internal directories.