MCP.so
登录

Pprof Analyzer MCP Server

@ZephyrDeng

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

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.

Pprof Analyzer MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "pprof-analyzer-mcp": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "pprof-analyzer-mcp",
        "."
      ]
    }
  }
}

Pprof Analyzer MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

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.

2

On which operating systems does the interactive pprof web UI work?

The `open_interactive_pprof` tool works only on macOS.

3

How is the server transported?

It uses the `stdio` transport protocol.

4

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"`.

5

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 服务器