{% extends "dashboard/base.html" %} {% block title %}{{ t.settings }}{% endblock %} {% block page_title %}{{ t.settings }}{% endblock %} {% block content %}

{% if lang == 'fa' %}تنظیمات زبان{% else %}Language Settings{% endif %}

{% if lang == 'fa' %} زبان فعلی: فارسی {% else %} Current language: English {% endif %}

{% if lang == 'fa' %}پیکربندی سیستم{% else %}System Configuration{% endif %}

{% if lang == 'fa' %}حالت سرور{% else %}Server Mode{% endif %}

{{ config.server_mode }}

{% if lang == 'fa' %}پورت{% else %}Port{% endif %}

{{ config.port }}

{% if lang == 'fa' %}سطح لاگ{% else %}Log Level{% endif %}

{{ config.log_level }}

{% if lang == 'fa' %}حالت احراز هویت OAuth{% else %}OAuth Auth Mode{% endif %}

{{ config.oauth_auth_mode }}

{% if lang == 'fa' %}حد نرخ روزانه{% else %}Daily Rate Limit{% endif %}

{{ config.rate_limit_per_day }}

{% if lang == 'fa' %}حد نرخ هر دقیقه{% else %}Per Minute Rate Limit{% endif %}

{{ config.rate_limit_per_minute }}

{% if lang == 'fa' %}تنظیمات امنیتی{% else %}Security Settings{% endif %}

{% if lang == 'fa' %}احراز هویت API فعال{% else %}API Auth Enabled{% endif %}

{{ 'Yes' if config.api_auth_enabled else 'No' }}

{% if lang == 'fa' %}کوکی امن داشبورد{% else %}Dashboard Secure Cookie{% endif %}

{{ 'Yes' if config.dashboard_secure_cookie else 'No' }}

{% if lang == 'fa' %}دامنه‌های مجاز OAuth{% else %}OAuth Trusted Domains{% endif %}

{{ config.oauth_trusted_domains or 'localhost' }}

{% if lang == 'fa' %}مدت انقضا سشن داشبورد{% else %}Dashboard Session Expiry{% endif %}

{{ config.dashboard_session_expiry }} {% if lang == 'fa' %}ساعت{% else %}hours{% endif %}

{% if lang == 'fa' %}پلاگین‌های ثبت شده{% else %}Registered Plugins{% endif %}

{% if lang == 'fa' %}قابلیت آینده{% else %}Coming Soon{% endif %}
{% if plugins %} {% for plugin in plugins %}

{{ plugin.name }}

{{ plugin.description }}

{{ t.active }}
{% endfor %} {% else %}

{% if lang == 'fa' %}هیچ پلاگینی ثبت نشده{% else %}No plugins registered{% endif %}

{% if lang == 'fa' %} سیستم پلاگین در فاز‌های آینده اضافه خواهد شد. این امکان به شما اجازه می‌دهد قابلیت‌های سفارشی به MCP Hub اضافه کنید. {% else %} The plugin system will be added in future phases. This will allow you to extend MCP Hub with custom functionality. {% endif %}

{% endif %}

{% if lang == 'fa' %}درباره{% else %}About{% endif %}

MCP Hub

{% if lang == 'fa' %}هاب پروتکل کانتکست مدل{% else %}Model Context Protocol Hub{% endif %}

{% if lang == 'fa' %}نسخه{% else %}Version{% endif %}

{{ about.version }}

{% if lang == 'fa' %}نسخه MCP{% else %}MCP Version{% endif %}

{{ about.mcp_version }}

{% if lang == 'fa' %}نسخه Python{% else %}Python Version{% endif %}

{{ about.python_version }}

{% if lang == 'fa' %}تعداد ابزار{% else %}Tools Count{% endif %}

{{ about.tools_count }}

{% if lang == 'fa' %} MCP Hub یک سرور MCP چند منظوره است که امکان اتصال به سرویس‌های مختلف از جمله WordPress، Gitea، n8n و دیگر سرویس‌ها را فراهم می‌کند. {% else %} MCP Hub is a multi-purpose MCP server that enables connection to various services including WordPress, Gitea, n8n, and other services. {% endif %}

{% if lang == 'fa' %}اطلاعات سشن{% else %}Session Information{% endif %}

{% if lang == 'fa' %}نوع کاربر{% else %}User Type{% endif %}

{{ session.user_type }}

{% if lang == 'fa' %}ایجاد شده در{% else %}Created At{% endif %}

{{ session.created_at[:19] if session.created_at else '-' }}

{% if lang == 'fa' %}انقضا در{% else %}Expires At{% endif %}

{{ session.expires_at[:19] if session.expires_at else '-' }}

{% endblock %}