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
This is a yaml configuration file example (named `mcp-server.yml` by default, or also `mcp-server.yaml`) only if you are using `startServer()` method:
51
+
52
+
```yaml
53
+
enabled: true
54
+
stdio: false
55
+
name: mcp-server
56
+
version: 1.0.0
57
+
instructions: mcp-server
58
+
request-timeout: 30000
59
+
type: SYNC
60
+
resource-change-notification: true
61
+
prompt-change-notification: true
62
+
tool-change-notification: true
63
+
sse-message-endpoint: /mcp/message
64
+
sse-endpoint: /sse
65
+
base-url: http://localhost:8080
66
+
sse-port: 8080
67
+
```
68
+
46
69
No need to care about the low-level details of native MCP Java SDK and how to create the MCP resources, prompts, and tools. Just annotate them like this:
47
70
48
71
```java
@@ -106,11 +129,11 @@ Now it's all set, run your MCP server, choose one MCP client you like and start
106
129
Add the following Maven dependency to your project:
107
130
108
131
```xml
109
-
<!-- Internally relies on native MCP Java SDK 0.9.0 -->
132
+
<!-- Internally relies on native MCP Java SDK 0.10.0 -->
0 commit comments