
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that enables execution of Linux commands, including interactive scripts via stdin, with a companion client.
Linux Command MCP server is cataloged as an MCP server attributed to xkiranj. A Model Context Protocol server that enables execution of Linux commands, including interactive scripts via stdin, with a companion client. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Linux Command MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No, the server cannot execute sudo commands that require password prompts.
Input is sent line-by-line using newlines, the script runs to completion with the automated responses, and all output is captured and returned.
README.md · 8a090e21928d · Fetched 2026-11-13 09:53:40 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Linux Command MCP is a remote command execution system built using the Model Context Protocol (MCP), allowing secure and standardized execution of Linux commands.
The MCP servers are configured in the claude_desktop_config.json file, typically located at ~/.config/Claude/claude_desktop_config.json.
"mcpServers": {
"server-name": {
"command": "node|npx|uvx",
"args": ["server-specific-arguments"],
"env": {
"OPTIONAL_ENVIRONMENT_VARIABLES": "value"
}
}
}
"linux-command": {
"command": "node",
"args": [
"/full/path/to/linux-command-mcp/server/dist/index.js"
]
}
"command": Specifies the executor (node, npx, uvx)"args": Full path to the server's executableindex.jsgit clone <repository-url>
cd linux-command-mcp
cd server
npm install
npm run build
cd ../client
npm install
npm run build
cd server
npm run pm2:start
Available Commands:
Execute commands directly:
# In the client directory
npm start
exec "ls -l"
exec "list /home"
exec "uname -a"
✨ NEW: The Linux Command MCP server now supports interactive scripts via stdin!
You can now provide input to interactive scripts using the stdin parameter:
// Example: Run an interactive Python game
await callTool('execute-command', {
command: 'python3 /path/to/interactive_script.py',
stdin: '15\n2\n1\n2\n1\n' // Automated responses
});
How it works:
stdin parameter sends input to the script before execution\n for newlines)Python game with input:
# Game expects: number of sticks, then player moves
stdin: "15\n2\n1\n2\n1\n"
Setup wizard:
# Wizard expects: username, email, confirm
stdin: "johndoe\njohn@example.com\ny\n"
Multiple choice prompt:
# Script shows options 1-5, user selects option 3
stdin: "3\n"
Important Note: The Linux Command MCP server still CANNOT execute sudo commands that require password prompts.
For sudo commands:
pm2 listpm2 logs linux-command-mcp-serverHere are some safe, generic examples of how you can ask Claude to run Linux commands:
Check System Information
$ uname -r
List Directory Contents
$ ls ~
Check Available Disk Space
$ df -h
View System Uptime
$ uptime
Check Network Interfaces
$ ip addr
System Memory Information
$ free -h
❌ Do NOT run commands that:
User: "Can you check the Linux kernel version?"
Claude: Certainly! I'll run the command to show the Linux kernel version.
$ uname -r
5.15.0-91-generic
This kernel is running Ubuntu 22.04.3 LTS.
Improve and expand the Linux Command MCP by:
MIT license
Email: xkiranj.1980@gmail.com
Blockchain: 0xkiran.eth
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Linux Command MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/linux-command-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.