Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
stream_container_logsA

Fetch stdout/stderr logs from a Docker container by ID or name.

Args:
    container_id: Container ID or name.
    tail: Number of lines to fetch from the end of the logs.
    since: Optional ISO 8601 timestamp; only return logs after this time.
    filter_keyword: Optional substring; only return lines containing it.

Returns:
    dict with container_id, log_lines, line_count, truncated.
inspect_memory_dumpA

Return live memory and CPU stats, plus top processes, for a container.

Uses `docker stats --no-stream` for a point-in-time snapshot (this is not
a real heap dump — the name is aspirational). The container must be
running for stats to be available.

Args:
    container_id: Container ID or name.
    include_processes: If True, also runs `ps aux --sort=-%mem` inside
        the container and includes the output.

Returns:
    dict with cpu_percent, memory_mb, memory_limit_mb, memory_percent,
    and optionally processes (list of strings, one per ps line).
execute_isolated_scriptA

Run a shell command string inside a container via docker exec.

Validates container_id and blocks known-dangerous command patterns
before running anything. Enforces a hard timeout via asyncio so a
runaway command can never hang the server.

Args:
    container_id: Container ID or name.
    command: Shell command string to run (executed via `sh -c`).
    timeout_seconds: Max seconds to wait before killing the command.

Returns:
    dict with stdout, stderr, exit_code, timed_out.

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/Vivekpatil200320/cyberrescue'

If you have feedback or need assistance with the MCP directory API, please join our Discord server