LogMCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_configA | Show the current LogMCP server configuration and highlight optional parameters that are at their default value. When to useUse to understand how this server is configured — which logs are accessible, whether proxy mode or fail2ban are active, which tools are enabled, and which optional features are not yet configured. See ResponseObject with two fields:
|
| check_environmentA | Run a set of server-side environment checks and return their pass/fail status. Covers configuration validity, TLS setup, log file whitelist, syslog connectivity, and database connectivity. When to useUse to verify that the LogMCP server is configured correctly and that all configured backends are reachable. Useful when diagnosing why a tool is not working as expected, or after a configuration change. ResponseArray of check result objects, each with:
|
| list_logsA | List all log files the server has been configured to expose. Returns an array of file entries ordered by path. When to useCall this first to discover which log files are available before calling ResponseArray of objects, each with:
|
| log_infoA | Return metadata for a single log file: size, line count, and last-modified timestamp. When to useUse to check whether a log file has changed recently, or to determine its total size and line count before deciding how many lines to read with ParameterspathAbsolute path to the log file. Obtain valid paths from Response
|
| read_logA | Read lines from a log file. Supports reading from the beginning or end, with optional time-based filtering. When to useUse to inspect a specific portion of a log file. Use ParameterspathAbsolute path to the log file. Obtain valid paths from linesNumber of lines to return. Defaults to 100. tailIf true, return the last N lines instead of the first N. Useful for checking recent log activity. Default: false. offsetSkip this many lines from the start (or from the end if sinceReturn only lines after this point in time. Accepts RFC3339 timestamps ( untilReturn only lines before this point in time. Same format as Response
|
| search_logA | Search a log file for lines matching a regular expression. Returns matching lines with optional surrounding context. When to useUse when you need to find specific events, errors, or patterns in a log file without reading the whole file. More efficient than ParameterspathAbsolute path to the log file. Obtain valid paths from patternRegular expression to search for. Uses Go regexp syntax. The pattern is not echoed back in the response. sinceRestrict the search to lines after this point in time. Accepts RFC3339 timestamps or relative durations ( untilRestrict the search to lines before this point in time. Same format as max_resultsMaximum number of matching lines to return. Default: 200. context_linesNumber of surrounding lines to include before and after each match. Default: 0 (match lines only). Response
|
| server_statusA | Report the runtime status of this LogMCP server: whether the MCP layer is responding, how many tools are registered, and whether each configured extension is accessible. When to useUse as a first step when diagnosing MCP connectivity issues — before the deeper Response
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| LogMCP — Ansible Role | |
| LogMCP — Case Studies | |
| LogMCP — Configuration Reference | |
| LogMCP — Documentation Index | |
| LogMCP — Extension Examples | |
| LogMCP — Logging Reference | |
| LogMCP — Macros | |
| LogMCP — RAG (Retrieval-Augmented Generation) | |
| LogMCP — Scopes | |
| LogMCP — stdio Mode (Local MCP Server) | |
| Redis RPC — Protokoll für Co-located Extensions | |
| clitool — MCP-Tool-Interface für CLI-Programme |
Latest Blog Posts
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/kascada/logmcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server