Can Linux Command MCP run sudo commands?
No. The server still cannot execute sudo commands that require password prompts. For sudo commands, either execute them manually with proper permissions or configure passwordless sudo for specific commands.
@xkiranj
基本信息
MCP server and client for running Linux commands
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"linux-command": {
"command": "node",
"args": [
"/full/path/to/linux-command-mcp/server/dist/index.js"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Linux Command MCP is a remote command execution system built using the Model Context Protocol (MCP), allowing secure and standardized execution of Linux commands. It is designed for users who want to issue Linux commands through an MCP-compatible client such as Claude Desktop.
Install Node.js v18+, npm, and PM2. Clone the repository, then install and build both server and client. Configure the server in claude_desktop_config.json with an absolute path to the built index.js. Start the server with PM2 via npm run pm2:start. Use the client by running npm start and then issuing commands like exec "ls -l" or list /home. The server also supports an optional stdin parameter for interactive scripts.
No. The server still cannot execute sudo commands that require password prompts. For sudo commands, either execute them manually with proper permissions or configure passwordless sudo for specific commands.
Node.js v18.x or later, npm, and PM2 for process management are required.
Add a server entry to `claude_desktop_config.json` with `"command": "node"` and `"args": ["/full/path/to/linux-command-mcp/server/dist/index.js"]`. Always use absolute paths.
Pass a `stdin` string in the call tool arguments, using `\n` for newlines. The input is sent line-by-line before script execution, and all output is captured.
Run the server only on trusted networks, limit access to the server, and be cautious with command execution. Avoid commands that reveal sensitive information, modify system settings, or require sudo/root permissions.

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

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
🚀 The fast, Pythonic way to build MCP servers and clients.

Run advanced phishing, voice phishing, deepfake fraud simulations, and cybersecurity awareness training from your AI assistant.
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
评论