- JSON MCP Logs Server
JSON MCP Logs Server
what is JSON Logs MCP Server?
JSON Logs MCP Server is a Model Context Protocol (MCP) server designed to enable clients like Claude Desktop to read and analyze JSON-formatted log files efficiently.
how to use JSON Logs MCP Server?
To use the server, clone the repository, set up a virtual environment, install the package, and configure the log directory. You can then run the server and interact with it through a compatible MCP client.
key features of JSON Logs MCP Server?
- 📁 Browse log files: List and read JSON-formatted log files.
- 🔍 Search and filter: Query logs by various criteria such as level, module, and time range.
- 📊 Aggregate data: Group and analyze logs based on specified criteria.
- 📈 Statistics: Obtain comprehensive statistics about log data.
- 🚀 Fast and efficient: Optimized for handling large log files.
use cases of JSON Logs MCP Server?
- Analyzing application logs for debugging purposes.
- Monitoring system performance through log data.
- Generating reports based on log statistics.
FAQ from JSON Logs MCP Server?
- Can I use this server with any MCP client?
Yes! It is designed to work with any MCP client, including Claude Desktop.
- What log format does the server expect?
The server expects JSON log files with one JSON object per line, including specific fields like timestamp, level, and message.
- Is there a limit to the size of log files?
While the server can handle large log files, performance may vary based on file size and system resources.
Server Config
{
"mcpServers": {
"json-logs": {
"command": "python",
"args": [
"/Users/mfreeman/src/nco/json_logs_mcp_server.py"
],
"cwd": "/Users/mfreeman/src/nco"
}
}
}