Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CUBA_EXEC_TTLNoIdle process TTL in seconds (default: 3600)
CUBA_EXEC_AUDITNoEnable audit logging (set to 1 to enable).
CUBA_EXEC_MAX_PROCSNoMaximum concurrent processes (default: 20)
CUBA_EXEC_BUFFER_SIZENoOutput buffer size in bytes (default: 64KB)
CUBA_EXEC_ALLOWED_DIRSNoComma-separated list of allowed working directories.
CUBA_EXEC_ALLOWED_COMMANDSNoComma-separated list of allowed commands. If set, only these commands can execute.
CUBA_EXEC_BLOCKED_COMMANDSNoComma-separated list of blocked commands. Overrides default blocklist.
CUBA_EXEC_SHUTDOWN_TIMEOUTNoGraceful 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

CapabilityDetails
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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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