/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { Command } from "commander"; /** Nothing standard sits here, and it is one along from the web console. */ export declare const DEFAULT_MCP_PORT = 8788; /** * Loopback by default, and deliberately not a wildcard by accident. * * Every tool this server offers is a task that can spend model quota, read * files or reach the network, so binding it where the network can reach it must * be something an operator says out loud rather than the default they get by * typing `mcp serve`. */ export declare const DEFAULT_MCP_HOST = "127.0.0.1"; /** * The environment variable a pinned token can arrive in. * * Preferred over `--token`: a client config has to hold the same token across * restarts, and an argument that never changes is one every other process on * the machine can read out of `ps`. */ export declare const MCP_TOKEN_ENV = "WORKGLOW_MCP_TOKEN"; /** * Adds `serve` to the `mcp` group: this CLI's registered tasks, offered to MCP * clients as tools over Streamable HTTP. */ export declare function registerMcpServeCommand(mcp: Command): void;