adityamparikh commented on code in PR #1:
URL: https://github.com/apache/solr-mcp/pull/1#discussion_r2443446543
##########
src/test/java/org/apache/solr/mcp/server/ClientStdio.java:
##########
@@ -0,0 +1,27 @@
+package org.apache.solr.mcp.server;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+import io.modelcontextprotocol.client.transport.ServerParameters;
+import io.modelcontextprotocol.client.transport.StdioClientTransport;
+import io.modelcontextprotocol.json.jackson.JacksonMcpJsonMapper;
+
+import java.io.File;
+
+// run after project has been built with "./gradlew build -x test and the mcp
server jar is connected to a running solr"
+public class ClientStdio {
+
+ public static void main(String[] args) {
+
+ System.out.println(new File(".").getAbsolutePath());
+
+ var stdioParams = ServerParameters.builder("java")
Review Comment:
https://github.com/adityamparikh/solr-mcp/pull/4
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]