Compare commits

...
Author SHA1 Message Date
Daniel Garnier-Moiroux
b1d2ae2072 Release version 2.0.0-RC1
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-06-04 16:02:56 +02:00
15 changed files with 30 additions and 32 deletions

View file

@ -64,7 +64,7 @@ npx @modelcontextprotocol/conformance server --url http://localhost:8080/mcp --s
./mvnw clean package -DskipTests -pl conformance-tests/client-jdk-http-client -am ./mvnw clean package -DskipTests -pl conformance-tests/client-jdk-http-client -am
for scenario in initialize tools_call elicitation-sep1034-client-defaults sse-retry; do for scenario in initialize tools_call elicitation-sep1034-client-defaults sse-retry; do
npx @modelcontextprotocol/conformance client \ npx @modelcontextprotocol/conformance client \
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.0-SNAPSHOT.jar" \ --command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.0-RC1.jar" \
--scenario $scenario --scenario $scenario
done done
@ -72,7 +72,7 @@ done
./mvnw clean package -DskipTests -pl conformance-tests/client-spring-http-client -am ./mvnw clean package -DskipTests -pl conformance-tests/client-spring-http-client -am
npx @modelcontextprotocol/conformance@0.1.15 client \ npx @modelcontextprotocol/conformance@0.1.15 client \
--spec-version 2025-11-25 \ --spec-version 2025-11-25 \
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \ --command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-RC1.jar" \
--suite auth --suite auth
``` ```

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>conformance-tests</artifactId> <artifactId>conformance-tests</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>client-jdk-http-client</artifactId> <artifactId>client-jdk-http-client</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -28,7 +28,7 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp</artifactId> <artifactId>mcp</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</dependency> </dependency>
<!-- Logging --> <!-- Logging -->

View file

@ -68,7 +68,7 @@ cd conformance-tests/client-spring-http-client
This creates an executable JAR at: This creates an executable JAR at:
``` ```
target/client-spring-http-client-2.0.0-SNAPSHOT.jar target/client-spring-http-client-2.0.0-RC1.jar
``` ```
## Running Tests ## Running Tests
@ -80,7 +80,7 @@ Run the full auth suite:
```bash ```bash
npx @modelcontextprotocol/conformance@0.1.15 client \ npx @modelcontextprotocol/conformance@0.1.15 client \
--spec-version 2025-11-25 \ --spec-version 2025-11-25 \
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \ --command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-RC1.jar" \
--suite auth --suite auth
``` ```
@ -89,7 +89,7 @@ Run a single scenario:
```bash ```bash
npx @modelcontextprotocol/conformance@0.1.15 client \ npx @modelcontextprotocol/conformance@0.1.15 client \
--spec-version 2025-11-25 \ --spec-version 2025-11-25 \
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \ --command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-RC1.jar" \
--scenario auth/metadata-default --scenario auth/metadata-default
``` ```
@ -98,7 +98,7 @@ Run with verbose output:
```bash ```bash
npx @modelcontextprotocol/conformance@0.1.15 client \ npx @modelcontextprotocol/conformance@0.1.15 client \
--spec-version 2025-11-25 \ --spec-version 2025-11-25 \
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \ --command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-RC1.jar" \
--scenario auth/metadata-default \ --scenario auth/metadata-default \
--verbose --verbose
``` ```
@ -109,7 +109,7 @@ You can also run the client manually if you have a test server:
```bash ```bash
export MCP_CONFORMANCE_SCENARIO=auth/metadata-default export MCP_CONFORMANCE_SCENARIO=auth/metadata-default
java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar http://localhost:3000/mcp java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-RC1.jar http://localhost:3000/mcp
``` ```
## Known Issues ## Known Issues

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>conformance-tests</artifactId> <artifactId>conformance-tests</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>client-spring-http-client</artifactId> <artifactId>client-spring-http-client</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>conformance-tests</artifactId> <artifactId>conformance-tests</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>conformance-tests</artifactId> <artifactId>conformance-tests</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>server-servlet</artifactId> <artifactId>server-servlet</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -28,7 +28,7 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp</artifactId> <artifactId>mcp</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</dependency> </dependency>
<dependency> <dependency>

View file

@ -123,7 +123,7 @@ Add the BOM to your project:
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-bom</artifactId> <artifactId>mcp-bom</artifactId>
<version>1.0.0</version> <version>2.0.0-RC1</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -135,7 +135,7 @@ Add the BOM to your project:
```groovy ```groovy
dependencies { dependencies {
implementation platform("io.modelcontextprotocol.sdk:mcp-bom:1.0.0") implementation platform("io.modelcontextprotocol.sdk:mcp-bom:2.0.0-RC1")
//... //...
} }
``` ```

View file

@ -7,7 +7,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>mcp-bom</artifactId> <artifactId>mcp-bom</artifactId>

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>mcp-core</artifactId> <artifactId>mcp-core</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>mcp-json-jackson2</artifactId> <artifactId>mcp-json-jackson2</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -74,7 +74,7 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-core</artifactId> <artifactId>mcp-core</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.networknt</groupId> <groupId>com.networknt</groupId>

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>mcp-json-jackson3</artifactId> <artifactId>mcp-json-jackson3</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -68,7 +68,7 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-core</artifactId> <artifactId>mcp-core</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>tools.jackson.core</groupId> <groupId>tools.jackson.core</groupId>

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>mcp-test</artifactId> <artifactId>mcp-test</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -24,7 +24,7 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-core</artifactId> <artifactId>mcp-core</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</dependency> </dependency>
<dependency> <dependency>
@ -159,7 +159,7 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-json-jackson3</artifactId> <artifactId>mcp-json-jackson3</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -170,7 +170,7 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-json-jackson2</artifactId> <artifactId>mcp-json-jackson2</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View file

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</parent> </parent>
<artifactId>mcp</artifactId> <artifactId>mcp</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
@ -25,13 +25,13 @@
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-json-jackson3</artifactId> <artifactId>mcp-json-jackson3</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-core</artifactId> <artifactId>mcp-core</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
</dependency> </dependency>
</dependencies> </dependencies>

View file

@ -48,9 +48,7 @@ nav:
- Contributing: - Contributing:
- Contributing Guide: contribute.md - Contributing Guide: contribute.md
- Documentation: development.md - Documentation: development.md
- API Reference: https://javadoc.io/doc/io.modelcontextprotocol.sdk/mcp-core/latest - API Reference: https://javadoc.io/doc/io.modelcontextprotocol.sdk/mcp-core/2.0.0-RC1
- News:
- blog/index.md
markdown_extensions: markdown_extensions:
- admonition - admonition

View file

@ -6,7 +6,7 @@
<groupId>io.modelcontextprotocol.sdk</groupId> <groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-parent</artifactId> <artifactId>mcp-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-RC1</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<url>https://github.com/modelcontextprotocol/java-sdk</url> <url>https://github.com/modelcontextprotocol/java-sdk</url>