Package:
@hexos/commonConfiguration for an MCP server communicating via stdio (local child process).
The runtime spawns the server as a child process using the specified command and arguments. Communication uses JSON-RPC 2.0 over stdin/stdout pipes. Suitable for locally-installed MCP tools like filesystem access or database queries.
Related: MCPServerConfigBase provides shared settings, MCPSSEServerConfig is the alternative for remote servers.
interface MCPStdioServerConfig extends MCPServerConfigBase {
transport?: 'stdio';
command: string;
args?: string[];
env?: Record<string, string>;
cwd?: string;
}- Extends:
MCPServerConfigBase