modern-cli-mcp
Verified Safeby hellst0rm
Overview
An MCP server exposing over 100 modern command-line interface (CLI) tools to AI/LLM agents, providing structured JSON-RPC access for filesystem, Git forges, containers, Kubernetes, and data transformation, optimized for AI consumption.
Installation
nix run github:NacoSolutions/modern-cli-mcp --Environment Variables
- MCP_DYNAMIC_TOOLSETS
- MCP_TOOLSETS
- MCP_DUAL_RESPONSE
Security Notes
The server is designed to expose powerful system commands (`shell_exec`, `nix_shell_exec`), extensive filesystem manipulation, network requests, and full Kubernetes/container management. While this is its intended purpose, it means a compromised or misconfigured AI agent could execute arbitrary commands and modify the system with significant privileges. Mitigations include: arguments passed as slices to prevent basic shell injection (though the command itself is agent-controlled), and an `.agentignore` mechanism to restrict AI access to sensitive paths. Authentication for Git forges is handled, but relies on user-provided tokens or interactive login. The inherent power of the exposed tools means security is highly dependent on the controlling AI agent's permissions and the user's trust.
Similar Servers
wcgw
Empowering chat applications to code, build, and run on your local machine by providing tightly integrated shell and code editing tools.
git-mcp-server
A Model Context Protocol (MCP) server that provides Git-specific tools and resources for AI/LLM agents to interact with version control systems.
mcp-use-cli
An interactive command-line interface (CLI) tool for connecting to and interacting with Model Context Protocol (MCP) servers using natural language, acting as an AI client that orchestrates LLM responses with external tools.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.