read_mcp_logs
Access and analyze MCP protocol logs from specified locations, filter entries, and manage pagination for efficient debugging and troubleshooting.
Instructions
Read MCP logs from the standard location
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customPath | No | Optional custom path to log directory (default is system-specific) | |
| fileLimit | No | Maximum number of files to read per page (default: 5) | |
| filter | No | Optional text to filter log entries by (case-insensitive) | |
| lines | No | Number of lines to read from the end of each log file (default: 100) | |
| page | No | Page number for pagination (default: 1) |
Input Schema (JSON Schema)
{
"properties": {
"customPath": {
"description": "Optional custom path to log directory (default is system-specific)",
"type": "string"
},
"fileLimit": {
"description": "Maximum number of files to read per page (default: 5)",
"type": "number"
},
"filter": {
"description": "Optional text to filter log entries by (case-insensitive)",
"type": "string"
},
"lines": {
"description": "Number of lines to read from the end of each log file (default: 100)",
"type": "number"
},
"page": {
"description": "Page number for pagination (default: 1)",
"type": "number"
}
},
"type": "object"
}