ShellJS icon

ShellJS

Provides a secure and controlled environment for LLMs to execute shell commands using ShellJS.

About

ShellJS bridges the Model Context Protocol (MCP) with ShellJS, giving AI systems secure, sandboxed access to shell commands. It offers controlled filesystem interactions with multiple security layers, enabling AI-driven automation, efficient exploration of codebases, and powerful text processing capabilities, all while mitigating potential risks through customizable permission settings.

Key Features

  • Schema-based validation with Zod
  • Full ShellJS functionality (ls, grep, sed, find, etc.)
  • Simple API for LLM integration
  • TypeScript implementation with strong typing
  • Configurable read-only, read-write, and exec permissions

Use Cases

  • Text processing with sed without full file loading.
  • Automated file organization and management.
  • Efficient code exploration using grep and find.
    ShellJS: Secure Shell Command Execution for LLMs