Skip to main content

Module stdio

Module stdio 

Source
Expand description

MCP stdio transport implementation.

Implements a stdio-based proxy that spawns the upstream MCP server as a child process and communicates via stdin/stdout pipes. This is how Claude Desktop, Cursor, and other MCP clients invoke tool servers.

§Architecture

MCP Client (stdin) → Kvlar Proxy → Child Process (stdin) → MCP Server
MCP Client (stdout) ← Kvlar Proxy ← Child Process (stdout) ← MCP Server

Structs§

StdioTransport
MCP stdio transport proxy.