MCP-Exec (bensons/mcp-exec) is an MCP server listed on the M8ven Trust Index. It scores 74 out of 100, grade C. It declares 43 tools. No publisher has claimed this listing.

C
Caution
74/100

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.

Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

Code Verified⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

bensons

Source: Glama

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. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.

// 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 →
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
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
// quality suggestions

Tests exist

No test files found

Add tests that exercise each declared tool.

Shell command execution

5 child_process calls — runs shell commands

Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.

Production dependencies are patched

0 critical, 1 high severity in production deps — ws@8.18.3 (high), ws@8.18.3 (low)

Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// 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 Verified](https://m8ven.ai/badge/mcp/bensons/mcp-exec?variant=verified)](https://m8ven.ai/mcp/bensons/mcp-exec)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: f42844c580146debcb9f00348d43d48327075681
code hash: 47867c95a807478a8312dd54b91e93bc31d870d463621c18b6c4cec6a3aa4114
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client