Scan a directory and report what tool-cli finds about the MCP server inside it — the runtime type (Node.js, Python, binary), transport (stdio or HTTP), entry point file, and suggested package name. Use this before runningDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/superradcompany/tool-cli/llms.txt
Use this file to discover all available pages before exploring further.
tool init on an existing project to confirm detection looks correct.
Synopsis
Options
Path to the project directory to analyze. Default:
. (current directory).Override the detected entry point. Use this when auto-detection picks the wrong file.
Override the detected transport. One of
stdio or http.Override the detected package name.
After detection, start the server and send an MCP
initialize request to confirm it responds correctly.Skip the confirmation prompt when using
--verify.Examples
What it detects
tool detect inspects the directory and reports:
- Type —
node,python, orbinary, inferred from project files (package.json,pyproject.toml, compiled artifacts, etc.) - Transport —
stdioorhttp, inferred from source code patterns - Entry point — the main file that starts the server (e.g.,
src/index.js,server.py) - Package name — taken from
package.json,pyproject.toml, or the directory name as a fallback
tool detect is read-only and never writes files. It is safe to run on any directory.