Skip to main content
Glama

protolint-mcp

by yoheimuta
ruleGen.go774 B
package plugin import ( "github.com/yoheimuta/go-protoparser/v4/parser" "github.com/yoheimuta/protolint/linter/report" "github.com/yoheimuta/protolint/linter/rule" ) // RuleGen is a generator for a rule. It's adapted to rule.Rule interface. type RuleGen func( verbose bool, fixMode bool, ) rule.Rule // ID implements rule.Rule. func (RuleGen) ID() string { return "" } // Purpose implements rule.Rule. func (RuleGen) Purpose() string { return "" } // IsOfficial implements rule.Rule. func (RuleGen) IsOfficial() bool { return true } // Severity implements rule.Rule. func (RuleGen) Severity() rule.Severity { return rule.SeverityError } // Apply implements rule.Rule. func (RuleGen) Apply(proto *parser.Proto) ([]report.Failure, error) { return nil, nil }

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