Skip to main content
Glama

Log Analyzer MCP

by djm81

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_LOG_FILENoOptional path to log file for the MCP server
MCP_LOG_LEVELNoLog level for the MCP serverINFO
LOG_DIRECTORIESNoJSON array of log directories to analyze, e.g. '["/path/to/your/app/logs"]'
PYTHONIOENCODINGNoPython environment variable to set encodingutf-8
PYTHONUNBUFFEREDNoPython environment variable to ensure unbuffered output1
LOG_PATTERNS_ERRORNoJSON array of regex patterns to identify errors in logs, e.g. '["Exception:.*"]'

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/djm81/log_analyzer_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server