MCP.so
登录

Go Process Inspector

@monsterxx03

关于 Go Process Inspector

Non-Invasive goroutine inspector

基本信息

分类

开发工具

许可证

MIT

运行时

go

传输方式

stdio

发布者

monsterxx03

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Go Process Inspector?

Go Process Inspector (gospy) is a tool for inspecting and analyzing running Go processes. It provides detailed goroutine states, memory statistics, and binary information via a CLI, terminal UI, HTTP API, and an MCP (Model Context Protocol) server. It is intended for developers debugging or profiling Go applications on Linux and macOS.

How to use Go Process Inspector?

Install with go install github.com/monsterxx03/gospy@latest. Use sudo gospy top --pid <pid> for interactive TUI, sudo gospy summary --pid <pid> for a summary, or sudo gospy serve --port 8974 to start the HTTP API. To enable the MCP server, run sudo gospy serve --enable-mcp --port 8974. Root privileges are required on both Linux and macOS.

Use cases of Go Process Inspector

  • Debugging goroutine leaks by inspecting goroutine states and scheduling info
  • Analyzing memory statistics of a running Go application
  • Monitoring Go processes via a programmatic HTTP API
  • Interactive process inspection with a terminal UI
  • Integrating with AI assistants via the MCP server tools

FAQ from Go Process Inspector

What operating systems does Go Process Inspector support?

Linux and macOS (Apple Silicon only).

Does Go Process Inspector require root privileges?

Yes, it requires root (sudo) to read process memory and access Mach APIs on macOS.

What MCP tools are available?

The MCP server exposes tools: goroutines (dump goroutines), gomemstats (dump memory stats), goruntime (dump runtime info), and pgrep (find PID by process name).

What dependencies does Go Process Inspector have?

Go 1.20+ is required to build from source.

How can I get process summary data in a structured format?

Use the --json flag with the summary command: sudo gospy summary --pid <pid> --json.

What transport does the MCP server use?

The MCP server provides an HTTP (streamableHTTP) endpoint at /mcp.

评论

开发工具 分类下的更多 MCP 服务器