MCP Catalogs
Homegospy screenshot

gospy

by monsterxx03·96·Score 44

Go process inspector MCP server with goroutine analysis, memory statistics, and binary information via terminal UI or API.

developer-toolsmonitoringops-infra
5
Forks
2
Open issues
9 mo ago
Last commit
2d ago
Indexed

Overview

GoSpy is a non-invasive goroutine inspector for Go processes that provides detailed insights into running Go applications. It features a terminal UI for interactive inspection and an HTTP API for programmatic access to goroutine states, memory statistics, and runtime information. As an MCP server, it exposes tools for dumping goroutines, memory stats, runtime info, and process IDs, making it valuable for debugging and monitoring Go applications in production environments.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Debugging Go applications by inspecting goroutine states and memory usage
you:Monitoring production Go services for performance issues and resource leaks
you:Analyzing runtime characteristics of third-party Go binaries without source code
you:Why does gospy require root privileges?
you:Can gospy analyze Go processes running on Windows?

When to choose this

Choose gospy when you need to analyze running Go applications without restarting them or modifying source code, particularly for debugging goroutine issues or monitoring memory usage in production environments.

When NOT to choose this

Don't choose gospy if you need to inspect non-Go processes, don't have root privileges, or need cross-platform support beyond Linux and macOS.

Tools this server exposes

4 tools extracted from the README
  • goroutines

    Dump goroutines for a go process

  • gomemstats

    Dump memory stats for a go process

  • goruntime

    Dump runtime info for a go process

  • pgrep

    Find pid from process name

Comparable tools

pprofgo tool pprofpy-spyasync-profiler

Installation

Installation

go install github.com/monsterxx03/gospy@latest

Claude Desktop Configuration

Add to Claude Desktop config.json:

{
  "mcpServers": {
    "gospy": {
      "command": "sudo",
      "args": ["gospy", "serve", "--enable-mcp", "--port", "8974"],
      "env": {}
    }
  }
}

FAQ

Why does gospy require root privileges?
GoSpy needs root privileges to read process memory (/proc/<pid>/mem on Linux) and access Mach APIs on macOS.
Can gospy analyze Go processes running on Windows?
No, gospy currently only supports Linux and macOS (Apple Silicon).

Compare gospy with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.