Skip to main content
Glama

protolint-mcp

by yoheimuta
base.go641 B
package rules import "github.com/yoheimuta/protolint/linter/rule" // RuleWithSeverity represents a rule with a configurable severity. type RuleWithSeverity struct { severity rule.Severity } // NewRuleWithSeverity takes a severity and adds it to a new instance // of RuleWithSeverity func NewRuleWithSeverity( severity rule.Severity, ) RuleWithSeverity { return RuleWithSeverity{severity: severity} } // Severity returns the configured severity. // If no severity is set, the default severity will be ERROR func (r RuleWithSeverity) Severity() rule.Severity { if r.severity == "" { return rule.SeverityError } return r.severity }

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/yoheimuta/protolint'

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