trackmcp
Back to directory
mcollina

perm-shell-mcp

View on GitHub

PermShell MCP

1 stars TypeScriptOthers Updated Apr 11, 2025

Documentation

PermShell MCP

A Model Context Protocol (MCP) server for executing shell commands with permission notifications.

Features

  • Execute shell commands with explicit permissions through growl notifications
  • Built on the Model Context Protocol for standardized LLM tools
  • Multiple safeguards to prevent unauthorized command execution
  • Transparent permission dialog shows exactly what commands will be executed

Installation

bash
# Clone the repository
git clone https://github.com/yourusername/perm-shell-mcp.git
cd perm-shell-mcp

# Install dependencies
npm install

# Build the project
npm run build

Usage

As a standalone tool

bash
# Start the server directly
npm start

With Claude Desktop

Add the following configuration to your Claude Desktop configuration file:

json
{
  "mcpServers": {
    "permshell": {
      "command": "node",
      "args": ["/path/to/perm-shell-mcp/dist/index.js"]
    }
  }
}

Available Tools

execute-command

Executes a shell command with permission.

Example:

code
Can you list the files in my home directory?

system-info

Retrieves system information including OS, uptime, memory, disk, and CPU.

Example:

code
What's my system information?

Security

  • All commands require explicit permission through desktop notifications
  • Commands display with their working directory for full transparency
  • Timeout limits prevent runaway processes
  • Input sanitization prevents command injection

Development

bash
# Run in watch mode for development
npm run dev

Frequently asked questions

What is perm-shell-mcp?

perm-shell-mcp is PermShell MCP

How do I install perm-shell-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is perm-shell-mcp open source?

Yes — it is hosted on GitHub at https://github.com/mcollina/perm-shell-mcp and has 1 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP