File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Declarative [MCP Java SDK](https://github.com/modelcontextprotocol/java-sdk) Dev
1414- No need to write more SDK low-level codes.
1515- Get rid of complex and lengthy JSON schema definitions.
1616- Just focus on your core logic (resources/prompts/tools).
17+ - Configuration file compatible with the Spring AI framework.
1718
1819## Showcase
1920
@@ -35,6 +36,8 @@ public class MyMcpServer {
3536 McpServers . run(MyMcpServer . class, args). startSyncSseServer(
3637 McpSseServerInfo . builder(). name(" mcp-server" ). version(" 1.0.0" ). port(8080 ). build()
3738 );
39+ // or start with yaml configuration file compatible with the Spring AI framework
40+ McpServers . run(MyMcpServer . class, args). startServer();
3841 }
3942
4043}
You can’t perform that action at this time.
0 commit comments