Back to Home
ZephyrDeng icon

pprof-analyzer-mcp

by ZephyrDeng

Overview

Analyze Go pprof performance profiles (CPU, heap, goroutine, allocs, mutex, block), identify performance bottlenecks, detect memory leaks, compare profiles, and visualize data via flame graphs.

Installation

Run Command
docker run -i --rm pprof-analyzer-mcp

Environment Variables

  • LOG_LEVEL

Security Notes

The server can download and process profile files from arbitrary HTTP/HTTPS URIs, posing a Server-Side Request Forgery (SSRF) risk. It allows user-controlled `output_svg_path` for `generate_flamegraph`, which could potentially lead to arbitrary file overwrites or creation in unintended locations if not properly handled by the underlying `go tool pprof` command. The `open_interactive_pprof` tool has explicit limitations regarding uncaptured background process errors and temporary file cleanup for remote URIs, which could lead to resource exhaustion (e.g., disk space). Launching `go tool pprof` as a web UI with a user-specified HTTP address could expose a debugging interface if the server is publicly accessible.

Similar Servers

Stats

Interest Score44
Security Score5
Cost ClassMedium
Stars45
Forks7
Last Update2026-01-17

Tags

pprofGoperformance-analysismemory-leaksflame-graphmcp