histoire
Version:
A fast story book powered by Vite
15 lines • 730 B
TypeScript
import type { DevMcpCliOptions } from '@histoire/cli';
import type { HistoireConfig } from '@histoire/shared';
export type { DevMcpCliOptions };
/** Resolved loopback listener policy, retaining collision fallback intent. */
export interface DevMcpOptions {
/** Whether command owns an HTTP endpoint. */
enabled: boolean;
/** Loopback TCP port. */
port: number;
/** Explicit ports fail on collision; only default 6007 can fall back. */
explicitPort: boolean;
}
/** Resolves default-on config and explicit CLI overrides independently of UI --host. */
export declare function resolveDevMcpOptions(config: HistoireConfig['mcp'], cli: DevMcpCliOptions): DevMcpOptions;
//# sourceMappingURL=http-options.d.ts.map