File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/main/java/com/github/codeboyzhou/mcp/declarative/server Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
package com .github .codeboyzhou .mcp .declarative .server ;
2
2
3
+ import com .github .codeboyzhou .mcp .declarative .util .StringHelper ;
4
+
3
5
public class McpSseServerInfo extends McpServerInfo {
4
6
5
7
private final String baseUrl ;
@@ -40,13 +42,13 @@ public int port() {
40
42
41
43
public static class Builder extends McpServerInfo .Builder <McpSseServerInfo .Builder > {
42
44
43
- private String baseUrl ;
45
+ private String baseUrl = StringHelper . EMPTY ;
44
46
45
- private String messageEndpoint ;
47
+ private String messageEndpoint = "/mcp/message" ;
46
48
47
- private String sseEndpoint ;
49
+ private String sseEndpoint = "/sse" ;
48
50
49
- private int port ;
51
+ private int port = 8080 ;
50
52
51
53
@ Override
52
54
protected McpSseServerInfo .Builder self () {
You can’t perform that action at this time.
0 commit comments