Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- name: Verify Docker
run: docker info

- name: Build
run: mvn verify
4 changes: 2 additions & 2 deletions mcp-spring/mcp-spring-webmvc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
<dependency>
<groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-test</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.modelcontextprotocol.sdk</groupId>
<artifactId>mcp-spring-webflux</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>

Expand Down
5 changes: 5 additions & 0 deletions mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.java
Original file line number Diff line number Diff line change
Expand Up @@ -481,13 +481,15 @@ public record ServerCapabilities( // @formatter:off
* Present if the server supports argument autocompletion suggestions.
*/
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonIgnoreProperties(ignoreUnknown = true)
public record CompletionCapabilities() {
}

/**
* Present if the server supports sending log messages to the client.
*/
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonIgnoreProperties(ignoreUnknown = true)
public record LoggingCapabilities() {
}

Expand All @@ -498,6 +500,7 @@ public record LoggingCapabilities() {
* the prompt list
*/
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonIgnoreProperties(ignoreUnknown = true)
public record PromptCapabilities(@JsonProperty("listChanged") Boolean listChanged) {
}

Expand All @@ -509,6 +512,7 @@ public record PromptCapabilities(@JsonProperty("listChanged") Boolean listChange
* the resource list
*/
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonIgnoreProperties(ignoreUnknown = true)
public record ResourceCapabilities(@JsonProperty("subscribe") Boolean subscribe,
@JsonProperty("listChanged") Boolean listChanged) {
}
Expand All @@ -520,6 +524,7 @@ public record ResourceCapabilities(@JsonProperty("subscribe") Boolean subscribe,
* the tool list
*/
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonIgnoreProperties(ignoreUnknown = true)
public record ToolCapabilities(@JsonProperty("listChanged") Boolean listChanged) {
}

Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
</ciManagement>

<properties>
<revision>0.0.1-SNAPSHOT-local</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>17</java.version>
Expand Down
Loading