We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gemyago/atlacp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
mocks.go•348 B
//go:build !release
package mocks
import (
"testing"
)
// GetMock is a helper function to get a mock from a given instance.
// Note: This should only be used internally in tests.
func GetMock[TOutput any](t *testing.T, input interface{}) TOutput {
mock, ok := input.(TOutput)
if !ok {
t.Fatalf("input is not a %T", input)
}
return mock
}