Skip to content

Commit 41467ce

Browse files
authored
Merge pull request #657 from apollographql/AMS-417
Gate outputSchema and structuredContent on negotiated MCP protocol version
2 parents 1fccdc3 + da53ef0 commit 41467ce

File tree

2 files changed

+639
-78
lines changed

2 files changed

+639
-78
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
default: patch
3+
---
4+
5+
# Gate outputSchema and structuredContent on negotiated MCP protocol version
6+
7+
When `enable_output_schema` is configured, the server now advertises MCP protocol version `2025-06-18` and only includes `outputSchema` in `tools/list` and `structuredContent` in `tools/call` responses when the client negotiates a protocol version that supports them (`>= 2025-06-18`). Previously, these fields were sent regardless of the negotiated version, which could cause errors in clients that don't recognize them.

0 commit comments

Comments
 (0)