Class McpStdioTransport
java.lang.Object
org.ek9lang.mcp.McpStdioTransport
MCP stdio transport using newline-delimited JSON-RPC 2.0.
Reads one JSON message per line from stdin, dispatches to McpServer,
and writes one JSON response per line to stdout.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
McpStdioTransport
McpStdioTransport(McpServer server, InputStream in, OutputStream out)
-
-
Method Details
-
run
void run()Run the transport loop. Blocks until stdin is closed or exit is received.
-