MCP-Exec
by bensons
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_EXEC_TIMEOUT | No | Command timeout in milliseconds. | 300000 |
| MCP_EXEC_MAX_MEMORY | No | Maximum memory usage in MB. | 1024 |
| MCP_EXEC_STRIP_ANSI | No | Strip ANSI escape codes. | true |
| MCP_EXEC_MAX_SESSIONS | No | Maximum concurrent sessions. | 10 |
| MCP_EXEC_USE_MARKDOWN | No | Use Markdown formatting. | true |
| MCP_EXEC_AUDIT_ENABLED | No | Enable audit logging. | true |
| MCP_EXEC_MAX_FILE_SIZE | No | Maximum file size in MB. | 100 |
| MCP_EXEC_MAX_PROCESSES | No | Maximum number of processes. | 10 |
| MCP_EXEC_MCP_LOG_LEVEL | No | Minimum level for notifications. | info |
| MCP_EXEC_MCP_QUEUE_SIZE | No | Max queued messages. | 100 |
| MCP_EXEC_MCP_RATE_LIMIT | No | Max messages per minute. | 60 |
| MCP_EXEC_NETWORK_ACCESS | No | Allow network access. | true |
| MCP_EXEC_SECURITY_LEVEL | No | Security level: strict, moderate, or permissive. | moderate |
| MCP_EXEC_AUDIT_LOG_LEVEL | No | Audit log level: emergency, alert, critical, error, warning, notice, info, debug. | debug |
| MCP_EXEC_AUDIT_RETENTION | No | Days to retain logs. | 30 |
| MCP_EXEC_SESSION_TIMEOUT | No | Session timeout in milliseconds (30 minutes). | 1800000 |
| MCP_EXEC_BLOCKED_COMMANDS | No | Comma-separated blocked commands. | |
| MCP_EXEC_ENABLE_HEARTBEAT | No | Enable connection monitoring. | true |
| MCP_EXEC_SHUTDOWN_TIMEOUT | No | Graceful shutdown timeout (5 seconds). | 5000 |
| MCP_EXEC_CONFIRM_DANGEROUS | No | Require confirmation for dangerous commands. | false |
| MCP_EXEC_FILESYSTEM_ACCESS | No | Filesystem access level: read-only, restricted, or full. | full |
| MCP_EXEC_FORMAT_STRUCTURED | No | Format output in structured format. | true |
| MCP_EXEC_MAX_OUTPUT_LENGTH | No | Maximum output length in bytes. | 10000 |
| MCP_EXEC_SUMMARIZE_VERBOSE | No | Summarize verbose output. | true |
| MCP_EXEC_INACTIVITY_TIMEOUT | No | Inactivity timeout in ms (0 = disabled, recommended for MCP). | 0 |
| MCP_EXEC_SANDBOXING_ENABLED | No | Enable sandboxing. | false |
| MCP_EXEC_ALLOWED_DIRECTORIES | No | Comma-separated allowed directories. Unset = no directory restriction. | |
| MCP_EXEC_MAX_COLLECTED_BYTES | No | Max bytes buffered in memory per stream while a command runs (0 = unlimited). Defaults to max(4 x MCP_EXEC_MAX_OUTPUT_LENGTH, 1 MB). | 1048576 |
| MCP_EXEC_MCP_INCLUDE_CONTEXT | No | Include context data. | true |
| MCP_EXEC_MCP_LOGGING_ENABLED | No | Enable MCP client notifications. | true |
| MCP_EXEC_SESSION_BUFFER_BYTES | No | Session output buffer size in bytes (256 KB). | 262144 |
| MCP_EXEC_TERMINAL_VIEWER_HOST | No | Bind address (loopback by default). | 127.0.0.1 |
| MCP_EXEC_TERMINAL_VIEWER_PORT | No | Listen port. | 3000 |
| MCP_EXEC_AUDIT_REDACT_PATTERNS | No | Extra comma-separated regexes for secret-bearing keys. | |
| MCP_EXEC_AUDIT_MAX_OUTPUT_BYTES | No | Max stdout/stderr bytes stored per audit entry. | 4096 |
| MCP_EXEC_ENABLE_AI_OPTIMIZATIONS | No | Enable AI-powered optimizations. | true |
| MCP_EXEC_TERMINAL_VIEWER_ENABLED | No | Enable the browser-based terminal viewer. | false |
| MCP_EXEC_TERMINAL_VIEWER_AUTH_TOKEN | No | Token to require (auto-generated when empty). | |
| MCP_EXEC_AUDIT_MAX_IN_MEMORY_ENTRIES | No | Hot-cache entries; reports/exports still read full log history. | 1000 |
| MCP_EXEC_TERMINAL_VIEWER_BUFFER_SIZE | No | Scrollback lines retained per session. | 10000 |
| MCP_EXEC_TERMINAL_VIEWER_ENABLE_AUTH | No | Require a token on every request. | false |
| MCP_EXEC_TERMINAL_VIEWER_MAX_SESSIONS | No | Maximum viewable terminal sessions. | 10 |
| MCP_EXEC_TERMINAL_VIEWER_SESSION_TIMEOUT | No | Terminal viewer session timeout in milliseconds. | 1800000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bensons/mcp-exec'
If you have feedback or need assistance with the MCP directory API, please join our Discord server