Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_MCP_DIR | No | Colon-separated paths to log directories to monitor (e.g., /var/log:/tmp/logs:$XDG_RUNTIME_DIR/log) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_log_files | Lists all log files in $XDG_RUNTIME_DIR/log. Use this FIRST when user reports errors or problems to see what logs are available for inspection. |
| get_log_content | Returns the content of a specific log file from $XDG_RUNTIME_DIR/log. Use this to inspect runtime logs when debugging errors or investigating problems. For large files, use read_log_paginated instead. |
| read_log_paginated | Reads a paginated portion of a log file. Useful for large log files. Returns specific line ranges. |
| search_log_file | Searches a log file using regex pattern and returns matching lines with surrounding context. Supports pagination of results. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| runtime-logs | Information about runtime log inspection capabilities |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |