/**
 * MCP domain state — tracks all MCP server connections, their lifecycle
 * state, and available tools per server.
 */
/**
 * Returns the default initial state for the MCP domain.
 */
export function createInitialMcpState() {
    return {
        revision: 0,
        lastUpdatedAt: 0,
        source: 'init',
        servers: new Map(),
        connectedServerNames: [],
        tools: new Map(),
        availableToolCount: 0,
        totalCalls: 0,
        totalErrors: 0,
    };
}
