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

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

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.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
评论