Go Process Inspector
@monsterxx03
关于 Go Process Inspector
Non-Invasive goroutine inspector
基本信息
配置
工具
未检测到工具
工具是从 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 服务器
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
评论