Skip to main content
Glama

Kinsta MCP by usefulapi

Get environment logs

kinsta_get_logs
Read-only

Recent lines of an environment's error log, access log or Kinsta cache performance log, optionally within a time range and filtered by a search text. Returns the log as text (the newest lines the API gives). Access logs contain visitor IP addresses. GET /sites/environments/{env_id}/logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOnly lines at or before this ISO 8601 date-time.
fromNoOnly lines at or after this ISO 8601 date-time, e.g. 2026-10-01T00:00:00Z.
linesNoNumber of lines, 1-2000 (default 200).
searchNoOnly lines containing this text.
file_nameNoWhich log (default error).
environment_idYesKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.