/*
   SPDX-FileCopyrightText: 2026 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/

#pragma once

#include <QWidget>
namespace TextAutoGenerateTextMcpProtocolWidgets
{
class McpServerWidget;
}
namespace TextAutoGenerateText
{
class TextAutoGenerateManager;
}
class KAIChatConfigureMcpServersWidget : public QWidget
{
    Q_OBJECT
public:
    explicit KAIChatConfigureMcpServersWidget(TextAutoGenerateText::TextAutoGenerateManager *manager, QWidget *parent = nullptr);
    ~KAIChatConfigureMcpServersWidget() override;

    void save();
    void load();
    void restoreToDefaults();

private:
    TextAutoGenerateTextMcpProtocolWidgets::McpServerWidget *const mMcpServerWidget;
    TextAutoGenerateText::TextAutoGenerateManager *const mManager;
};
