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.

Model Context Protocol Servers
Hindsight: Agent Memory That Learns
不止于 CSS

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
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
コメント