How does the server handle dangerous commands?
Commands marked as `dangerous: true` trigger a warning and require explicit confirmation before execution, based on the `confirmationPrompt` and `consequences` fields defined in `commands.json`.
@HappyAny
基本信息
A robust command execution service with daily log rotation, designed to securely manage and execute system commands with safety checks and logging.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"secure-command-executor-mcp-server": {
"command": "node",
"args": [
"index.js",
"--file",
"commands.json",
"--logs",
"logs",
"--port",
"3000"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A robust command execution MCP service with daily log rotation, designed to securely manage and execute system commands with safety checks and logging. It is intended for developers or system administrators who need controlled, auditable command execution through the Model Context Protocol.
Clone the repository, install dependencies (minimist, @modelcontextprotocol/sdk, zod), configure commands.json, and start the service with node index.js --file commands.json --logs logs --port 3000. Integrate it via MCP settings by specifying the script path and arguments. Use the provided HTTP API endpoints to execute, manage, and query commands and logs.
Commands marked as `dangerous: true` trigger a warning and require explicit confirmation before execution, based on the `confirmationPrompt` and `consequences` fields defined in `commands.json`.
Logs are stored in the directory specified by the `--logs` argument (default `logs`). Each day’s logs are saved in a separate file named `YYYY-MM-DD.json`, achieving daily rotation.
Modify the `commands.json` file to define command names, descriptions, examples, danger flags, and enabled status. Alternatively, use the `/manageCommand` API endpoint to add, update, or remove commands at runtime.
The server requires Node.js and the npm packages `minimist`, `@modelcontextprotocol/sdk`, and `zod`. These are installed via `npm install`.
Yes, use command-line arguments `--port` (default 3000), `--file` for commands path, and `--logs` for logs directory. Environment variables `PORT` and `NODE_ENV` are also supported.

Model Context Protocol Servers

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
A search tool helps dev to solve the naming things problem.
🚀 The fast, Pythonic way to build MCP servers and clients.
评论