Skip to main content
Glama

Unrestricted Development MCP Server

docker_logs

Fetch container logs to monitor application output and debug issues by retrieving log entries with optional filtering by time, line count, and timestamp display.

Instructions

Fetch logs from a container

Input Schema

NameRequiredDescriptionDefault
containerYesContainer name or ID
tailNoNumber of lines to show from the end of logs
followNoFollow log output (not recommended for MCP)
sinceNoShow logs since timestamp (e.g., "2023-01-01T00:00:00")
timestampsNoShow timestamps
cwdNoWorking directory

Input Schema (JSON Schema)

{ "properties": { "container": { "description": "Container name or ID", "type": "string" }, "cwd": { "description": "Working directory", "type": "string" }, "follow": { "default": false, "description": "Follow log output (not recommended for MCP)", "type": "boolean" }, "since": { "description": "Show logs since timestamp (e.g., \"2023-01-01T00:00:00\")", "type": "string" }, "tail": { "description": "Number of lines to show from the end of logs", "type": "number" }, "timestamps": { "default": false, "description": "Show timestamps", "type": "boolean" } }, "required": [ "container" ], "type": "object" }

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/ConnorBoetig-dev/mcp2'

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