You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/specification/draft/basic/lifecycle.mdx
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,15 @@ supports. This **SHOULD** be the _latest_ version supported by the server.
138
138
If the client does not support the version in the server's response, it **SHOULD**
139
139
disconnect.
140
140
141
+
If using HTTP, the client **MUST** include the `MCP-Protocol-Version:
142
+
<protocol-version>` HTTP header during any subsequent requests to the MCP
143
+
server, allowing the MCP server to respond based on the MCP protocol version.
144
+
145
+
The protocol version sent by the client **SHOULD** be the one negotiated during [initialization](https://modelcontextprotocol.io/specification/draft/basic/lifecycle#initialization).
146
+
147
+
If the server receives a request with a missing, invalid, or unsupported
148
+
MCP-Protocol-VERSION, it **MUST** respond with `400 Bad Request`.
149
+
For example: `MCP-Protocol-Version: 2024-11-05`
141
150
#### Capability Negotiation
142
151
143
152
Client and server capabilities establish which optional protocol features will be
0 commit comments