Skip to main content
Glama

ChatGPT MCP Server

container_logs

Retrieve logs from a Docker container by specifying its ID or name. Optionally, define the number of lines to display from the end for focused debugging and monitoring.

Instructions

Get container logs

Input Schema

NameRequiredDescriptionDefault
containerYesContainer ID or name
tailNoNumber of lines to show from the end

Input Schema (JSON Schema)

{ "properties": { "container": { "description": "Container ID or name", "type": "string" }, "tail": { "description": "Number of lines to show from the end", "type": "number" } }, "required": [ "container" ], "type": "object" }

You must be authenticated.

Other Tools from ChatGPT MCP Server

Related Tools

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/Toowiredd/chatgpt-mcp-server'

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