You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,23 +35,27 @@ To use the MCP Annotations core module in your project, add the following depend
35
35
<dependency>
36
36
<groupId>org.springaicommunity</groupId>
37
37
<artifactId>mcp-annotations</artifactId>
38
-
<version>0.3.0</version>
38
+
<version>...</version>
39
39
</dependency>
40
40
```
41
+
(_Select the latest released mcp-annotations [version](https://central.sonatype.com/artifact/org.springaicommunity/mcp-annotations/versions) or latest snapshot._)
41
42
42
43
and a Java MCP SDK dependency:
43
44
44
45
```xml
45
46
<dependency>
46
47
<groupId>io.modelcontextprotocol.sdk</groupId>
47
48
<artifactId>mcp</artifactId>
48
-
<version>0.13.0-SNAPSHOT</version>
49
+
<version>...</version>
49
50
</dependency>
50
51
```
51
52
53
+
(_Select the latest released mcp-java [version](https://central.sonatype.com/artifact/io.modelcontextprotocol.sdk/mcp/versions) or latest snapshot._)
54
+
55
+
52
56
### Snapshot repositories
53
57
54
-
To use the mcp-annotations snapshot version you need to add the following repositories to your Maven POM:
58
+
To use the mcp-annotations and mcp-java-sdk snapshot versions you need to add the following repositories to your Maven POM:
55
59
56
60
```xml
57
61
<repositories>
@@ -219,7 +223,9 @@ The project includes provider classes that scan for annotated methods and create
219
223
-`SyncStatelessMcpPromptProvider` - Processes `@McpPrompt` annotations for synchronous stateless operations
220
224
-`AsyncStatelessMcpPromptProvider` - Processes `@McpPrompt` annotations for asynchronous stateless operations
221
225
-`SyncStatelessMcpResourceProvider` - Processes `@McpResource` annotations for synchronous stateless operations
226
+
-`SyncStatelessMcpResourceTemplateProvider` - Processes `@McpResource` annotations for synchronous stateless operations
222
227
-`AsyncStatelessMcpResourceProvider` - Processes `@McpResource` annotations for asynchronous stateless operations
228
+
-`AsyncStatelessMcpResourceTemplateProvider` - Processes `@McpResource` annotations for asynchronous stateless operations
223
229
-`SyncStatelessMcpToolProvider` - Processes `@McpTool` annotations for synchronous stateless operations
224
230
-`AsyncStatelessMcpToolProvider` - Processes `@McpTool` annotations for asynchronous stateless operations
0 commit comments