Skip to main content
Glama

protolint-mcp

by yoheimuta
grpcServer.go508 B
package plugin import ( "github.com/yoheimuta/protolint/internal/addon/plugin/shared" "github.com/yoheimuta/protolint/linter/rule" "github.com/hashicorp/go-plugin" ) // RegisterCustomRules registers custom rules. func RegisterCustomRules( rules ...rule.Rule, ) { plugin.Serve( &plugin.ServeConfig{ HandshakeConfig: shared.Handshake, Plugins: map[string]plugin.Plugin{ "ruleSet": &shared.RuleSetGRPCPlugin{Impl: newRuleSet(rules)}, }, GRPCServer: plugin.DefaultGRPCServer, }, ) }

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