File tree Expand file tree Collapse file tree 8 files changed +528
-611
lines changed
src/main/java/io/modelcontextprotocol Expand file tree Collapse file tree 8 files changed +528
-611
lines changed Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >io.modelcontextprotocol.sdk</groupId >
99 <artifactId >mcp-parent</artifactId >
10- <version >0.10 .0-SNAPSHOT</version >
10+ <version >0.11 .0-SNAPSHOT</version >
1111 </parent >
1212
1313 <artifactId >mcp-bom</artifactId >
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >io.modelcontextprotocol.sdk</groupId >
88 <artifactId >mcp-parent</artifactId >
9- <version >0.10 .0-SNAPSHOT</version >
9+ <version >0.11 .0-SNAPSHOT</version >
1010 <relativePath >../../pom.xml</relativePath >
1111 </parent >
1212 <artifactId >mcp-spring-webflux</artifactId >
2525 <dependency >
2626 <groupId >io.modelcontextprotocol.sdk</groupId >
2727 <artifactId >mcp</artifactId >
28- <version >0.10 .0-SNAPSHOT</version >
28+ <version >0.11 .0-SNAPSHOT</version >
2929 </dependency >
3030
3131 <dependency >
3232 <groupId >io.modelcontextprotocol.sdk</groupId >
3333 <artifactId >mcp-test</artifactId >
34- <version >0.10 .0-SNAPSHOT</version >
34+ <version >0.11 .0-SNAPSHOT</version >
3535 <scope >test</scope >
3636 </dependency >
3737
8282 <version >${mockito.version} </version >
8383 <scope >test</scope >
8484 </dependency >
85+ <dependency >
86+ <groupId >net.bytebuddy</groupId >
87+ <artifactId >byte-buddy</artifactId >
88+ <version >${byte-buddy.version} </version >
89+ <scope >test</scope >
90+ </dependency >
8591 <dependency >
8692 <groupId >io.projectreactor</groupId >
8793 <artifactId >reactor-test</artifactId >
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >io.modelcontextprotocol.sdk</groupId >
88 <artifactId >mcp-parent</artifactId >
9- <version >0.10 .0-SNAPSHOT</version >
9+ <version >0.11 .0-SNAPSHOT</version >
1010 <relativePath >../../pom.xml</relativePath >
1111 </parent >
1212 <artifactId >mcp-spring-webmvc</artifactId >
2525 <dependency >
2626 <groupId >io.modelcontextprotocol.sdk</groupId >
2727 <artifactId >mcp</artifactId >
28- <version >0.10 .0-SNAPSHOT</version >
28+ <version >0.11 .0-SNAPSHOT</version >
2929 </dependency >
3030
3131 <dependency >
3232 <groupId >io.modelcontextprotocol.sdk</groupId >
3333 <artifactId >mcp-test</artifactId >
34- <version >0.10 .0-SNAPSHOT</version >
34+ <version >0.11 .0-SNAPSHOT</version >
3535 <scope >test</scope >
3636 </dependency >
3737
7777 <version >${mockito.version} </version >
7878 <scope >test</scope >
7979 </dependency >
80+ <dependency >
81+ <groupId >net.bytebuddy</groupId >
82+ <artifactId >byte-buddy</artifactId >
83+ <version >${byte-buddy.version} </version >
84+ <scope >test</scope >
85+ </dependency >
8086 <dependency >
8187 <groupId >org.testcontainers</groupId >
8288 <artifactId >junit-jupiter</artifactId >
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >io.modelcontextprotocol.sdk</groupId >
88 <artifactId >mcp-parent</artifactId >
9- <version >0.10 .0-SNAPSHOT</version >
9+ <version >0.11 .0-SNAPSHOT</version >
1010 </parent >
1111 <artifactId >mcp-test</artifactId >
1212 <packaging >jar</packaging >
2424 <dependency >
2525 <groupId >io.modelcontextprotocol.sdk</groupId >
2626 <artifactId >mcp</artifactId >
27- <version >0.10 .0-SNAPSHOT</version >
27+ <version >0.11 .0-SNAPSHOT</version >
2828 </dependency >
2929
3030 <dependency >
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >io.modelcontextprotocol.sdk</groupId >
88 <artifactId >mcp-parent</artifactId >
9- <version >0.10 .0-SNAPSHOT</version >
9+ <version >0.11 .0-SNAPSHOT</version >
1010 </parent >
1111 <artifactId >mcp</artifactId >
1212 <packaging >jar</packaging >
Original file line number Diff line number Diff line change @@ -97,6 +97,14 @@ public McpSchema.Implementation getServerInfo() {
9797 return this .delegate .getServerInfo ();
9898 }
9999
100+ /**
101+ * Check if the client-server connection is initialized.
102+ * @return true if the client-server connection is initialized
103+ */
104+ public boolean isInitialized () {
105+ return this .delegate .isInitialized ();
106+ }
107+
100108 /**
101109 * Get the client capabilities that define the supported features and functionality.
102110 * @return The client capabilities
You can’t perform that action at this time.
0 commit comments