File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,24 @@ When contributing to the documentation:
70
70
- Follow existing file naming conventions (kebab-case.mdx)
71
71
- Include proper frontmatter in MDX files
72
72
73
+ ### Specification Proposal Guidelines
74
+
75
+ #### Principles of MCP
76
+
77
+ 1 . ** Simple + Minimal** : It is much easier to add things to a specification than it is to
78
+ remove them. To maintain simplicity, we keep a high bar for adding new concepts and
79
+ primitives as each addition requires maintenance and compatibility consideration.
80
+ 2 . ** Concrete** : Specification changes need to be based on specific implementation
81
+ challenges and not on speculative ideas.
82
+
83
+ ### Stages of a specification proposal
84
+
85
+ 1 . ** Define** : Explore the problem space, validate that other MCP users face a similar
86
+ issue, and then clearly define the problem.
87
+ 2 . ** Prototype** : Build an example solution to the problem and demonstrate its practical
88
+ application.
89
+ 3 . ** Write** : Based on the prototype, write a specification proposal.
90
+
73
91
## Submitting Changes
74
92
75
93
1 . Push your changes to your fork
Original file line number Diff line number Diff line change @@ -919,17 +919,22 @@ The chatbot is implemented using Spring AI's ChatClient with MCP tool integratio
919
919
` ` ` java
920
920
var chatClient = chatClientBuilder
921
921
.defaultSystem("You are useful assistant, expert in AI and Java.")
922
- .defaultTools ((Object[]) mcpToolAdapter.toolCallbacks())
922
+ .defaultToolCallbacks ((Object[]) mcpToolAdapter.toolCallbacks())
923
923
.defaultAdvisors(new MessageChatMemoryAdvisor(new InMemoryChatMemory()))
924
924
.build();
925
925
` ` `
926
926
927
+ <Warning>
928
+ Breaking change : From SpringAI 1.0.0-M8 onwards, use `.defaultToolCallbacks(...)` instead of `.defaultTool(...)` to register MCP tools.
929
+ </Warning>
930
+
927
931
Key features :
928
932
- Uses Claude AI model for natural language understanding
929
933
- Integrates Brave Search through MCP for real-time web search capabilities
930
934
- Maintains conversation memory using InMemoryChatMemory
931
935
- Runs as an interactive command-line application
932
936
937
+
933
938
# ## Build and run
934
939
935
940
` ` ` bash
You can’t perform that action at this time.
0 commit comments