Skip to main content
Glama
gzip.go351 B
package compression import ( "bytes" "compress/gzip" "io" ) func DecompressGZip(compressed string) (string, error) { reader, err := gzip.NewReader(bytes.NewBuffer([]byte(compressed))) if err != nil { return "", err } defer reader.Close() bytes, err := io.ReadAll(reader) if err != nil { return "", err } return string(bytes), nil }

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/TheLunarCompany/lunar'

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