Back to Apps

Dynamic Shell Server
by codelion
Secure shell command execution with a dynamic approval system, audit logging, and timeout protection.
0 stars
Works in:claude
Exposes:ToolsResources
What it does
This server enables AI agents to execute shell commands securely on the host system. Instead of granting unrestricted shell access, it implements a dynamic approval workflow where the user must explicitly allow commands before they are executed.
Tools
execute_command: Runs a shell command with optional arguments after user approval.revoke_command_approval: Removes a previously approved command from the whitelist.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"shell": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/dynamic_shell_server.py"]
}
}
}
Supported hosts
- Claude Desktop
Quick install
pip install -r requirements.txt && python dynamic_shell_server.pyInformation
- Pricing
- free
- Published
- 4/24/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
{
"mcpServers": {
"shell": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/dynamic_shell_server.py"]
}
}
}





