Lilith-Shell is an MCP server that enables AI assistants to securely execute terminal commands through a standardized interface. Built by Charles Adedotun, it implements the Model Context Protocol to provide a single powerful tool for executing shell commands with configurable working directories and timeout protection. The implementation uses asyncio and the MCP server library to handle command execution requests, capturing both stdout and stderr output along with exit codes. It includes comprehensive error handling for timeouts and invalid commands, making it particularly valuable for AI assistants that need to perform system operations, file management, or run development tools without leaving the conversation interface.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Execute shell commands and return their output. Inputs: command (string): Command to execute, directory (string, optional): Working directory. Returns: Command exit code, Standard output, Standard error.