Skip to main content
Glama
machine_group.go1.14 kB
package sls // const MachineIDTypes const ( MachineIDTypeIP = "ip" MachineIDTypeUserDefined = "userdefined" ) // MachinGroupAttribute defines machine group attribute type MachinGroupAttribute struct { ExternalName string `json:"externalName"` TopicName string `json:"groupTopic"` } // MachineGroup defines machine group type MachineGroup struct { Name string `json:"groupName"` Type string `json:"groupType"` MachineIDType string `json:"machineIdentifyType"` MachineIDList []string `json:"machineList"` Attribute MachinGroupAttribute `json:"groupAttribute"` CreateTime uint32 `json:"createTime,omitempty"` LastModifyTime uint32 `json:"lastModifyTime,omitempty"` } // Machine defines machine struct type Machine struct { IP string UniqueID string `json:"machine-uniqueid"` UserdefinedID string `json:"userdefined-id"` LastHeartBeatTime int `json:"lastHeartbeatTime"` } // MachineList defines machine list type MachineList struct { Total int Machines []*Machine }

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/mozillazg/kube-audit-mcp'

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