Skip to main content
Glama
test.go495 B
package testcmd import ( "github.com/mark3labs/mcp-go/mcp" "github.com/spf13/cobra" ) var testCmd = &cobra.Command{ Use: "test", Aliases: []string{}, Short: "test tools", } var initReq = mcp.InitializeRequest{ Params: mcp.InitializeParams{ ProtocolVersion: "2024-11-05", Capabilities: mcp.ClientCapabilities{}, ClientInfo: mcp.Implementation{ Name: "My Application", Version: "1.0.0", }, }, } func Registry(root *cobra.Command) { root.AddCommand(testCmd) }

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