Shell Exec
Createdsamihalawa
Enables persistent shell command execution for Claude and other Model Context Protocol (MCP) compatible AI assistants.
About
Shell Exec provides a persistent shell session for Claude and other MCP-compatible AI assistants, allowing for stateful command execution. It leverages Node.js's `node-pty` package to create a pseudo-terminal, enabling features like persistent environment variables, consistent working directories, background process management, and support for interactive commands. This server allows AI assistants to execute commands, run background tasks, and manage shell sessions with timeout control and session reset capabilities.
Key Features
- Maintains a persistent shell session between commands.
- Supports background command execution with process management.
- Offers cross-platform compatibility (macOS, Linux, Windows).
- Allows configuration of command execution timeouts.
- Provides the ability to reset the shell session.
- 0 GitHub stars
Use Cases
- Executing system commands through an AI assistant.
- Running long-running processes in the background.
- Automating tasks requiring a persistent shell environment.