@@ -39,7 +39,7 @@ public class McpServerFeatures {
3939 * roots list changes
4040 * @param instructions The server instructions text
4141 */
42- record Async (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
42+ public record Async (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
4343 List <McpServerFeatures .AsyncToolSpecification > tools , Map <String , AsyncResourceSpecification > resources ,
4444 Map <String , McpServerFeatures .AsyncResourceTemplateSpecification > resourceTemplates ,
4545 Map <String , McpServerFeatures .AsyncPromptSpecification > prompts ,
@@ -59,7 +59,7 @@ record Async(McpSchema.Implementation serverInfo, McpSchema.ServerCapabilities s
5959 * the roots list changes
6060 * @param instructions The server instructions text
6161 */
62- Async (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
62+ public Async (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
6363 List <McpServerFeatures .AsyncToolSpecification > tools , Map <String , AsyncResourceSpecification > resources ,
6464 Map <String , McpServerFeatures .AsyncResourceTemplateSpecification > resourceTemplates ,
6565 Map <String , McpServerFeatures .AsyncPromptSpecification > prompts ,
@@ -153,7 +153,7 @@ static Async fromSync(Sync syncSpec, boolean immediateExecution) {
153153 * roots list changes
154154 * @param instructions The server instructions text
155155 */
156- record Sync (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
156+ public record Sync (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
157157 List <McpServerFeatures .SyncToolSpecification > tools ,
158158 Map <String , McpServerFeatures .SyncResourceSpecification > resources ,
159159 Map <String , McpServerFeatures .SyncResourceTemplateSpecification > resourceTemplates ,
@@ -173,7 +173,7 @@ record Sync(McpSchema.Implementation serverInfo, McpSchema.ServerCapabilities se
173173 * the roots list changes
174174 * @param instructions The server instructions text
175175 */
176- Sync (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
176+ public Sync (McpSchema .Implementation serverInfo , McpSchema .ServerCapabilities serverCapabilities ,
177177 List <McpServerFeatures .SyncToolSpecification > tools ,
178178 Map <String , McpServerFeatures .SyncResourceSpecification > resources ,
179179 Map <String , McpServerFeatures .SyncResourceTemplateSpecification > resourceTemplates ,
0 commit comments