Skip to content

Releases: certinia/debug-log-analyzer-mcp

1.0.0: Performance analysis, log summaries, bottleneck detection, and anonymous Apex execution with org allowlists and configurable debug levels...

20 Mar 16:11
e7d8f21

Choose a tag to compare

What's Changed

Added

  • Performance Analysis (analyze_apex_log_performance) - Feed in a debug log and instantly see which methods are the slowest. See execution times, SOQL/DML counts, and SOSL queries. All durations in milliseconds. Includes log size, debug levels, and thrown exception count.
  • Log Summaries (get_apex_log_summary) - Get a debug log summary. Total execution time, method count, governor limit usage (all limits with usage > 0), and log issues as structured {type, summary} objects.
  • Bottleneck Detection (find_performance_bottlenecks) - Detects CPU, database and method performance issues by type so you know exactly what to focus on. Empty sections are omitted for cleaner responses.
  • Anonymous Apex Execution (execute_anonymous) - Run Apex against any Salesforce org. The debug log is saved to a local file (default: .apex-log-mcp/ in the project root) and a summary with the file path is returned. Use the file path with the analysis tools for deeper investigation. Specify a target org by alias or username, or use the project default.
    • Org allowlist (--allowed-orgs) — Disabled by default, must be explicitly enabled. Supports special tokens: ALLOW_ALL_ORGS (permit any org), DEFAULT_TARGET_ORG and DEFAULT_TARGET_DEV_HUB (resolve from Salesforce CLI config). Aliases in the allowlist are resolved to usernames for matching.
    • Debug levels — Configurable via the debugLevel parameter. Set all categories at once (e.g. "FINEST"), reset to defaults, or override specific categories like apexCode, database, and nba.
    • Output directory — Configurable via the outputDir parameter. Defaults to .apex-log-mcp/ in the project root.

New Contributors

Full Changelog: https://github.com/certinia/debug-log-analyzer-mcp/commits/1.0.0