Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · mcp

One read of Model Context Protocolmcp-20261031T153707Z

4 pages moved out of 359 read.

Pages moved 4 significant first
Pages read 359 in this capture
Captured 15:37 UTC
Corpus hash d52dd384afb3 corpus-hash

What this read moved

1-4 of 4

docs/2026-07-28/develop/build-client Changed · +9 / -5 lines

from line 820
820820>
821821> > [!NOTE]
822822> >
823> > This client uses MCP protocol version 2025-11-25, as supported by the latest stable release of the Java SDK. It connects to servers that accept that version, but not to servers that accept only 2026-07-28. See [backward compatibility](https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning.md#backward-compatibility-with-initialization-based-versions).
824>
825> > [!NOTE]
826> >
823827> > This is a quickstart demo based on Spring AI MCP auto-configuration and boot starters.
824828> > To learn how to create sync and async MCP Clients manually, consult the [Java SDK Client](https://java.sdk.modelcontextprotocol.io/) documentation.
825829>
from line 854
850854>
851855> ```bash theme={null}
852856> git clone https://github.com/spring-projects/spring-ai-examples.git
853> cd model-context-protocol/web-search/brave-chatbot
857> cd spring-ai-examples/model-context-protocol/web-search/brave-chatbot
854858> ```
855859>
856860> 3. Set up your API keys:
from line 920
916920>
917921> This activates the `spring-ai-starter-mcp-client` to create one or more `McpClient`s based on the provided server configuration.
918922> The `spring.ai.mcp.client.toolcallback.enabled=true` property enables the tool callback mechanism, that automatically registers all MCP tool as spring ai tools.
919> It is disabled by default.
923> It is enabled by default.
920924>
921925> 3. MCP Server Configuration (`mcp-servers-config.json`):
922926>
from line 945
941945> ```java theme={null}
942946> var chatClient = chatClientBuilder
943947> .defaultSystem("You are useful assistant, expert in AI and Java.")
944> .defaultToolCallbacks((Object[]) mcpToolAdapter.toolCallbacks())
945> .defaultAdvisors(new MessageChatMemoryAdvisor(new InMemoryChatMemory()))
948> .defaultTools(SyncMcpToolCallbackProvider.builder().mcpClients(mcpSyncClients).build())
949> .defaultAdvisors(MessageChatMemoryAdvisor.builder(MessageWindowChatMemory.builder().build()).build())
946950> .build();
947951> ```
948952>
from line 954
950954>
951955> * Uses Claude AI model for natural language understanding
952956> * Integrates Brave Search through MCP for real-time web search capabilities
953> * Maintains conversation memory using InMemoryChatMemory
957> * Maintains conversation memory using MessageWindowChatMemory
954958> * Runs as an interactive command-line application
955959>
956960> ### Build and run

docs/2026-07-28/develop/build-server Changed · +19 / -7 lines

from line 775
775775>
776776> > [!NOTE]
777777> >
778> > This server uses MCP protocol version 2025-11-25, as supported by the latest stable release of the Java SDK. Clients that also support that version can connect to it, but clients that support only 2026-07-28 cannot. See [backward compatibility](https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning.md#backward-compatibility-with-initialization-based-versions).
779>
780> > [!NOTE]
781> >
778782> > This is a quickstart demo based on Spring AI MCP auto-configuration and boot starters.
779783> > To learn how to create sync and async MCP Servers, manually, consult the [Java SDK Server](https://java.sdk.modelcontextprotocol.io/) documentation.
780784>
from line 804
800804> ### System requirements
801805>
802806> * Java 17 or higher installed.
803> * [Spring Boot 3.3.x](https://docs.spring.io/spring-boot/installing.html) or higher
807> * [Spring Boot 4.1.x](https://docs.spring.io/spring-boot/installing.html) or higher
804808>
805809> ### Set up your environment
806810>
from line 1016
10121016> .args("-jar", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-weather-stdio-server-0.0.1-SNAPSHOT.jar")
10131017> .build();
10141018>
1015> var stdioTransport = new StdioClientTransport(stdioParams);
1019> var stdioTransport = new StdioClientTransport(stdioParams, McpJsonDefaults.getMapper());
10161020>
10171021> var mcpClient = McpClient.sync(stdioTransport).build();
10181022>
from line 1064
10601064 
10611065> [tab] Kotlin
10621066>
1067> > [!NOTE]
1068> >
1069> > This server uses MCP protocol version 2025-11-25, as supported by the latest stable release of the Kotlin SDK. Clients that also support that version can connect to it, but clients that support only 2026-07-28 cannot. See [backward compatibility](https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning.md#backward-compatibility-with-initialization-based-versions).
1070>
10631071> Let's get started with building our weather server! [You can find the complete code for what we'll be building here.](https://github.com/modelcontextprotocol/kotlin-sdk/tree/main/samples/weather-stdio-server)
10641072>
10651073> ### Prerequisite knowledge
from line 1131
11231131>
11241132> ```kotlin build.gradle.kts theme={null}
11251133> // Check latest versions at https://github.com/modelcontextprotocol/kotlin-sdk/releases
1126> val mcpVersion = "0.9.0"
1134> val mcpVersion = "0.16.0"
11271135> val ktorVersion = "3.2.3"
11281136> val slf4jVersion = "2.0.17"
11291137>
from line 1142
11341142> application
11351143> }
11361144>
1145> repositories {
1146> mavenCentral()
1147> }
1148>
11371149> application {
11381150> mainClass.set("MainKt")
11391151> }
from line 1366
13541366>
13551367> ```bash theme={null}
13561368> ./gradlew build
1357> java -jar build/libs/weather-0.1.0-all.jar
1369> java -jar build/libs/weather-all.jar
13581370> ```
13591371>
13601372> Let's now test your server from an existing MCP host, Claude for Desktop.
from line 1406
13941406> "command": "java",
13951407> "args": [
13961408> "-jar",
1397> "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-0.1.0-all.jar"
1409> "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-all.jar"
13981410> ]
13991411> }
14001412> }
from line 1420
14081420> "command": "java",
14091421> "args": [
14101422> "-jar",
1411> "C:\\PATH\\TO\\PARENT\\FOLDER\\weather\\build\\libs\\weather-0.1.0-all.jar"
1423> "C:\\PATH\\TO\\PARENT\\FOLDER\\weather\\build\\libs\\weather-all.jar"
14121424> ]
14131425> }
14141426> }
from line 1430
14181430> This tells Claude for Desktop:
14191431>
14201432> 1. There's an MCP server named "weather"
1421> 2. Launch it by running `java -jar /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-0.1.0-all.jar`
1433> 2. Launch it by running `java -jar /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-all.jar`
14221434>
14231435> Save the file, and restart **Claude for Desktop**.
14241436 

docs/draft/develop/build-client Changed · +9 / -5 lines

from line 820
820820>
821821> > [!NOTE]
822822> >
823> > This client uses MCP protocol version 2025-11-25, as supported by the latest stable release of the Java SDK. It connects to servers that accept that version, but not to servers that accept only 2026-07-28. See [backward compatibility](https://modelcontextprotocol.io/specification/draft/basic/versioning.md#backward-compatibility-with-initialization-based-versions).
824>
825> > [!NOTE]
826> >
823827> > This is a quickstart demo based on Spring AI MCP auto-configuration and boot starters.
824828> > To learn how to create sync and async MCP Clients manually, consult the [Java SDK Client](https://java.sdk.modelcontextprotocol.io/) documentation.
825829>
from line 854
850854>
851855> ```bash theme={null}
852856> git clone https://github.com/spring-projects/spring-ai-examples.git
853> cd model-context-protocol/web-search/brave-chatbot
857> cd spring-ai-examples/model-context-protocol/web-search/brave-chatbot
854858> ```
855859>
856860> 3. Set up your API keys:
from line 920
916920>
917921> This activates the `spring-ai-starter-mcp-client` to create one or more `McpClient`s based on the provided server configuration.
918922> The `spring.ai.mcp.client.toolcallback.enabled=true` property enables the tool callback mechanism, that automatically registers all MCP tool as spring ai tools.
919> It is disabled by default.
923> It is enabled by default.
920924>
921925> 3. MCP Server Configuration (`mcp-servers-config.json`):
922926>
from line 945
941945> ```java theme={null}
942946> var chatClient = chatClientBuilder
943947> .defaultSystem("You are useful assistant, expert in AI and Java.")
944> .defaultToolCallbacks((Object[]) mcpToolAdapter.toolCallbacks())
945> .defaultAdvisors(new MessageChatMemoryAdvisor(new InMemoryChatMemory()))
948> .defaultTools(SyncMcpToolCallbackProvider.builder().mcpClients(mcpSyncClients).build())
949> .defaultAdvisors(MessageChatMemoryAdvisor.builder(MessageWindowChatMemory.builder().build()).build())
946950> .build();
947951> ```
948952>
from line 954
950954>
951955> * Uses Claude AI model for natural language understanding
952956> * Integrates Brave Search through MCP for real-time web search capabilities
953> * Maintains conversation memory using InMemoryChatMemory
957> * Maintains conversation memory using MessageWindowChatMemory
954958> * Runs as an interactive command-line application
955959>
956960> ### Build and run

docs/draft/develop/build-server Changed · +19 / -7 lines

from line 775
775775>
776776> > [!NOTE]
777777> >
778> > This server uses MCP protocol version 2025-11-25, as supported by the latest stable release of the Java SDK. Clients that also support that version can connect to it, but clients that support only 2026-07-28 cannot. See [backward compatibility](https://modelcontextprotocol.io/specification/draft/basic/versioning.md#backward-compatibility-with-initialization-based-versions).
779>
780> > [!NOTE]
781> >
778782> > This is a quickstart demo based on Spring AI MCP auto-configuration and boot starters.
779783> > To learn how to create sync and async MCP Servers, manually, consult the [Java SDK Server](https://java.sdk.modelcontextprotocol.io/) documentation.
780784>
from line 804
800804> ### System requirements
801805>
802806> * Java 17 or higher installed.
803> * [Spring Boot 3.3.x](https://docs.spring.io/spring-boot/installing.html) or higher
807> * [Spring Boot 4.1.x](https://docs.spring.io/spring-boot/installing.html) or higher
804808>
805809> ### Set up your environment
806810>
from line 1016
10121016> .args("-jar", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-weather-stdio-server-0.0.1-SNAPSHOT.jar")
10131017> .build();
10141018>
1015> var stdioTransport = new StdioClientTransport(stdioParams);
1019> var stdioTransport = new StdioClientTransport(stdioParams, McpJsonDefaults.getMapper());
10161020>
10171021> var mcpClient = McpClient.sync(stdioTransport).build();
10181022>
from line 1064
10601064 
10611065> [tab] Kotlin
10621066>
1067> > [!NOTE]
1068> >
1069> > This server uses MCP protocol version 2025-11-25, as supported by the latest stable release of the Kotlin SDK. Clients that also support that version can connect to it, but clients that support only 2026-07-28 cannot. See [backward compatibility](https://modelcontextprotocol.io/specification/draft/basic/versioning.md#backward-compatibility-with-initialization-based-versions).
1070>
10631071> Let's get started with building our weather server! [You can find the complete code for what we'll be building here.](https://github.com/modelcontextprotocol/kotlin-sdk/tree/main/samples/weather-stdio-server)
10641072>
10651073> ### Prerequisite knowledge
from line 1131
11231131>
11241132> ```kotlin build.gradle.kts theme={null}
11251133> // Check latest versions at https://github.com/modelcontextprotocol/kotlin-sdk/releases
1126> val mcpVersion = "0.9.0"
1134> val mcpVersion = "0.16.0"
11271135> val ktorVersion = "3.2.3"
11281136> val slf4jVersion = "2.0.17"
11291137>
from line 1142
11341142> application
11351143> }
11361144>
1145> repositories {
1146> mavenCentral()
1147> }
1148>
11371149> application {
11381150> mainClass.set("MainKt")
11391151> }
from line 1366
13541366>
13551367> ```bash theme={null}
13561368> ./gradlew build
1357> java -jar build/libs/weather-0.1.0-all.jar
1369> java -jar build/libs/weather-all.jar
13581370> ```
13591371>
13601372> Let's now test your server from an existing MCP host, Claude for Desktop.
from line 1406
13941406> "command": "java",
13951407> "args": [
13961408> "-jar",
1397> "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-0.1.0-all.jar"
1409> "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-all.jar"
13981410> ]
13991411> }
14001412> }
from line 1420
14081420> "command": "java",
14091421> "args": [
14101422> "-jar",
1411> "C:\\PATH\\TO\\PARENT\\FOLDER\\weather\\build\\libs\\weather-0.1.0-all.jar"
1423> "C:\\PATH\\TO\\PARENT\\FOLDER\\weather\\build\\libs\\weather-all.jar"
14121424> ]
14131425> }
14141426> }
from line 1430
14181430> This tells Claude for Desktop:
14191431>
14201432> 1. There's an MCP server named "weather"
1421> 2. Launch it by running `java -jar /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-0.1.0-all.jar`
1433> 2. Launch it by running `java -jar /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/libs/weather-all.jar`
14221434>
14231435> Save the file, and restart **Claude for Desktop**.
14241436 
Feedback