How is the command executed?
Two mutually exclusive ways: `command_line` (string) runs through the default shell with pipes, redirects, and variable expansion; `argv` (array) executes the executable directly without shell interpretation.
@g0t4
基本信息
Model Context Protocol server to run commands (tool: `runProcess`)
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-commands": {
"command": "uvx",
"args": [
"mcpo",
"--port",
"3010",
"--api-key",
"supersecret",
"--",
"npx",
"mcp-server-commands"
]
}
}
}run a command, i.e. `hostname` or `ls -al` or `echo "hello world"` etc
Mcp Server Commands is an MCP server that provides a single tool runProcess to run commands on the host machine. It supports both shell command lines (with pipes, redirects, variable expansion) and direct executable invocation via an argv array. The server returns standard output and standard error as text, and optionally accepts stdin. It is designed for use with LLMs that need to execute system commands and use the output in conversations.
Install the npm package mcp-server-commands and configure it in your MCP client (e.g., Claude Desktop). Invoke the runProcess tool with either a command_line string (shell interpreted) or an argv array (direct executable). Optionally provide a stdin string to pass data to the command’s standard input. The tool returns STDOUT and STDERR as text. For local models, use a system prompt that encourages tool usage.
hostname or ls -al and feed output to the model.cat >> path with stdin.Two mutually exclusive ways: `command_line` (string) runs through the default shell with pipes, redirects, and variable expansion; `argv` (array) executes the executable directly without shell interpretation.
Use the optional `stdin` parameter. The text you provide will be fed to the command's standard input – useful for scripting or creating files with `cat >>`.
The server runs with the user's permissions. Do not run with `sudo`. In Claude Desktop, use "Approve Once" to review each command; deny if you don't trust it.
Published as `mcp-server-commands` on npm. Add the config to `claude_desktop_config.json` with `command: "npx"` and `args: ["mcp-server-commands"]`. Or build locally from the repository with `npm run build` and point to the built script.
Use the MCP Inspector via `npm run inspector`. Logs are written to STDERR; add `--verbose` to the args for more messages. Claude Desktop logs to `~/Library/Logs/Claude/mcp-server-mcp-server-commands.log`.

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

Run advanced phishing, voice phishing, deepfake fraud simulations, and cybersecurity awareness training from your AI assistant.
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea

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
评论