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:
7070- Follow existing file naming conventions (kebab-case.mdx)
7171- Include proper frontmatter in MDX files
7272
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+
7391## Submitting Changes
7492
75931 . 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
919919` ` ` java
920920var chatClient = chatClientBuilder
921921 .defaultSystem("You are useful assistant, expert in AI and Java.")
922- .defaultTools ((Object[]) mcpToolAdapter.toolCallbacks())
922+ .defaultToolCallbacks ((Object[]) mcpToolAdapter.toolCallbacks())
923923 .defaultAdvisors(new MessageChatMemoryAdvisor(new InMemoryChatMemory()))
924924 .build();
925925` ` `
926926
927+ <Warning>
928+ Breaking change : From SpringAI 1.0.0-M8 onwards, use `.defaultToolCallbacks(...)` instead of `.defaultTool(...)` to register MCP tools.
929+ </Warning>
930+
927931Key features :
928932- Uses Claude AI model for natural language understanding
929933- Integrates Brave Search through MCP for real-time web search capabilities
930934- Maintains conversation memory using InMemoryChatMemory
931935- Runs as an interactive command-line application
932936
937+
933938# ## Build and run
934939
935940` ` ` bash
You can’t perform that action at this time.
0 commit comments