Skip to content

StdioMcpServer

MCP server over standard input/output. Extends BaseMcpServer. See src/mcp/mcp-server.ts for the full signature.

start()

Creates a StdioServerTransport and connects. Reads JSON-RPC messages from stdin and writes responses to stdout.

Suitable for MCP clients that spawn a child process (e.g. VS Code, Claude Desktop).


See also: BaseMcpServer, HttpMcpServer, Quick Start