Skip to main content
Glama

OPS MCP Server

by Heht571

get_container_logs

Retrieve detailed logs from specified containers on remote servers using hostname, username, and optional parameters like tail, since, and timeout for efficient debugging and monitoring.

Instructions

获取指定容器的日志

Input Schema

NameRequiredDescriptionDefault
containerNo
hostnameYes
passwordNo
portNo
sinceNo
tailNo
timeoutNo
usernameYes

Input Schema (JSON Schema)

{ "properties": { "container": { "default": "", "title": "Container", "type": "string" }, "hostname": { "title": "Hostname", "type": "string" }, "password": { "default": "", "title": "Password", "type": "string" }, "port": { "default": 22, "title": "Port", "type": "integer" }, "since": { "default": "", "title": "Since", "type": "string" }, "tail": { "default": 100, "title": "Tail", "type": "integer" }, "timeout": { "default": 30, "title": "Timeout", "type": "integer" }, "username": { "title": "Username", "type": "string" } }, "required": [ "hostname", "username" ], "title": "get_container_logsArguments", "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/Heht571/ops-mcp-server'

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