Skip to content

Commit b513938

Browse files
committed
Added private -> protected for tools list in McpAsyncServer
1 parent ea47496 commit b513938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp-core/src/main/java/io/modelcontextprotocol/server/McpAsyncServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class McpAsyncServer {
103103

104104
private final String instructions;
105105

106-
private final CopyOnWriteArrayList<McpServerFeatures.AsyncToolSpecification> tools = new CopyOnWriteArrayList<>();
106+
protected final CopyOnWriteArrayList<McpServerFeatures.AsyncToolSpecification> tools = new CopyOnWriteArrayList<>();
107107

108108
private final ConcurrentHashMap<String, McpServerFeatures.AsyncResourceSpecification> resources = new ConcurrentHashMap<>();
109109

0 commit comments

Comments
 (0)