CLI Wrapper
Packages any command-line tool into an MCP server within a Docker container, providing AI coding assistants with structured, safe access.
cli-mcp transforms any command-line interface tool, such as AWS CLI, GitHub CLI, or kubectl, into a secure MCP server accessible by AI coding assistants like Claude Code. It addresses the inherent risks of granting AI agents raw shell access by isolating tools within Docker containers, bypassing the shell with `execFile()`, and employing robust command tokenization to reject dangerous metacharacters. Furthermore, it offers configurable guardrails to allow or block command patterns, strip sensitive arguments, and auto-inject necessary parameters, ensuring safe and controlled interactions with external systems.