Linux Command MCP - VS Code Extension
Execute Linux commands on your Oracle Cloud server directly from VS Code!
Features
- 🚀 Execute Remote Commands - Run any Linux command from VS Code
- 📊 Server Monitoring - Check memory, disk, CPU, and processes
- 📋 Command History - Access previously executed commands
- ⚡ Quick Commands - Pre-defined common commands
- 🎨 Beautiful UI - Modern webview interface with VS Code theming
- 🔌 MCP Integration - Built on Model Context Protocol
Installation
- Open VS Code
- Press
Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)
- Type "Extensions: Install from VSIX"
- Select the
.vsix file
Usage
Opening the Panel
- Command Palette:
Cmd+Shift+P → "Open Linux Command Panel"
- Keyboard Shortcut:
Cmd+Shift+L (Mac) or Ctrl+Shift+L (Windows/Linux)
- Activity Bar: Click the Linux MCP icon
Executing Commands
- Type your command in the input field
- Press Enter or click "Execute"
- View the output in the panel below
Quick Commands
Click on any Quick Command button to instantly execute:
- 💾 Memory Usage
- 💿 Disk Usage
- ⏱ Uptime
- 📊 PM2 Status
- 🖥 OS Info
- And more!
Configuration
Configure the extension via VS Code settings:
{
"linux-mcp.remoteHost": "150.136.99.141",
"linux-mcp.remoteUser": "opc",
"linux-mcp.sshKeyPath": "./oracle_remote_key",
"linux-mcp.serverPath": "/home/opc/linux-command-mcp/server/dist/index.js",
"linux-mcp.autoConnect": false,
"linux-mcp.commandTimeout": 30000
}
Commands
Linux MCP: Open Panel - Open the command execution panel
Linux MCP: Execute Remote Command - Execute a command via input
Linux MCP: Show Server Information - Display server details
Linux MCP: Connect to MCP Server - Test connection
Linux MCP: View PM2 Logs - View process manager logs
Keyboard Shortcuts
Cmd+Shift+L / Ctrl+Shift+L - Open Panel
Cmd+Shift+E / Ctrl+Shift+E - Execute Command
Requirements
- VS Code 1.80.0 or higher
- SSH access to Oracle Cloud server
- SSH key configured
- MCP server deployed on remote host
Extension Views
The extension adds a new activity bar icon with three views:
- Server Status - Connection and server information
- Quick Commands - Frequently used commands
- Command History - Recently executed commands
Screenshots

Release Notes
1.0.0
Initial release:
- Remote command execution
- Server monitoring
- Command history
- Quick commands
- Webview UI
Known Issues
- Commands requiring interactive input may not work
- Sudo commands require passwordless sudo
Contributing
Issues and pull requests welcome at https://github.com/xkiranj/linux-command-mcp
License
MIT License - Copyright (c) 2025 Kiran J
- Email: xkiranj.1980@gmail.com
- Blockchain: 0xkiran.eth
| |