MCP.so
登录

Go Process Inspector MCP Server

@monsterxx03

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

monsterxx03

关于 Go Process Inspector MCP Server

Non-Invasive goroutine inspector

Go Process Inspector MCP Server 配置

暂无标准配置

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

代码仓库

Go Process Inspector MCP Server 工具

工具列表暂未提供

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

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

常见问题

1

What operating systems does Go Process Inspector support?

Linux and macOS (Apple Silicon only).

2

Does Go Process Inspector require root privileges?

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

3

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).

4

What dependencies does Go Process Inspector have?

Go 1.20+ is required to build from source.

5

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

6

What transport does the MCP server use?

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

评论

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