{% extends "dashboard/base.html" %} {% block title %}{{ t.connect }} - MCP Hub{% endblock %} {% block page_title %}{{ t.connect }}{% endblock %} {% block content %}

{{ t.api_keys }}

{% if new_key %}

{{ t.your_api_key }}

{{ new_key }}

{{ t.key_shown_once }}

{% endif %} {% if api_keys %}
{% for key in api_keys %} {% endfor %}
{{ t.api_key_name }} Prefix {% if lang == 'fa' %}دسترسی{% else %}Access{% endif %} Uses {{ t.actions }}
{{ key.name }} mhu_{{ key.key_prefix }}... {% if lang == 'fa' %}دسترسی کامل{% else %}Full Access{% endif %} {{ key.use_count }}
{% else %}

{{ t.no_api_keys }}

{% endif %}

{{ t.config_snippets }}

{% if sites %}
Select a site and client to generate configuration...

{% if lang == 'fa' %} نکته: تنظیمات بالا شامل نوع اتصال (streamableHttp برای Claude Desktop و http برای VS Code/Claude Code) می‌باشد. از sse استفاده نکنید — باعث خطای 400 Bad Request می‌شود. {% else %} Note: Config above includes the correct transport type (streamableHttp for Claude Desktop, http for VS Code/Claude Code). Do not use sse — it will cause 400 Bad Request errors. {% endif %}

{% if lang == 'fa' %} API Key: از بخش API Keys بالا بسازید و مقدار آن را در تنظیمات وارد کنید: {% else %} API Key: Create one above and use it in your config: {% endif %}

"Authorization": "Bearer mhu_YOUR_API_KEY_HERE"
{% else %}

{{ t.no_sites }}. {{ t.add_site }}

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}