Local Logs MCP Server
by mariosss
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOGS_DIR | No | Directory containing log files. If not specified, the server automatically searches for logs in priority order: ./logs, ./apps/backend/logs, ./server/logs, ./backend/logs, /var/log (Linux/Mac), C:\logs (Windows) | |
| LOG_EXTENSIONS | No | Comma-separated log file extensions | .log,.txt |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_log_files | Get list of available log files with metadata |
| tail_log | Get the last N lines from a log file |
| get_errors | Get recent error log entries |
| get_server_status | Get server status summary from logs |
| watch_log | Monitor a log file for changes |
| search_logs | Search for specific text in log files |
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
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/mariosss/local-logs-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server