Shell MCP

by luciVuc

352 downloads
Not rated
GitHub Website

About

A production-ready MCP (Model Context Protocol) server that provides shell command execution and system operations capabilities.

Details

Author
luciVuc
Downloads
352
Categories
Developer Tools, Automation

- Execute shell commands on your behalf
- Read and write files on the system
- Monitor system resources and processes
- Track stock market prices and trading signals
- Search and compare prices on online retailers
- Open applications and control your browser
- Schedule automated tasks and routines

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Shell MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Shell MCP and configure it in your AI assistant’s MCP settings. Use environment variables like SANDBOX_MODE=true for safety, and set COMMAND_TIMEOUT and DEBUG as needed. Detailed setup guides for Claude Desktop and other tools are in the README.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "shell mcp": {
            "shell": {
                "command": "npx",
                "args": [
                    "-y",
                    "@lucid-spark/shell-mcp",
                    "stdio"
                ],
                "env": {
                    "ALLOW_SUDO": "true",
                    "SUDO_PASSWORD": "your-password"
                }
            }
        }
    }
}

McpServers

{
    "shell": {
        "command": "npx",
        "args": [
            "-y",
            "@lucid-spark/shell-mcp",
            "stdio"
        ],
        "env": {
            "ALLOW_SUDO": "true",
            "SUDO_PASSWORD": "your-password"
        }
    }
}

Shell MCP

A production-ready MCP (Model Context Protocol) server that provides shell command execution and system operations capabilities.

> 📚 View the complete documentation website for an enhanced reading experience with interactive examples and guides.

Table of Contents

- What is This? - Understand what this server does
- ⚠️ Important Disclaimer & Safety Warning - READ THIS FIRST
- Real-World Use Cases - See practical scenarios including stock trading, web automation, and online shopping
- How to Use with AI Assistants - Setup guides for Claude Desktop and other tools
- Example Conversations - See it in action with real examples
- Tips for Best Results - Get the most out of your AI assistant
- Enabling Advanced Features - Setup stock market APIs, browser automation, and more
- Installation for End Users - Quick setup guide
- Available Tools - Tool reference
- Security Considerations - Important security information
- For Developers - Development and contribution guide

What is This?

This MCP server enables AI assistants (like Claude, ChatGPT, or other AI agents) to interact with your computer's operating system. Once connected, your AI assistant can:

- Execute shell commands on your behalf
- Read and write files
- Monitor system resources and processes
- Automate complex workflows
- Track stock market prices and trading signals
- Search and compare prices on Amazon and other online retailers
- Open applications and control your browser
- Schedule automated tasks and routines

Think of it as giving your AI assistant "hands" to help you with system administration, development tasks, data processing, financial monitoring, online shopping, and everyday automation—all while maintaining security controls.

From simple tasks like organizing files, to advanced automation like monitoring your stock portfolio and finding the best deals online, your AI assistant becomes a powerful personal automation engine.

⚠️ Important Disclaimer & Safety Warning

🛑 READ THIS BEFORE USING

THIS SOFTWARE PROVIDES SHELL COMMAND EXECUTION CAPABILITIES TO AI ASSISTANTS. USE AT YOUR OWN RISK.

Legal Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

By using this MCP server, you acknowledge and accept full responsibility for:

- All commands executed by your AI assistant
- Any data loss, system damage, or security breaches that may occur
- Financial losses from automated trading or purchasing decisions
- Any unauthorized access or malicious use of your system
- Compliance with all applicable laws and terms of service

⚠️ Critical Security Warnings

🔴 EXTREME DANGER: Unsandboxed Mode

Running this server WITHOUT sandbox mode gives your AI assistant UNRESTRICTED ACCESS to:

- Your entire file system - Can read, modify, or delete ANY file
- All system commands - Can execute ANY shell command with your user permissions
- Network access - Can make external connections, download files, send data
- Process control - Can start, stop, or kill any process
- Financial systems - Can execute trades, make purchases, transfer money if credentials are accessible
- Personal data - Can access emails, documents, browser history, passwords (if stored locally)

WITHOUT SANDBOX_MODE=true, YOUR AI ASSISTANT HAS THE SAME POWER AS YOU SITTING AT YOUR KEYBOARD.

🟡 Potential Dangers Even With Sandbox Mode

Data Loss:

- AI might misunderstand requests and delete important files
- Automated scripts could overwrite or corrupt data
- Batch operations can cascade errors across many files

Financial Risk:

- Automated trading scripts could execute unintended transactions
- Price monitoring might act on bad data or API errors
- Shopping automation could make unauthorized purchases
- API rate limits could incur unexpected costs

System Instability:

- Resource-intensive commands could crash your system
- Process termination could kill critical services
- Disk operations could fill storage or corrupt filesystems

Privacy Exposure:

- AI might inadvertently read sensitive files
- Logs could contain passwords or API keys
- Executed commands might expose environment variables

Malicious AI Behavior:

- If your AI assistant is compromised or has a jailbreak vulnerability
- If prompts are injected with malicious instructions
- If the AI model develops unexpected emergent behaviors
- If the AI is manipulated through social engineering

🚨 How Your AI Agent Could Misuse This Server

Without Proper Safeguards:

Scenario 1: Data Exfiltration

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.