cmdshellmcp
cmdshellmcp is a restricted command shell MCP server for AI agents, implemented in Python with fastmcp. It exposes only a limited set of Unix commands through a whitelist mechanism and provides tools such as file read/write, patch application, and URL fetching, enabling MCP clients to perform local tasks in a controlled environment without opening unrestricted shell access. It listens on 127.0.0.1:8003 by default, supports streaming HTTP or SSE transport, and enables Bearer Token authentication by default. The project explicitly warns that it provides remote command execution capability and must only be run as an unprivileged user in a disposable sandbox (such as a Docker container or virtual machine), and should not be used with untrusted clients or LLMs.