Logz.io MCP by usefulapi
v1.1.0Search logs, read alerts, enable or disable them, and read dashboards in Logz.io.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
logzio_whoami Show the connected account
Return the name and id of the Logz.io account this token belongs to. Logz.io API: GET /v2/whoami.
logzio_list_log_types List log types
List the log types (log type names) that the account has received. Use them to narrow a log search. Logz.io API: GET /v1/account/log-types.
logzio_list_time_based_accounts List log accounts
List the time-based log accounts (main and sub accounts) with retention and name settings. Logz.io API: GET /v1/account-management/time-based-accounts.
logzio_list_archive_settings List archive settings
List the archiving settings of the account (where logs are archived and how). Logz.io API: GET /v2/archive/settings.
logzio_search_logs Search logs
Search log messages with a Lucene query inside a time range. Returns the matching hits. Use `*` as the query for all logs. Returns up to 100 hits per call; page with `from`. Logz.io API: POST /v1/search.
| Parameter | Type | Description |
|---|---|---|
query * | string | Lucene query, for example `level:ERROR AND service:checkout`. Use `*` for all logs. |
fields | array | Only return these fields of each log (default: all). |
from | integer | Offset of the first result (0-9900). |
newest_first | boolean | Sort by time, newest first (default true). |
since | string | Start of the time range: relative (`now-15m`, `now-24h`) or ISO 8601 (`2026-11-25T00:00:00Z`). Default `now-1h`. |
size | integer | Results per page (1-100, default 20). |
until | string | End of the time range, same format as `since`. Default `now`. |
logzio_list_alerts List alerts
List the alert rules of the account with their enabled state, tags and search time frame. Logz.io API: GET /v2/alerts.
logzio_get_alert Get an alert
Return one alert rule by id, with its query, conditions and notification settings. Logz.io API: GET /v2/alerts/{alertId}.
| Parameter | Type | Description |
|---|---|---|
alert_id * | integer | The alert id (from logzio_list_alerts). |
logzio_list_triggered_alerts List triggered alerts
List alerts that fired, with their name, severity and event date. Filter by severity, name text or tags. Logz.io API: POST /v1/alerts/triggered-alerts.
| Parameter | Type | Description |
|---|---|---|
from | integer | Offset of the first result (0-9900). |
search | string | Part of the alert name to match (case-insensitive). |
severities | array | Only alerts with these severities. |
size | integer | Results per page (1-100, default 20). |
tags | array | Only alerts with these tags. |
logzio_set_alert_enabled Enable or disable an alert
Enable or disable one alert rule. A disabled alert sends no notifications until it is enabled again. Repeating the same call leaves the alert in the same state. Logz.io API: POST /v2/alerts/{id}/enable or /disable.
| Parameter | Type | Description |
|---|---|---|
alert_id * | integer | The alert id (from logzio_list_alerts). |
enabled * | boolean | true enables the alert, false disables it. |
logzio_list_insights List insights
List the log insights that Logz.io found for the account (new error patterns and similar). Logz.io API: POST /v1/insights/list.
| Parameter | Type | Description |
|---|---|---|
end_ms | integer | End of the period, Unix time in milliseconds. |
from | integer | Offset of the first result (0-9900). |
insight_types | array | Only these insight types. |
only_new | boolean | Only insights that are new. |
search | string | Text to match in the insight. |
size | integer | Results per page (1-100, default 20). |
sort_by | string | Sort field. |
start_ms | integer | Start of the period, Unix time in milliseconds. |
logzio_list_audit_events List audit events
List account audit trail events (who changed what, and when), newest first by default. Logz.io API: POST /v1/audit-trail.
| Parameter | Type | Description |
|---|---|---|
event_type | string | Only this audit event type (see the event types in the response). |
from | integer | Offset of the first result (0-9900). |
from_ms | integer | Start of the period, Unix time in milliseconds. |
newest_first | boolean | Newest first (default true). |
size | integer | Results per page (1-100, default 20). |
to_ms | integer | End of the period, Unix time in milliseconds. |
logzio_list_dashboard_folders List dashboard folders
List the dashboard folders (projects) of the account. Logz.io API: GET /perses-public/api/v1/projects.
logzio_list_dashboards List dashboards
List the dashboards of the account with their folder id and name. Logz.io API: GET /perses-public/api/v1/dashboards.
logzio_get_dashboard Get a dashboard
Return one dashboard with its panels and queries. Needs the folder id and dashboard uid from logzio_list_dashboards. Logz.io API: GET /perses-public/api/v1/projects/{projectId}/dashboards/{dashboardId}.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | string | The dashboard uid. |
project_id * | string | The folder id (projectId) of the dashboard. |