Bash MCPServer

yannbam
GitHub
bashsecuritymcp

Loading subscription status...

πŸ’‘ Description

A TypeScript application that allows Claude to safely execute bash commands with security safeguards including whitelisted commands, directories, and comprehensive logging.

πŸ“ JSON Entries

{
  "mcpServers": [
    {
      "BashMCP": {
        "env": {},
        "args": [],
        "command": "npm run mcp"
      }
    }
  ]
}

πŸ› οΈ Tools

Node.jsTypeScript

⚑ Features

  • Controlled execution of bash commands
  • Session management for interactive commands
  • Whitelisted commands and directories
  • Comprehensive logging and command validation

πŸ’¬ Example Queries

  • Execute a simple ls command in a controlled environment
  • Start a new interactive bash session and run commands