Class McpStdioTransport

java.lang.Object
org.ek9lang.mcp.McpStdioTransport

final class McpStdioTransport extends Object
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 Details

  • Method Details

    • run

      void run()
      Run the transport loop. Blocks until stdin is closed or exit is received.