Skip to contents

Serve an MCP server using stdin/stdout

Usage

serve_io(mcp)

Arguments

mcp

An MCP server object created with new_server()

Value

Nothing, runs indefinitely in normal mode, or the response in test mode