74
/ 100
10 days ago
glama

MCP-Exec

A secure, context-aware MCP server for shell command execution with comprehensive logging and AI optimizations, enabling interactive sessions and safe system administration via Claude Desktop.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Known vulnerabilities in dependencies: 1 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 1 credential: MCP_EXEC_TERMINAL_VIEWER_AUTH_TOKEN
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies1 high1 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

highws@8.18.3GHSA-96hv-2xvq-fx4p

ws: Memory exhaustion DoS from tiny fragments and data chunks

ws: Uninitialized memory disclosure

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configCOMSPEC
configMCP_EXEC_ALERT_RETENTION
configMCP_EXEC_ALLOWED_DIRECTORIES"cwd,/tmp" # Comma-separated allowed directories
configMCP_EXEC_AUDIT_ENABLEDtrue # Enable audit logging
configMCP_EXEC_AUDIT_LOG
configMCP_EXEC_AUDIT_LOG_LEVELdebug # emergencyalertcriticalerrorwarningnoticeinfodebug
configMCP_EXEC_AUDIT_RETENTION30 # Days to retain logs
configMCP_EXEC_BLOCKED_COMMANDS"rm -rf /,format" # Comma-separated blocked commands
configMCP_EXEC_COLORIZE_OUTPUT
configMCP_EXEC_CONFIRM_DANGEROUS"": "true",
configMCP_EXEC_DESKTOP_NOTIFICATIONS_ENABLED
configMCP_EXEC_ENABLE_AI_OPTIMIZATIONStrue # Enable AI-powered optimizations
configMCP_EXEC_ENABLE_HEARTBEATtrue # Enable connection monitoring
configMCP_EXEC_FILESYSTEM_ACCESSfull # read-onlyrestrictedfull
configMCP_EXEC_FORMAT_CODE_BLOCKS
configMCP_EXEC_FORMAT_STRUCTUREDtrue # Format output in structured format
configMCP_EXEC_INACTIVITY_TIMEOUT0 # Inactivity timeout in ms (0 = disabled, recommended for MCP)
configMCP_EXEC_INCLUDE_METADATA
configMCP_EXEC_INCLUDE_SUGGESTIONS
configMCP_EXEC_LOG_DIR
configMCP_EXEC_MAX_ALERTS_PER_HOUR
configMCP_EXEC_MAX_FILE_SIZE100 # Maximum file size in MB
configMCP_EXEC_MAX_HISTORY_SIZE
configMCP_EXEC_MAX_MEMORY1024 # Maximum memory usage in MB
configMCP_EXEC_MAX_OUTPUT_LENGTH10000 # Maximum output length in bytes
configMCP_EXEC_MAX_PROCESSES10 # Maximum number of processes
configMCP_EXEC_MAX_SESSIONS10 # Maximum concurrent sessions
configMCP_EXEC_MCP_INCLUDE_CONTEXTtrue # Include context data
configMCP_EXEC_MCP_LOGGING_ENABLEDtrue # Enable MCP client notifications
configMCP_EXEC_MCP_LOG_LEVEL"": "warning"
configMCP_EXEC_MCP_QUEUE_SIZE100 # Max queued messages
configMCP_EXEC_MCP_RATE_LIMIT60 # Max messages per minute
configMCP_EXEC_MONITORING_ENABLED
configMCP_EXEC_NETWORK_ACCESStrue # Allow network access
configMCP_EXEC_PRESERVE_WORKING_DIR
configMCP_EXEC_SANDBOXING_ENABLEDfalse # Enable sandboxing
configMCP_EXEC_SECURITY_LEVEL"": "strict",
configMCP_EXEC_SESSION_BUFFER_SIZE1000 # Session output buffer size
configMCP_EXEC_SESSION_PERSISTENCE
configMCP_EXEC_SESSION_TIMEOUT1800000 # Session timeout (30 minutes)
configMCP_EXEC_SHOW_COMMAND_HEADER
configMCP_EXEC_SHOW_EXECUTION_TIME
configMCP_EXEC_SHOW_EXIT_CODE
configMCP_EXEC_SHUTDOWN_TIMEOUT5000 # Graceful shutdown timeout (5 seconds)
configMCP_EXEC_STRIP_ANSItrue # Strip ANSI escape codes
configMCP_EXEC_SUMMARIZE_VERBOSEtrue # Summarize verbose output
🔐 secretMCP_EXEC_TERMINAL_VIEWER_AUTH_TOKEN
configMCP_EXEC_TERMINAL_VIEWER_BUFFER_SIZE
configMCP_EXEC_TERMINAL_VIEWER_ENABLED
configMCP_EXEC_TERMINAL_VIEWER_ENABLE_AUTH
configMCP_EXEC_TERMINAL_VIEWER_HOST
configMCP_EXEC_TERMINAL_VIEWER_MAX_SESSIONS
configMCP_EXEC_TERMINAL_VIEWER_PORT
configMCP_EXEC_TERMINAL_VIEWER_SESSION_TIMEOUT
configMCP_EXEC_TIMEOUT300000 # Command timeout in milliseconds
configMCP_EXEC_USE_MARKDOWNtrue # Use Markdown formatting
configSHELL
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 3 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/bensons-mcp-exec-rw38i7)](https://m8ven.ai/mcp/bensons-mcp-exec-rw38i7)
commit: f42844c580146debcb9f00348d43d48327075681
code hash: 47867c95a807478a8312dd54b91e93bc31d870d463621c18b6c4cec6a3aa4114
verified: 7/21/2026, 8:37:56 AM
view raw JSON →