Pprof Analyzer MCP Server
@ZephyrDeng
关于 Pprof Analyzer MCP Server
This is a Model Context Protocol (MCP) server implemented in Go, providing a tool to analyze Go pprof performance profiles.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"pprof-analyzer-mcp": {
"command": "docker",
"args": [
"build",
"-t",
"pprof-analyzer-mcp",
"."
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Pprof Analyzer MCP Server?
This is a Model Context Protocol (MCP) server implemented in Go that provides tools to analyze Go pprof performance profiles. It integrates with Go's profiling tooling, allowing developers to debug performance issues, memory leaks, goroutine problems, and more.
How to use Pprof Analyzer MCP Server?
Install via go install, build from source, or use the Docker image. Configure the server in your MCP client (e.g., Roo Cline) by adding a JSON entry to .roo/mcp.json that specifies the command to run the executable. The server communicates over the stdio transport.
Key features of Pprof Analyzer MCP Server
- Analyze pprof files (CPU, heap, goroutine, allocs, mutex, block)
- Output formats: text, markdown, JSON, flamegraph-json
- Generate SVG flame graphs via go tool pprof
- Compare two profiles to identify regressions/improvements
- Detect memory leaks by comparing heap snapshots
- Analyze heap time series for memory growth trends
Use cases of Pprof Analyzer MCP Server
- Diagnose CPU hotspots in Go applications.
- Detect and locate memory leaks using heap snapshots.
- Identify goroutine deadlocks or excessive goroutine usage.
- Analyze mutex contention and blocking operations.
- Compare performance profiles to spot regressions after code changes.
FAQ from Pprof Analyzer MCP Server
What dependencies are required?
Graphviz is required for flame graph generation. The go command must be available for the interactive web UI and flame graph generation.
On which operating systems does the interactive pprof web UI work?
The open_interactive_pprof tool works only on macOS.
How is the server transported?
It uses the stdio transport protocol.
How do I configure the server with my MCP client?
Add a JSON entry to your client’s configuration file (e.g., .roo/mcp.json) specifying the command to run the executable, for example: "command": "pprof-analyzer-mcp".
Can I run the server in Docker?
Yes. Build the Docker image with docker build -t pprof-analyzer-mcp . and run it with docker run -i --rm pprof-analyzer-mcp.
其他 分类下的更多 MCP 服务器
Nginx UI
0xJackyYet another WebUI for Nginx
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
评论