File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
docs/specification/draft/basic Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,11 @@ It is also possible for clients and servers to implement
24
24
In the ** stdio** transport:
25
25
26
26
- The client launches the MCP server as a subprocess.
27
- - The server receives JSON-RPC messages on its standard input (` stdin ` ) and writes
28
- responses to its standard output (` stdout ` ).
27
+ - The server reads JSON-RPC messages from its standard input (` stdin ` ) and sends messages
28
+ to its standard output (` stdout ` ).
29
+ - Messages may be JSON-RPC requests, notifications, responses—or a JSON-RPC
30
+ [ batch] ( https://www.jsonrpc.org/specification#batch ) containing one or more requests
31
+ and/or notifications.
29
32
- Messages are delimited by newlines, and ** MUST NOT** contain embedded newlines.
30
33
- The server ** MAY** write UTF-8 strings to its standard error (` stderr ` ) for logging
31
34
purposes. Clients ** MAY** capture, forward, or ignore this logging.
You can’t perform that action at this time.
0 commit comments