File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
docs/specification/draft/basic Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,13 @@ MCP endpoint.
79
79
1 . The client ** MUST** use HTTP POST to send JSON-RPC messages to the MCP endpoint.
80
80
2 . The client ** MUST** include an ` Accept ` header, listing both ` application/json ` and
81
81
` text/event-stream ` as supported content types.
82
- 3 . The body of the POST request ** MUST** be a single JSON-RPC _ request_ , _ notification_ ,
83
- or _ response_ —or a [ JSON-RPC _ batch_ ] ( https://www.jsonrpc.org/specification#batch )
84
- containing one or more _ requests and/or notifications_ .
85
- 4 . If the input consists solely of one JSON-RPC _ response_ or any number of JSON-RPC
82
+ 3 . The body of the POST request ** MUST** be:
83
+ - A single JSON-RPC _ request_ , _ notification_ , or _ response_
84
+ - An array [ batching] ( https://www.jsonrpc.org/specification#batch ) one or more
85
+ _ requests and/or notifications_
86
+ - An array [ batching] ( https://www.jsonrpc.org/specification#batch ) one or more
87
+ _ responses_
88
+ 4 . If the input consists solely of (any number of) JSON-RPC _ responses_ or
86
89
_ notifications_ :
87
90
- If the server accepts the input, the server ** MUST** return HTTP status code 202
88
91
Accepted with no body.
You can’t perform that action at this time.
0 commit comments