# cmdshellmcp MCP server

> Provides a constrained command-shell environment for AI agents to perform file operations, shell execution, and patch application within a sandbox.

- Repository: https://github.com/ag88/cmdshellmcp
- Page: https://hostedmcp.org/servers/ag88/cmdshellmcp
- Transport: —
- Stars: 3
- License: MIT

## Tools (9)

- `command`
- `args`
- `file`
- `text`
- `append`
- `newline`
- `script`
- `diff`
- `pnum`

## FAQ

### Is this server secure?

No, it provides remote command execution (RCE) and should only be run in a protected, disposable sandbox like a Docker container or virtual machine.

### How is authentication handled?

Authentication is enabled by default using a bearer token, which is either randomly generated at startup or set manually via configuration.

### Can I restrict which commands the AI can run?

Yes, you can define an allowlist of permitted commands in the configuration file.

### Does it support Docker?

Yes, the project includes setup files for a full-featured Debian-based Docker sandbox system container.
