Skip to main content
Glama
cli.go736 B
package cli import ( "github.com/mozillazg/kube-audit-mcp/pkg/cli/testcmd" "github.com/spf13/cobra" ) var onlyVersion bool var ( rootCmd = &cobra.Command{ Use: "kube-audit-mcp", Short: "MCP Server for Kubernetes Audit Logs.", Long: `MCP Server for Kubernetes Audit Logs. More info: https://github.com/mozillazg/kube-audit-mcp`, Run: func(cmd *cobra.Command, args []string) { if onlyVersion { printVersion() return } _ = cmd.Help() }, } ) func init() { rootCmd.AddCommand(mcpCmd) rootCmd.AddCommand(sampleConfCmd) rootCmd.AddCommand(versionCmd) testcmd.Registry(rootCmd) rootCmd.Flags().BoolVar(&onlyVersion, "version", false, "show version") } func Run() error { return rootCmd.Execute() }

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