We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcpjungle/MCPJungle'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
package cmd
import (
"testing"
"github.com/mcpjungle/mcpjungle/pkg/testhelpers"
)
func TestLoginCommandStructure(t *testing.T) {
t.Run("command_properties", func(t *testing.T) {
testhelpers.AssertEqual(t, "login [access_token]", loginCmd.Use)
testhelpers.AssertEqual(t, "Log in to MCPJungle (Enterprise mode)", loginCmd.Short)
})
t.Run("command_annotations", func(t *testing.T) {
annotationTests := []testhelpers.CommandAnnotationTest{
{Key: "group", Expected: string(subCommandGroupAdvanced)},
{Key: "order", Expected: "7"},
}
testhelpers.TestCommandAnnotations(t, loginCmd.Annotations, annotationTests)
})
t.Run("command_functions", func(t *testing.T) {
testhelpers.AssertNotNil(t, loginCmd.Args)
})
}