setExternalStdioSpec method
void
setExternalStdioSpec({})
Publish a stdio dial-back spec. Hosts that ship the kernel as a child process (Claude Code calling vibe_studio's stdio MCP surface) call this so externalSpec surfaces the launch command / args / env consumers need.
Implementation
void setExternalStdioSpec({
required String command,
List<String> args = const <String>[],
Map<String, String> env = const <String, String>{},
}) {
_externalSpec = McpServerSpec(
name: name,
transport: McpServerTransport.stdio,
command: command,
args: args,
env: env,
);
}