Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7046249

Browse files
roterskitzolov
authored andcommittedMar 20, 2025·
Fix CreateMessageRequest includeContext enum values to match MCP specification
1 parent f50f88c commit 7046249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -796,8 +796,8 @@ public record CreateMessageRequest(// @formatter:off
796796

797797
public enum ContextInclusionStrategy {
798798
@JsonProperty("none") NONE,
799-
@JsonProperty("this_server") THIS_SERVER,
800-
@JsonProperty("all_server") ALL_SERVERS
799+
@JsonProperty("thisServer") THIS_SERVER,
800+
@JsonProperty("allServers") ALL_SERVERS
801801
}
802802
}// @formatter:on
803803

0 commit comments

Comments
 (0)
Please sign in to comment.