Skip to main content
Glama
mcp-docker-compose

mcp-docker-compose

by Ricrdoss

Get Docker Compose Logs

compose_get_logs
Read-only

Fetch recent Docker Compose logs with automatic secret redaction, optional error-only filtering, and safety truncation to inspect services without exposing secrets.

Instructions

Fetch recent Docker Compose logs with automatic secret redaction, optional error filtering, and 20,000-char safety truncation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compose_get_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory where the Docker Compose project lives.
tailNoNumber of trailing log lines to fetch per service (1-500, default 100).
serviceNoOptional service name to filter logs for a single service.
errorsOnlyNoWhen true, filter log lines to those matching error/exception/fatal/panic/failed.
composeFileNoOptional path to a specific compose file (passed via -f).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

Score is being calculated.