Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
MCP_LOG_FILE | No | Optional path for MCP server log file | |
MCP_LOG_LEVEL | No | Sets the logging level for the MCP server | INFO |
LOG_DIRECTORIES | No | JSON array of directories containing log files to analyze | |
PYTHONIOENCODING | No | Sets the encoding for Python I/O | utf-8 |
PYTHONUNBUFFERED | No | Ensures Python output is unbuffered | 1 |
LOG_PATTERNS_ERROR | No | JSON array of regex patterns to identify error logs | |
LOG_CONTEXT_LINES_AFTER | No | Number of lines to include after matched log entries | |
LOG_CONTEXT_LINES_BEFORE | No | Number of lines to include before matched log entries |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
analyze_tests | Analyze the most recent test run and provide detailed information about failures. |
run_tests_no_verbosity | Run all tests with minimal output (verbosity level 0). |
run_tests_verbose | Run all tests with verbose output (verbosity level 1). |
run_tests_very_verbose | Run all tests with very verbose output (verbosity level 2). |
ping | Check if the MCP server is alive. |
create_coverage_report | |
run_unit_test | |
search_log_all_records | Search for all log records, optionally filtering by scope and content patterns, with context. |
search_log_time_based | Search logs within a time window, optionally filtering, with context. |
search_log_first_n_records | Search for the first N (oldest) records, optionally filtering, with context. |
search_log_last_n_records | Search for the last N (newest) records, optionally filtering, with context. |
get_server_env_details | Returns sys.path and sys.executable from the running MCP server. |