Skip to main content
Glama

Local Logs MCP Server

by mariosss

search_logs

Search for specific text in local application log files to quickly locate errors, debug issues, and analyze system events.

Instructions

Search for specific text in log files

Input Schema

NameRequiredDescriptionDefault
filenameNoLog file to search (default: combined.log)combined.log
linesNoNumber of matching lines to return (default: 10)
queryYesText to search for in logs

Input Schema (JSON Schema)

{ "properties": { "filename": { "default": "combined.log", "description": "Log file to search (default: combined.log)", "type": "string" }, "lines": { "default": 10, "description": "Number of matching lines to return (default: 10)", "type": "number" }, "query": { "description": "Text to search for in logs", "type": "string" } }, "required": [ "query" ], "type": "object" }

Other Tools from Local Logs MCP Server

Related 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/mariosss/local-logs-mcp-server'

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