Graylog MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GRAYLOG_CONFIG_PATH | No | Override the default config path (~/.graylog-mcp/config.json) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_connectionsA | List all available Graylog connections configured in ~/.graylog-mcp/config.json |
| use_connectionA | Connect to a specific Graylog instance by name. Must be called before fetching messages. |
| fetch_graylog_messagesB | Fetch messages from the active Graylog connection. Use 'use_connection' first to select a connection. |
| get_surrounding_messagesA | Get messages surrounding a specific message. Provide messageId (preferred) or messageTimestamp to identify the target message. |
| list_streamsA | List all available Graylog streams in the active connection. |
| list_field_valuesA | List distinct values of a field with message counts. Useful for discovering available sources, environments, logger names, etc. Results are sorted by count descending. |
| get_log_histogramC | Get a time-based histogram of log messages. Shows message counts over time intervals. |
| get_field_aggregationC | Aggregate log messages by field values with statistics. Get counts, sums, averages, etc. for field values. |
| get_field_time_aggregationC | Two-dimensional aggregation: field values over time. Shows how field values change over time intervals. |
| debug_histogram_queryA | Debug helper to test if the histogram query finds any messages at all. Use this if histogram returns empty buckets. |
| save_searchB | Save a named search query for later reuse. Saves query parameters so you don't have to re-type complex searches. |
| list_saved_searchesB | List all saved searches. |
| get_saved_searchB | Load and execute a saved search by name. Optional overrides can be provided to adjust the search at execution time. |
| delete_saved_searchB | Delete a saved search by name. |
| search_eventsA | Search Graylog events and alerts. Use 'use_connection' first to select a connection. |
| get_event_definitionsB | Get Graylog event definitions. Use 'use_connection' first to select a connection. |
| get_event_notificationsA | Get Graylog event notifications. Use 'use_connection' first to select a connection. |
| cluster_log_messagesA | Cluster similar log messages into Drain3-style templates. Fetches messages with the same args as fetch_graylog_messages, then groups them by structural similarity. Templates are persisted per connection and reused across calls. |
| list_log_templatesB | List learned log templates for the active connection. |
| delete_log_templateB | Delete a learned log template by ID. |
| rename_log_templateB | Set or update a human-readable label for a template. |
| export_log_templatesA | Export all learned templates for the active connection as JSON. |
| import_log_templatesB | Import templates into the active connection's library. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jagadeesh52423/graylog-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server