Skip to main content
Glama
auth.go747 B
package models import ( "time" "golang.org/x/oauth2" ) type User struct { ID int64 `json:"id"` Login string `json:"login"` Name string `json:"name"` Email string `json:"email"` AvatarURL string `json:"avatar_url"` CreatedAt time.Time `json:"created_at"` } type Session struct { UserID int64 `json:"user_id"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` TokenExpiry time.Time `json:"token_expiry"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } type TokenInfo struct { Token *oauth2.Token `json:"token"` User *User `json:"user"` ExpiresAt time.Time `json:"expires_at"` }

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/ParthKapoor-dev/devex'

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