Skip to content

Commit 8090380

Browse files
authored
Merge pull request modelcontextprotocol#652 from modelcontextprotocol/basil/remove_batching_strays
remove vestigial batching language and datatypes
2 parents 6eaaae8 + cf6cf9e commit 8090380

File tree

3 files changed

+1
-75
lines changed

3 files changed

+1
-75
lines changed

docs/specification/draft/basic/lifecycle.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ The client **MUST** initiate this phase by sending an `initialize` request conta
7272
}
7373
```
7474

75-
The initialize request **MUST NOT** be part of a JSON-RPC
76-
[batch](https://www.jsonrpc.org/specification#batch), as other requests and notifications
77-
are not possible until initialization has completed. This also permits backwards
78-
compatibility with prior protocol versions that do not explicitly support JSON-RPC
79-
batches.
80-
8175
The server **MUST** respond with its own capabilities and information:
8276

8377
```json

schema/draft/schema.json

Lines changed: 0 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema/draft/schema.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,8 @@
66
export type JSONRPCMessage =
77
| JSONRPCRequest
88
| JSONRPCNotification
9-
| JSONRPCBatchRequest
109
| JSONRPCResponse
11-
| JSONRPCError
12-
| JSONRPCBatchResponse;
13-
14-
/**
15-
* A JSON-RPC batch request, as described in https://www.jsonrpc.org/specification#batch.
16-
*/
17-
export type JSONRPCBatchRequest = (JSONRPCRequest | JSONRPCNotification)[];
18-
19-
/**
20-
* A JSON-RPC batch response, as described in https://www.jsonrpc.org/specification#batch.
21-
*/
22-
export type JSONRPCBatchResponse = (JSONRPCResponse | JSONRPCError)[];
10+
| JSONRPCError;
2311

2412
export const LATEST_PROTOCOL_VERSION = "DRAFT-2025-v2";
2513
export const JSONRPC_VERSION = "2.0";

0 commit comments

Comments
 (0)