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: spring-ai-docs/src/main/antora/modules/ROOT/pages/guides/getting-started-mcp.adoc
+23-36Lines changed: 23 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
3
3
The Model Context Protocol (MCP) standardizes how AI applications interact with external tools and resources.
4
4
5
-
Spring joined the MCP ecosystem early as a key contributor, helping to develop and maintain the link:https://github.com/modelcontextprotocol/java-sdk[official MCP Java SDK] that serves as the foundation for Java-based MCP implementations. Building on this contribution, Spring AI provides comprehensive MCP support through Boot Starters and annotations, making it easy to build both MCP servers and clients.
5
+
Spring joined the MCP ecosystem early as a key contributor, helping to develop and maintain the link:https://github.com/modelcontextprotocol/java-sdk[official MCP Java SDK] that serves as the foundation for Java-based MCP implementations.
6
+
Building on this contribution, Spring AI provides MCP support through Boot Starters and annotations, making it easy to build both MCP servers and clients.
6
7
7
8
== Introduction Video
8
9
@@ -16,7 +17,8 @@ Start here for an introductory overview of the Model Context Protocol, explainin
16
17
17
18
**💻 Complete Source Code:** link:https://github.com/tzolov/spring-ai-mcp-blogpost[MCP Weather Example Repository]
18
19
19
-
The tutorial provides comprehensive coverage of MCP development with Spring AI, including production-ready examples, advanced features, and deployment patterns. All code examples below are taken from this tutorial.
20
+
The tutorial covers the essentials of MCP development with Spring AI, including advanced features, and deployment patterns.
21
+
All code examples below are taken from this tutorial.
20
22
21
23
== Quick Start
22
24
@@ -69,7 +71,16 @@ public CommandLineRunner demo(ChatClient chatClient, ToolCallbackProvider mcpToo
**link:https://www.youtube.com/watch?v=hmEVUtulHTI[Spring AI Model Context Protocol (MCP) Integration - YouTube]**
91
102
92
-
A comprehensive video walkthrough of Spring AI's MCP integration, covering both server and client implementations.
103
+
A video walkthrough of Spring AI's MCP integration, covering both server and client implementations.
93
104
94
105
== Additional Examples Repository
95
106
96
107
Beyond the tutorial examples, the link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol[Spring AI Examples] repository contains numerous MCP implementations.
97
108
98
109
=== Recommended Starting Points
99
110
100
-
*Annotation-based examples* (recommended for best developer experience):
* link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/mcp-annotations/mcp-annotations-server[Complete Annotations Example] - All annotation features
104
-
* link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/sampling/annotations/mcp-sampling-server-annotations[Sampling with Annotations] - Advanced bidirectional AI
113
+
* link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/mcp-annotations/[Complete Annotations Example] - All annotation features (Client & Server)
114
+
* link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/sampling/annotations/[Sampling with Annotations] - Advanced bidirectional AI (Client & Server)
0 commit comments