File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
conformance-tests/client-jdk-http-client
src/main/java/io/modelcontextprotocol/conformance/client Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ The client:
143143
144144To add support for new scenarios:
145145
146- 1 . Add the scenario name to the switch statement in ` Main .java`
146+ 1 . Add the scenario name to the switch statement in ` ConformanceJdkClientMcpClient .java`
1471472 . Implement a dedicated handler method (e.g., ` runAuthScenario() ` , ` runElicitationScenario() ` )
1481483 . Register the scenario in the available scenarios list in the default case
1491494 . Rebuild the JAR
Original file line number Diff line number Diff line change 5353 <transformers >
5454 <transformer
5555 implementation=" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
56- <mainClass >io.modelcontextprotocol.conformance.client.Main </mainClass >
56+ <mainClass >io.modelcontextprotocol.conformance.client.ConformanceJdkClientMcpClient </mainClass >
5757 </transformer >
5858 <transformer
5959 implementation=" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
Original file line number Diff line number Diff line change 1616 * from command-line arguments.
1717 *
1818 * <p>
19- * Usage: Main <server-url>
19+ * Usage: ConformanceJdkClientMcpClient <server-url>
2020 *
2121 * @see <a href= "https://github.com/modelcontextprotocol/conformance">MCP Conformance
2222 * Test Framework</a>
2323 */
24- public class Main {
24+ public class ConformanceJdkClientMcpClient {
2525
2626 public static void main (String [] args ) {
2727 if (args .length == 0 ) {
28- System .err .println ("Usage: Main <server-url>" );
28+ System .err .println ("Usage: ConformanceJdkClientMcpClient <server-url>" );
2929 System .err .println ("The server URL must be provided as the last command-line argument." );
3030 System .err .println ("The MCP_CONFORMANCE_SCENARIO environment variable must be set." );
3131 System .exit (1 );
You can’t perform that action at this time.
0 commit comments