Skip to main content
Glama
plugin.go713 B
package config type PluginConfig interface { IsEnabled() bool GetName() string IsTypeUndefined() bool } func (plugin Remedy) IsEnabled() bool { return plugin.Enabled } func (plugin Diagnosis) IsEnabled() bool { return plugin.Enabled } func (plugin Remedy) GetType() RemedyType { return plugin.remedyType } func (plugin Diagnosis) GetType() DiagnosisType { return plugin.diagnosisType } func (plugin Remedy) IsTypeUndefined() bool { return plugin.Type() == RemedyUndefined } func (plugin Diagnosis) IsTypeUndefined() bool { return plugin.Type() == DiagnosisUndefined } func (plugin Remedy) GetName() string { return plugin.Name } func (plugin Diagnosis) GetName() string { return plugin.Name }

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