Back to Home
Darkstar326 icon

log_analyzer_mcp

by Darkstar326

Overview

This MCP server and CLI client provide tools for analyzing log files, managing test runs, and generating code coverage reports, primarily for AI-assisted development workflows.

Installation

Run Command
log-analyzer-mcp --transport stdio

Security Notes

The `scripts/release.sh` contains an `eval` command to execute `uvx` for package installation, with arguments sourced from environment variables and command-line inputs. This creates a critical command injection vulnerability if an attacker can control these inputs. Additionally, the `_run_tests` function in `log_analyzer_mcp_server.py` constructs and executes `hatch test` commands, incorporating user-provided `agent` and `pattern` strings into `pytest -k` filters. While `pytest -k` expressions are usually treated as Python expressions, care must be taken to ensure no shell injection is possible with malicious inputs. The `_get_target_log_files` function correctly confines file searches to the project root, which is a good security practice.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassHigh
Avg Tokens7500
Stars0
Forks0
Last Update2025-12-02

Tags

log analysisMCP servertestingdebuggingdeveloper tools