Skip to main content
Glama
signals_unix.go319 B
//go:build !windows // +build !windows package main import ( "os" "os/signal" "syscall" ) // setupSignalHandling sets up signal handling for Unix systems func setupSignalHandling(sigChan chan os.Signal) { // On Unix, we can handle both SIGINT and SIGTERM signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/standardbeagle/brummer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server