Skip to main content
Glama
utils.go345 B
package streamconfig func DoesHeaderExist(headers map[string]string, headerName string) bool { _, found := headers[headerName] return found } func DoesHeaderValueMatch(headers map[string]string, headerName, headerValue string) bool { if !DoesHeaderExist(headers, headerName) { return false } return headers[headerName] == headerValue }

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