MCPShell

•
72
•

Safely executes command-line tools through the Model Context Protocol (MCP).

MCPShell bridges Large Language Models and command-line tools, enabling secure execution through the Model Context Protocol. It allows defining tools in YAML with parameter constraints and output formatting, providing a secure bridge between LLMs and operating system commands, allowing LLMs to leverage shell scripts. With features like flexible command execution, configuration-based tool definitions, robust error handling, and simple integration, it allows the creation of specialized AI assistants that can autonomously perform system tasks.

主な機能

01Validate tool parameters using CEL expressions.
029 GitHub stars
03Define tools in YAML with parameters, constraints, and output formatting.
04Integrates with any LLM client supporting the MCP protocol.
05Run shell commands as MCP tools with parameter substitution through templates.
06Supports sandboxed environments for running commands.

ユースケース

01Analyzing disk usage.
02Interacting with Kubernetes clusters using kubectl.
03Executing AWS CLI commands.