You're viewing a demo portfolio

Join the waitlist
PRSM

get_logs

Active

Tool of BorealHost

declared in 1.27.0

Retrieve container logs (error, access, or PHP). Requires: API key with read scope. Args: slug: Site identifier log_type: "error" (Nginx/Apache errors), "access" (HTTP request log), or "php" (PHP-FPM errors, WordPress sites only) lines: Number of lines to retrieve (1–500, default: 100) search: Optional keyword filter — only lines containing this string Returns: {"log_type": "error", "lines": ["2024-01-15 ... error ...", ...], "count": 42, "truncated": false} Errors: NOT_FOUND: Unknown slug VALIDATION_ERROR: Invalid log_type or lines out of range

Parameters schema

{
  "type": "object",
  "title": "get_logsArguments",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "lines": {
      "type": "integer",
      "title": "Lines",
      "default": 100
    },
    "search": {
      "type": "string",
      "title": "Search",
      "default": ""
    },
    "log_type": {
      "type": "string",
      "title": "Log Type",
      "default": "error"
    }
  }
}

What this tool wraps· 2 endpoints

min confidence0.700.50

Parent server

BorealHost

https://github.com/alainsvrd/borealhost-mcp

1/7 registries
View full server →
get_logs — BorealHost — PRSM MCP