Skip to main content
Glama
MainTest.java520 B
package org.example; import org.junit.jupiter.api.Test; public class MainTest { @Test public void testMainRuns() { Main.main(new String[]{}); } @Test public void testPrivateConstructorCovered() throws Exception { var ctor = Main.class.getDeclaredConstructor(); ctor.setAccessible(true); try { ctor.newInstance(); } catch (Throwable ignored) { // constructor throws AssertionError; invocation covers it for JaCoCo } } }

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/amyfan7/se333-final-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server