Skip to content

ccusage / mcp / startMcpServerStdio

Function: startMcpServerStdio() ​

ts
function startMcpServerStdio(server): Promise<void>;

Start the MCP server with stdio transport. Used for traditional MCP client connections via standard input/output.

Parameters ​

ParameterTypeDescription
serverMcpServerThe MCP server instance to start

Returns ​

Promise<void>

Released under the MIT License.