Cuba-Exec
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CUBA_EXEC_TTL | No | Idle process TTL in seconds (default: 3600) | |
| CUBA_EXEC_AUDIT | No | Enable audit logging (set to 1 to enable). | |
| CUBA_EXEC_MAX_PROCS | No | Maximum concurrent processes (default: 20) | |
| CUBA_EXEC_BUFFER_SIZE | No | Output buffer size in bytes (default: 64KB) | |
| CUBA_EXEC_ALLOWED_DIRS | No | Comma-separated list of allowed working directories. | |
| CUBA_EXEC_ALLOWED_COMMANDS | No | Comma-separated list of allowed commands. If set, only these commands can execute. | |
| CUBA_EXEC_BLOCKED_COMMANDS | No | Comma-separated list of blocked commands. Overrides default blocklist. | |
| CUBA_EXEC_SHUTDOWN_TIMEOUT | No | Graceful shutdown timeout in seconds (default: 5) |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| runA | Execute a shell command synchronously and wait for completion. Returns exit code, duration, and captured stdout+stderr. Output is bounded by max_output (default 64KB) using head+tail capture. |
| startA | Start a background process and return its PID. The process runs asynchronously. Use status() to check output, signal() to send signals, and input() to send stdin. |
| statusA | Check background process state, exit code, and tail output. Returns process state (running/completed/timed_out), duration, total bytes captured, truncation status, and recent output. |
| send_signalA | Send a POSIX signal to a process group. SIGTERM triggers graceful shutdown: SIGTERM → wait 5s → SIGKILL. Valid signals: SIGTERM, SIGKILL, SIGINT, SIGHUP, SIGQUIT. |
| send_inputA | Send text to a running process's stdin. Use this for interactive processes (REPLs, prompts). The text is encoded as UTF-8 and written to the process stdin pipe. |
| list_processesA | List all managed background processes with state and metadata. Returns PID, state, exit code, duration, bytes captured, and command preview for every background process currently tracked by the server. |
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/LeandroPG19/cuba-exec'
If you have feedback or need assistance with the MCP directory API, please join our Discord server