# graylog-mcp-server

Source: https://glimind.com/server/npm%2Fgraylog-mcp-server
Registry id: `npm/graylog-mcp-server`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "graylog-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "graylog-mcp-server"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add graylog-mcp-server -- npx -y graylog-mcp-server
```

## Tools (33)

- `cluster_log_messages`: Group similar messages into structural templates (Drain3)
- `create_event_definition`: Create an alert; boilerplate defaulted, optional threshold shortcut
- `create_event_notification`: Create a notification (Slack, Teams, email, HTTP, ...)
- `debug_histogram_query`: Debug helper for empty histogram results
- `delete_event_definition`: Delete an alert
- `delete_event_notification`: Delete a notification
- `delete_log_template`: Remove a template
- `delete_saved_search`: Delete a saved search
- `export_log_templates`: Export template library as JSON
- `fetch_graylog_messages`: Search logs with query, filters, time range, pagination
- `get_event_definition`: Get one event definition by id
- `get_event_definitions`: List event definitions
- `get_event_notification`: Get one notification by id (secrets redacted)
- `get_event_notifications`: List event notifications (secrets redacted)
- `get_field_aggregation`: Group by field with metrics (count, sum, avg, min, max)
- `get_field_time_aggregation`: Two-dimensional: field values over time intervals
- `get_log_histogram`: Time-bucketed message counts
- `get_saved_search`: Retrieve a saved search by name
- `get_surrounding_messages`: Get messages around a specific log entry by ID or timestamp
- `import_log_templates`: Bulk import templates (merge or replace)
- `list_connections`: List configured Graylog connections
- `list_field_values`: Discover distinct values for a field (top N by count)
- `list_log_templates`: List learned templates for the active connection
- `list_saved_searches`: List all saved searches
- `list_streams`: List available Graylog streams
- `rename_log_template`: Give a template a human-readable label
- `save_search`: Save a query configuration for reuse
- `search_events`: Search Graylog events with filters
- `set_event_definition_enabled`: Enable (schedule) / disable (unschedule) an alert
- `test_event_notification`: Send a real test message through a notification
- `update_event_definition`: Deep-merge a patch into an alert and PUT it
- `update_event_notification`: Deep-merge a patch into a notification
- `use_connection`: Switch to a named connection

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
